${function() {
const variantData = data.variant || {"id":"ecd06b4a-2792-4279-914b-8b7a134e9ef5","product_id":"7a6a0868-7e59-47b6-bf8c-21fe8835abf5","title":"Coffee color-S","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21011812-coffeecolor-s","barcode":"","position":17,"option1":"Coffee color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dd8335e71bceb8b0a3697a8e3d20cbf8.jpeg","path":"dd8335e71bceb8b0a3697a8e3d20cbf8.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=ecd06b4a-2792-4279-914b-8b7a134e9ef5","available_quantity":999999999,"options":[{"name":"Color","value":"Coffee color"},{"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.