${function() {
const variantData = data.variant || {"id":"66c13df2-1096-41a9-b99a-e4ef3cdcbeb9","product_id":"61f33e47-dc0f-40f8-99aa-2e18de0e5bfa","title":"Yellow-6","weight_unit":"kg","inventory_quantity":1000,"sku":"D-Yellow-6-A00134641","barcode":"","position":1,"option1":"Yellow","option2":"6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4273d8799eda5ecb890d2a156e3aec07.jpeg","path":"4273d8799eda5ecb890d2a156e3aec07.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"55.99","retail_price":"59.99","available":true,"url":"\/products\/classic-mens-lace-up-formal-business-oxford-dress-shoes?variant=66c13df2-1096-41a9-b99a-e4ef3cdcbeb9","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"6"}],"off_ratio":7,"flashsale_info":[],"sales":11};
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":"66c13df2-1096-41a9-b99a-e4ef3cdcbeb9","product_id":"61f33e47-dc0f-40f8-99aa-2e18de0e5bfa","title":"Yellow-6","weight_unit":"kg","inventory_quantity":1000,"sku":"D-Yellow-6-A00134641","barcode":"","position":1,"option1":"Yellow","option2":"6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4273d8799eda5ecb890d2a156e3aec07.jpeg","path":"4273d8799eda5ecb890d2a156e3aec07.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"55.99","retail_price":"59.99","available":true,"url":"\/products\/classic-mens-lace-up-formal-business-oxford-dress-shoes?variant=66c13df2-1096-41a9-b99a-e4ef3cdcbeb9","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"6"}],"off_ratio":7,"flashsale_info":[],"sales":11};
return `
`
}()}