${function() {
const variantData = data.variant || {"id":"f8f5c203-f067-4bff-bb6b-497bb3e93aef","product_id":"08ccc707-eafd-4425-b435-fc185a201674","title":"","weight_unit":"kg","inventory_quantity":999,"sku":"P1D1HGL1","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":299,"min_quantity":1}],"weight":"1.13","compare_at_price":"299","price":"299","retail_price":"299","available":true,"url":"\/products\/gorgeous-off-the-shoulder-gradient-prom-dress-with-appliques-p1d1hgl1?variant=f8f5c203-f067-4bff-bb6b-497bb3e93aef","available_quantity":999,"options":[],"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 + '%'
: ``
)}
`;
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"f8f5c203-f067-4bff-bb6b-497bb3e93aef","product_id":"08ccc707-eafd-4425-b435-fc185a201674","title":"","weight_unit":"kg","inventory_quantity":999,"sku":"P1D1HGL1","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":299,"min_quantity":1}],"weight":"1.13","compare_at_price":"299","price":"299","retail_price":"299","available":true,"url":"\/products\/gorgeous-off-the-shoulder-gradient-prom-dress-with-appliques-p1d1hgl1?variant=f8f5c203-f067-4bff-bb6b-497bb3e93aef","available_quantity":999,"options":[],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}