${function() {
const variantData = data.variant || {"id":"f7c02b42-9370-454c-bf9e-8b717dcd4e87","product_id":"a38594d1-5ce2-4487-8a24-52edf4b65a5b","title":"Default Title","weight_unit":"kg","inventory_quantity":0,"sku":"PGSX88G8","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":185.2,"min_quantity":1}],"weight":"0","compare_at_price":"411","price":"185.2","retail_price":"411","available":true,"url":"\/products\/charming-off-the-shoulder-3-4-sleeves-chiffon-wedding-dresses-bridal-dresses?variant=f7c02b42-9370-454c-bf9e-8b717dcd4e87","available_quantity":999999999,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":55,"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}
`
}()}
Product was out of stock.
Product is unavailable.