${function() {
const variantData = data.variant || {"id":"ee220350-a581-4d2e-a8ce-11e7856fde13","product_id":"909ee0f2-139b-4591-863e-2a8eac3bab01","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"P0017731","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":129,"min_quantity":1}],"weight":"1.5","compare_at_price":"129","price":"129","retail_price":"129","available":true,"url":"\/products\/taniyah-a-line-princess-short-sleeves-v-neck-natural-waist-floor-length-bridesmaid-dresses?variant=ee220350-a581-4d2e-a8ce-11e7856fde13","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.