${function() {
const variantData = data.variant || {"id":"2611d79e-f117-4d04-a957-42295de41200","product_id":"de2d28ba-5926-412f-8bec-c3921f6ce69b","title":"blue-S","weight_unit":"g","inventory_quantity":999,"sku":"1694607404089888770","barcode":"","position":1,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/43df93f15a8419810096595d304f3815.png","path":"43df93f15a8419810096595d304f3815.png","width":800,"height":800,"alt":"2bd0f55ce3c1f29f3349c48934bd30a5","aspect_ratio":1},"wholesale_price":[{"price":32.26,"min_quantity":1}],"weight":"200","compare_at_price":"0","price":"32.26","retail_price":"0","available":true,"url":"\/products\/unisex-old-school-surf-flannel-sweatshirt?variant=2611d79e-f117-4d04-a957-42295de41200","available_quantity":999999999,"options":[{"name":"Color","value":"blue"},{"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.
Sku : 1694607404089888770
Weight : 200g
${function(){
const variantData = data.variant || {"id":"2611d79e-f117-4d04-a957-42295de41200","product_id":"de2d28ba-5926-412f-8bec-c3921f6ce69b","title":"blue-S","weight_unit":"g","inventory_quantity":999,"sku":"1694607404089888770","barcode":"","position":1,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/43df93f15a8419810096595d304f3815.png","path":"43df93f15a8419810096595d304f3815.png","width":800,"height":800,"alt":"2bd0f55ce3c1f29f3349c48934bd30a5","aspect_ratio":1},"wholesale_price":[{"price":32.26,"min_quantity":1}],"weight":"200","compare_at_price":"0","price":"32.26","retail_price":"0","available":true,"url":"\/products\/unisex-old-school-surf-flannel-sweatshirt?variant=2611d79e-f117-4d04-a957-42295de41200","available_quantity":999999999,"options":[{"name":"Color","value":"blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}