${function() {
const variantData = data.variant || {"id":"10aaee23-2f13-4b40-adb6-2bf31ab6df25","product_id":"095fc5ea-ae87-466f-bfb4-432791fed8fa","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"149-240711-a42-MT0146FFJC-Multicolor-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/70f8db59ddd8ec2943fa08d70438bea7.jpeg","path":"70f8db59ddd8ec2943fa08d70438bea7.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"39.99","retail_price":"39.99","available":true,"url":"\/products\/retro-mushroom-art-print-100-cotton-long-sleeve-shirt?variant=10aaee23-2f13-4b40-adb6-2bf31ab6df25","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"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.