${function() {
const variantData = data.variant || {"id":"92e472af-0075-4c7d-88a4-6271d45a3e3e","product_id":"4b5ef2f3-64ba-444b-b0db-3d85f6e76478","title":"coffee-L","weight_unit":"kg","inventory_quantity":0,"sku":"662110201145-coffee-L","barcode":"","position":11,"option1":"coffee","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/acdac6026b00f9cb238ff9095d000fd5.jpeg","path":"acdac6026b00f9cb238ff9095d000fd5.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=92e472af-0075-4c7d-88a4-6271d45a3e3e","available_quantity":999999999,"options":[{"name":"color","value":"coffee"},{"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.