${function() {
const variantData = data.variant || {"id":"cb99b695-c0b9-454f-985f-1ef0dde07b6c","product_id":"7a469d1a-d553-44ff-8dac-961e08f36ece","title":"white-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21011836-white-s","barcode":"","position":1,"option1":"white","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/385cdd3b9eae11699548141e06c3f33b.jpeg","path":"385cdd3b9eae11699548141e06c3f33b.jpeg","width":540,"height":540,"alt":"Casual solid color high waist belted pants","aspect_ratio":1},"wholesale_price":[{"price":29.13,"min_quantity":1}],"weight":"0","compare_at_price":"53.94","price":"29.13","retail_price":"53.94","available":true,"url":"\/products\/casual-solid-color-high-waist-belted-pants?variant=cb99b695-c0b9-454f-985f-1ef0dde07b6c","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"s"}],"off_ratio":46,"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.