${function() {
const variantData = data.variant || {"id":"8f0a0e7f-217b-43d7-b97c-4d3d7a02e0e9","product_id":"667ad6d1-99f5-48ba-a75e-721b3ef344a2","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":999,"sku":"135-230904-13-MT00713WD7-Multicolor-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c02ba0d8ef5bb243f45444ac333eed98.jpeg","path":"c02ba0d8ef5bb243f45444ac333eed98.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0.45","compare_at_price":"34.99","price":"34.99","retail_price":"34.99","available":true,"url":"\/products\/halloween-vintage-raven-print-sweater?variant=8f0a0e7f-217b-43d7-b97c-4d3d7a02e0e9","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":10};
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.