${function() {
const variantData = data.variant || {"id":"3930ad27-a6c6-4073-9d30-56b19a053c29","product_id":"4b5ef2f3-64ba-444b-b0db-3d85f6e76478","title":"brown-L","weight_unit":"kg","inventory_quantity":0,"sku":"662110201145-brown-L","barcode":"","position":6,"option1":"brown","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/04dcaac205c77f7213f3f937d7acae06.jpeg","path":"04dcaac205c77f7213f3f937d7acae06.jpeg","width":950,"height":950,"alt":"Ladies Pure Color Casual All-Match Blazer","aspect_ratio":1},"wholesale_price":[{"price":33.39,"min_quantity":1}],"weight":"0","compare_at_price":"39.64","price":"33.39","retail_price":"39.64","available":true,"url":"\/products\/ladies-pure-color-casual-all-match-blazer?variant=3930ad27-a6c6-4073-9d30-56b19a053c29","available_quantity":999999999,"options":[{"name":"color","value":"brown"},{"name":"size","value":"L"}],"off_ratio":16,"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.