${function() {
const variantData = data.variant || {"id":"47feebc4-b83d-4dd9-8e7c-facf8d20fa37","product_id":"fa3f9890-74db-4e09-a690-860f6e33858b","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"135-230912-18-MT0077Q6LW-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e9668254093735699ba2549a311c606a.jpeg","path":"e9668254093735699ba2549a311c606a.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\/there-is-only-one-beautiful-ocean-and-we-must-cherish-it-atc3?variant=47feebc4-b83d-4dd9-8e7c-facf8d20fa37","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"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.