${function() {
const variantData = data.variant || {"id":"f194f509-09b8-4ea5-aae3-142bc58d4fce","product_id":"94ac14e3-738b-4008-abb5-58a6490d0cdc","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS266787-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/094a4a38751ea778a46d69ba8430a5a5.jpeg","path":"094a4a38751ea778a46d69ba8430a5a5.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"41.99","price":"25.99","retail_price":"41.99","available":true,"url":"\/products\/what-a-woderful-world-hippie-womens-casual-long-sleeved-sweater?variant=f194f509-09b8-4ea5-aae3-142bc58d4fce","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":38,"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.