${function() {
const variantData = data.variant || {"id":"54b67b97-9a55-470b-8f2b-a8481d2e562e","product_id":"ad7efe89-f1ac-4417-b1c5-54cda8abe46a","title":"Picture Color-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WM0710004-Picture Color-S","barcode":"","position":1,"option1":"Picture Color","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"32.99","price":"32.99","retail_price":"32.99","available":true,"url":"\/products\/womens-retro-hippie-printed-single-breasted-sleeveless-hooded-jumpsuit?variant=54b67b97-9a55-470b-8f2b-a8481d2e562e","available_quantity":999999999,"options":[{"name":"Color","value":"Picture Color"},{"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.