${function() {
const variantData = data.variant || {"id":"113280a1-3cba-4f84-b950-5303d07c2bfe","product_id":"91fe5470-7dc9-4451-8a64-7a987500eb3c","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"086-230801-A04-MT0073QKS5-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cc793ee3a66a51ba870d66ea35a37c9f.jpeg","path":"cc793ee3a66a51ba870d66ea35a37c9f.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"28.99","price":"28.99","retail_price":"28.99","available":true,"url":"\/products\/try-that-in-a-small-town-tie-dye-print-casual-long-sleeve-sweatshirt-wgvx?variant=113280a1-3cba-4f84-b950-5303d07c2bfe","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.