${function() {
const variantData = data.variant || {"id":"a45a8188-0d1f-490c-b193-3f13f75fa1ab","product_id":"1f71c5ac-569b-481c-8834-92f4a0cda39d","title":"muilticolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"128-231108-03-DW01108Z8M-muilticolor-S","barcode":"","position":1,"option1":"muilticolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d7305dec102d0f28ccdc02d0b86145e7.jpeg","path":"d7305dec102d0f28ccdc02d0b86145e7.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"29.99","price":"29.99","retail_price":"29.99","available":true,"url":"\/products\/womens-christmas-gift-mushroom-print-design-maxi-dress?variant=a45a8188-0d1f-490c-b193-3f13f75fa1ab","available_quantity":999999999,"options":[{"name":"Color","value":"muilticolor"},{"name":"Size","value":"S"}],"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 + '%'
: ``
)}
`;
}()}
${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.