${function() {
const variantData = data.variant || {"id":"3bfd8e6f-9372-4efb-8e7b-653258fc8516","product_id":"c72aae26-cd56-470f-904e-f23a63b3068a","title":"pink\/green-S","weight_unit":"kg","inventory_quantity":0,"sku":"662211141635-pink\/green-S","barcode":"","position":1,"option1":"pink\/green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dc39af56de68dd169f381fcf994afa59.jpeg","path":"dc39af56de68dd169f381fcf994afa59.jpeg","width":800,"height":1000,"alt":"Chic on-trend jacquard sweater","aspect_ratio":0.8},"wholesale_price":[{"price":41.58,"min_quantity":1}],"weight":"0.4","compare_at_price":"72.95","price":"41.58","retail_price":"72.95","available":true,"url":"\/products\/chic-on-trend-jacquard-sweater?variant=3bfd8e6f-9372-4efb-8e7b-653258fc8516","available_quantity":999999999,"options":[{"name":"color","value":"pink\/green"},{"name":"size","value":"S"}],"off_ratio":43,"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.