${function() {
const variantData = data.variant || {"id":"54d29c5f-0e37-4b60-9348-9a4d3a851529","product_id":"6c8af521-fb74-422a-ad0c-1e6dcb1bfd6a","title":"apricot-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66221019321-apricot-one size","barcode":"","position":1,"option1":"apricot","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b307caf7f794211775680dbef27039eb.jpeg","path":"b307caf7f794211775680dbef27039eb.jpeg","width":800,"height":800,"alt":"Fashionable square neck sweater sweater","aspect_ratio":1},"wholesale_price":[{"price":52.41,"min_quantity":1}],"weight":"0.52","compare_at_price":"60.13","price":"52.41","retail_price":"60.13","available":true,"url":"\/products\/fashionable-square-neck-sweater-sweater?variant=54d29c5f-0e37-4b60-9348-9a4d3a851529","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"name":"size","value":"one size"}],"off_ratio":13,"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.