${function() {
const variantData = data.variant || {"id":"2575633b-4c1f-4f81-a753-7e204000011a","product_id":"07b01731-4585-454a-8498-5d6504010e99","title":"blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"000armk-blue-s","barcode":"","position":1,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bc3609c610e71316decb58049798aaf9.jpeg","path":"bc3609c610e71316decb58049798aaf9.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/vintage-floral-print-paneled-pockets-pleated-midi-dress-0038911?variant=2575633b-4c1f-4f81-a753-7e204000011a","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.