${function() {
const variantData = data.variant || {"id":"db0ad4b0-21d1-422e-a3f0-d3f179241671","product_id":"7a6a0868-7e59-47b6-bf8c-21fe8835abf5","title":"Apricot-S","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21011812-apricot-s","barcode":"","position":1,"option1":"Apricot","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/33f03953de3448bee26ed3948728f972.jpeg","path":"33f03953de3448bee26ed3948728f972.jpeg","width":600,"height":800,"alt":"Solid Color High-waist Pleated Casual Pants","aspect_ratio":0.75},"wholesale_price":[{"price":26.19,"min_quantity":1}],"weight":"0.26","compare_at_price":"44.39","price":"26.19","retail_price":"44.39","available":true,"url":"\/products\/solid-color-high-waist-pleated-casual-pants?variant=db0ad4b0-21d1-422e-a3f0-d3f179241671","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"S"}],"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.