${function() {
const variantData = data.variant || {"id":"7ace8df7-ee2a-4dec-93c1-e21a6a5510dc","product_id":"dd26b8fb-354b-4e85-9bee-01d8d77ff575","title":"WHITE RED-5.5","weight_unit":"","inventory_quantity":399,"sku":"","barcode":"","position":1,"option1":"WHITE RED","option2":"5.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7f4b3ea10fda65e9edc065a301204c95.jpeg","path":"7f4b3ea10fda65e9edc065a301204c95.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.99,"min_quantity":1}],"weight":"0","compare_at_price":"49","price":"43.99","retail_price":"49","available":true,"url":"\/products\/mens-beach-sandals-waterproof-casual-shoes?variant=7ace8df7-ee2a-4dec-93c1-e21a6a5510dc","available_quantity":399,"options":[{"name":"Color","value":"WHITE RED"},{"name":"Size","value":"5.5"}],"off_ratio":10,"flashsale_info":[],"sales":18};
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.
${function(){
const variantData = data.variant || {"id":"7ace8df7-ee2a-4dec-93c1-e21a6a5510dc","product_id":"dd26b8fb-354b-4e85-9bee-01d8d77ff575","title":"WHITE RED-5.5","weight_unit":"","inventory_quantity":399,"sku":"","barcode":"","position":1,"option1":"WHITE RED","option2":"5.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7f4b3ea10fda65e9edc065a301204c95.jpeg","path":"7f4b3ea10fda65e9edc065a301204c95.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.99,"min_quantity":1}],"weight":"0","compare_at_price":"49","price":"43.99","retail_price":"49","available":true,"url":"\/products\/mens-beach-sandals-waterproof-casual-shoes?variant=7ace8df7-ee2a-4dec-93c1-e21a6a5510dc","available_quantity":399,"options":[{"name":"Color","value":"WHITE RED"},{"name":"Size","value":"5.5"}],"off_ratio":10,"flashsale_info":[],"sales":18};
return `
`
}()}