${function() {
const variantData = data.variant || {"id":"aff46a42-22cf-4e65-bb68-8484c2626fa0","product_id":"dfd2b87a-22be-49c4-a0ea-5b6cc012b771","title":"Khaki-2XL","weight_unit":"kg","inventory_quantity":1000,"sku":"220514440-Khaki-2XL","barcode":"","position":13,"option1":"Khaki","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e851063c6fc064a58f68b2400fef0adf.jpeg","path":"e851063c6fc064a58f68b2400fef0adf.jpeg","width":800,"height":800,"alt":"Retro Cotton and Linen Casual Long Sleeves Two Pieces Suit","aspect_ratio":1},"wholesale_price":[{"price":39.81,"min_quantity":1}],"weight":"0.42","compare_at_price":"67.07","price":"39.81","retail_price":"67.07","available":true,"url":"\/products\/retro-cotton-and-linen-casual-long-sleeves-two-pieces-suit?variant=aff46a42-22cf-4e65-bb68-8484c2626fa0","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"2XL"}],"off_ratio":41,"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.