${function() {
const variantData = data.variant || {"id":"fff9059c-3fe5-4872-a00f-9a0a8d6f7d3f","product_id":"4d267477-e7ea-46fe-917b-7e39b9d822b3","title":"Yellow-7","weight_unit":"kg","inventory_quantity":792,"sku":"-Yellow-7-A00133170","barcode":"","position":1,"option1":"Yellow","option2":"7","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9562d18b806ccac72e84bb9f51ae5c67.jpeg","path":"9562d18b806ccac72e84bb9f51ae5c67.jpeg","width":650,"height":650,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"42.99","retail_price":"49.99","available":true,"url":"\/products\/mens-fashion-comfortable-mesh-sneakers?variant=fff9059c-3fe5-4872-a00f-9a0a8d6f7d3f","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"7"}],"off_ratio":14,"flashsale_info":[],"sales":5};
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":"fff9059c-3fe5-4872-a00f-9a0a8d6f7d3f","product_id":"4d267477-e7ea-46fe-917b-7e39b9d822b3","title":"Yellow-7","weight_unit":"kg","inventory_quantity":792,"sku":"-Yellow-7-A00133170","barcode":"","position":1,"option1":"Yellow","option2":"7","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9562d18b806ccac72e84bb9f51ae5c67.jpeg","path":"9562d18b806ccac72e84bb9f51ae5c67.jpeg","width":650,"height":650,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"42.99","retail_price":"49.99","available":true,"url":"\/products\/mens-fashion-comfortable-mesh-sneakers?variant=fff9059c-3fe5-4872-a00f-9a0a8d6f7d3f","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"7"}],"off_ratio":14,"flashsale_info":[],"sales":5};
return `
`
}()}