${function() {
const variantData = data.variant || {"id":"4f5b5673-467e-488b-9ed2-9de8b6f0251b","product_id":"6638cc22-f1c7-478e-8be4-7b88124cf6fa","title":"","weight_unit":"kg","inventory_quantity":999,"sku":"PST10035","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":187,"min_quantity":1}],"weight":"1","compare_at_price":"187","price":"187","retail_price":"187","available":true,"url":"\/products\/2017-prom-dress-sexy-mermaid-burgundy-prom-dress-long-prom-dress-long-evening-dress-woman-formal-pst10035?variant=4f5b5673-467e-488b-9ed2-9de8b6f0251b","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":"4f5b5673-467e-488b-9ed2-9de8b6f0251b","product_id":"6638cc22-f1c7-478e-8be4-7b88124cf6fa","title":"","weight_unit":"kg","inventory_quantity":999,"sku":"PST10035","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":187,"min_quantity":1}],"weight":"1","compare_at_price":"187","price":"187","retail_price":"187","available":true,"url":"\/products\/2017-prom-dress-sexy-mermaid-burgundy-prom-dress-long-prom-dress-long-evening-dress-woman-formal-pst10035?variant=4f5b5673-467e-488b-9ed2-9de8b6f0251b","available_quantity":999,"options":[],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}