${function() {
const variantData = data.variant || {"id":"ab9d1452-7aec-4605-944f-a5e90ff61555","product_id":"274e7049-e077-497f-b2c3-5d3a96d2c21c","title":"orange-red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"NH1982974-\u023a\u026bS","barcode":"","position":1,"option1":"orange-red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/595a561a2b36db040d62086953ec01a2.jpeg","path":"595a561a2b36db040d62086953ec01a2.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"35.99","retail_price":"59.99","available":true,"url":"\/products\/loose-v-neck-solid-color-women-s-lantern-sleeve-dress?variant=ab9d1452-7aec-4605-944f-a5e90ff61555","available_quantity":999999999,"options":[{"name":"Color","value":"orange-red"},{"name":"Size","value":"S"}],"off_ratio":40,"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.