${function() {
const variantData = data.variant || {"id":"ecb807ed-415b-4af8-8fe4-3c6aa4e1e00d","product_id":"a65586cb-871f-4205-879c-06e88c823ee6","title":"Red-S","weight_unit":"kg","inventory_quantity":0,"sku":"2212122505-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8edbf16f8bfdc97e2c195019638c51ee.png","path":"8edbf16f8bfdc97e2c195019638c51ee.png","width":600,"height":800,"alt":"Cashew Flower&Western Denim Print Top","aspect_ratio":0.75},"wholesale_price":[{"price":24.73,"min_quantity":1}],"weight":"0.4","compare_at_price":"32","price":"24.73","retail_price":"32","available":true,"url":"\/products\/cashew-flower-western-denim-print-top?variant=ecb807ed-415b-4af8-8fe4-3c6aa4e1e00d","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":23,"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.