${function() {
const variantData = data.variant || {"id":"b8bab9f0-a476-4c4f-b2bf-55f9898a8bcc","product_id":"99c286a2-17ff-4940-92d4-9095a3cb57ad","title":"white-S","weight_unit":"kg","inventory_quantity":0,"sku":"662307174407-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4d1de930bcdbe88e908cdbac8739ae8e.jpeg","path":"4d1de930bcdbe88e908cdbac8739ae8e.jpeg","width":800,"height":1000,"alt":"Holiday style dolman sleeve casual loose two-piece set","aspect_ratio":0.8},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0.35","compare_at_price":"60","price":"49.99","retail_price":"60","available":true,"url":"\/products\/holiday-style-dolman-sleeve-casual-loose-two-piece-set?variant=b8bab9f0-a476-4c4f-b2bf-55f9898a8bcc","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":17,"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.