${function() {
const variantData = data.variant || {"id":"ece54c1a-e30c-470b-b994-98bc1d502e99","product_id":"51fe36c3-0f57-4b44-a9fe-bd900c5c410c","title":"White-s","weight_unit":"kg","inventory_quantity":1000,"sku":"8108168","barcode":"8108168","position":1,"option1":"White","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ef41266092a8dd6122b9b40b52b6321c.jpeg","path":"ef41266092a8dd6122b9b40b52b6321c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0.45","compare_at_price":"0","price":"49.99","retail_price":"0","available":true,"url":"\/products\/fa87ae84dda5?variant=ece54c1a-e30c-470b-b994-98bc1d502e99","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"s"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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.
Sku : 8108168
Weight : 0.45kg
Barcode : 8108168
${function(){
const variantData = data.variant || {"id":"ece54c1a-e30c-470b-b994-98bc1d502e99","product_id":"51fe36c3-0f57-4b44-a9fe-bd900c5c410c","title":"White-s","weight_unit":"kg","inventory_quantity":1000,"sku":"8108168","barcode":"8108168","position":1,"option1":"White","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ef41266092a8dd6122b9b40b52b6321c.jpeg","path":"ef41266092a8dd6122b9b40b52b6321c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0.45","compare_at_price":"0","price":"49.99","retail_price":"0","available":true,"url":"\/products\/fa87ae84dda5?variant=ece54c1a-e30c-470b-b994-98bc1d502e99","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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}
`
}()}