${function() {
const variantData = data.variant || {"id":"49a2e8c8-d7e7-4cf5-8314-178bf4ffeed5","product_id":"be6e5067-f005-49c1-880b-f2afb7b46803","title":"black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1559781256741306370","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/28e3820d3a4cf9aafd9acea82be84d9f.jpeg","path":"28e3820d3a4cf9aafd9acea82be84d9f.jpeg","width":1077,"height":1077,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/smiley-print-casual-oversized-mens-sweatshirt?variant=49a2e8c8-d7e7-4cf5-8314-178bf4ffeed5","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
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":"49a2e8c8-d7e7-4cf5-8314-178bf4ffeed5","product_id":"be6e5067-f005-49c1-880b-f2afb7b46803","title":"black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1559781256741306370","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/28e3820d3a4cf9aafd9acea82be84d9f.jpeg","path":"28e3820d3a4cf9aafd9acea82be84d9f.jpeg","width":1077,"height":1077,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/smiley-print-casual-oversized-mens-sweatshirt?variant=49a2e8c8-d7e7-4cf5-8314-178bf4ffeed5","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}