${function() {
const variantData = data.variant || {"id":"b240389e-0cf8-4928-acb2-4b00912b3272","product_id":"07185068-dca6-4882-8c2a-5450eb3caa83","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"OR35426-C006","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.99","retail_price":"0","available":true,"url":"\/products\/silver-wrench-bracelet?variant=b240389e-0cf8-4928-acb2-4b00912b3272","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.