${function() {
const variantData = data.variant || {"id":"77452d10-a591-4ad2-afda-b7138f1e0eda","product_id":"cfd3fa01-bb6c-47fd-8cf8-553edbc1fc34","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"2211181872-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5996fc54f18ead4f7f700aae04b4b25f.png","path":"5996fc54f18ead4f7f700aae04b4b25f.png","width":675,"height":900,"alt":"Casual Fashion Funny Print Crew Neck Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":29.98,"min_quantity":1}],"weight":"0.4","compare_at_price":"35.69","price":"29.98","retail_price":"35.69","available":true,"url":"\/products\/casual-fashion-funny-print-crew-neck-sweatshirt?variant=77452d10-a591-4ad2-afda-b7138f1e0eda","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":16,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.