${function() {
const variantData = data.variant || {"id":"66140efb-558f-4bfa-a32d-5ac89d956a9e","product_id":"14a16347-359a-4567-a313-b3ee2bb85268","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"CP16678-E001","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/mother-earth-goddess-statue?variant=66140efb-558f-4bfa-a32d-5ac89d956a9e","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.