${function() {
const variantData = data.variant || {"id":"827daab1-3546-4e47-b75d-98bb2adfbf01","product_id":"407e5ce0-f5fa-4bd8-8c25-b153b2932eb4","title":"green-M","weight_unit":"kg","inventory_quantity":0,"sku":"66230510982-green-M","barcode":"","position":1,"option1":"green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/24fd9eab40268b335cd3f413cda09d37.jpeg","path":"24fd9eab40268b335cd3f413cda09d37.jpeg","width":800,"height":800,"alt":"Summer Sleeveless French Green Dress","aspect_ratio":1},"wholesale_price":[{"price":38.67,"min_quantity":1}],"weight":"0.4","compare_at_price":"50","price":"38.67","retail_price":"50","available":true,"url":"\/products\/summer-sleeveless-french-green-dress?variant=827daab1-3546-4e47-b75d-98bb2adfbf01","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"M"}],"off_ratio":23,"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.