${function() {
const variantData = data.variant || {"id":"cc569f08-7704-435a-ac48-e112fe518684","product_id":"cc5263e0-377f-43b9-ac00-676a3eb1bc65","title":"brown-5","weight_unit":"kg","inventory_quantity":0,"sku":"662305221592-brown-5","barcode":"","position":8,"option1":"brown","option2":"5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6a0139cf08fb028585b92e45241c66cc.jpeg","path":"6a0139cf08fb028585b92e45241c66cc.jpeg","width":750,"height":750,"alt":"Bohemian Wedge Beach Resort Sandals","aspect_ratio":1},"wholesale_price":[{"price":47.69,"min_quantity":1}],"weight":"0.7","compare_at_price":"62","price":"47.69","retail_price":"62","available":true,"url":"\/products\/bohemian-wedge-beach-resort-sandals?variant=cc569f08-7704-435a-ac48-e112fe518684","available_quantity":999999999,"options":[{"name":"color","value":"brown"},{"name":"size","value":"5"}],"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.