${function() {
const variantData = data.variant || {"id":"0134a1a5-1f20-4c0e-b29a-fa335cfe70d5","product_id":"59719df6-1910-4831-8801-a4d9a6bf2bba","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"CP9324-E001","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":12.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"12.99","retail_price":"0","available":true,"url":"\/products\/stainless-steel-chopped-green-onion-knife?variant=0134a1a5-1f20-4c0e-b29a-fa335cfe70d5","available_quantity":999999999,"options":[],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
Product was out of stock.
Product is unavailable.