${function() {
const variantData = data.variant || {"id":"5635fbde-872b-47d2-98df-8ee515547915","product_id":"9e4e73b9-7df2-4f35-b2c2-68855860f2bf","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"ZAT-1283-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/70d86a401161eea665521d08b8e1d049.jpeg","path":"70d86a401161eea665521d08b8e1d049.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"64.99","price":"32.99","retail_price":"64.99","available":true,"url":"\/products\/vintage-team-print-womens-sweatshirt-rbkl-3905252?variant=5635fbde-872b-47d2-98df-8ee515547915","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":49,"flashsale_info":[],"sales":6534};
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":"5635fbde-872b-47d2-98df-8ee515547915","product_id":"9e4e73b9-7df2-4f35-b2c2-68855860f2bf","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"ZAT-1283-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/70d86a401161eea665521d08b8e1d049.jpeg","path":"70d86a401161eea665521d08b8e1d049.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"64.99","price":"32.99","retail_price":"64.99","available":true,"url":"\/products\/vintage-team-print-womens-sweatshirt-rbkl-3905252?variant=5635fbde-872b-47d2-98df-8ee515547915","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":49,"flashsale_info":[],"sales":6534};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}