${function() {
const variantData = data.variant || {"id":"18bcc847-49c2-402e-a6a4-f038c0be99bc","product_id":"3fd213da-b70a-41a0-bb2d-cc88a3efb362","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"PHN44YQJ","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":99,"min_quantity":1}],"weight":"0.91","compare_at_price":"99","price":"99","retail_price":"99","available":true,"url":"\/products\/sweetheart-pleated-fitted-bodice-a-line-dress-full-length-with-layered-chiffon-skirt?variant=18bcc847-49c2-402e-a6a4-f038c0be99bc","available_quantity":999999999,"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.