${function() {
const variantData = data.variant || {"id":"3b84a831-62ab-4ca3-bcaa-b0d2cf4ea826","product_id":"352f9fda-bdb7-4b28-a012-e4b1246724f8","title":"white-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21011106-white-s","barcode":"","position":1,"option1":"white","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4bcffe2bd7d4dab1242241180ef2c3d4.webp","path":"4bcffe2bd7d4dab1242241180ef2c3d4.webp","width":800,"height":800,"alt":"Casual lapel pocket solid color loose cotton and linen dress","aspect_ratio":1},"wholesale_price":[{"price":37.69,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"37.69","retail_price":"50","available":true,"url":"\/products\/casual-lapel-pocket-solid-color-loose-cotton-and-linen-dress?variant=3b84a831-62ab-4ca3-bcaa-b0d2cf4ea826","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"s"}],"off_ratio":25,"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.