${function() {
const variantData = data.variant || {"id":"e264dbd4-155b-4218-97d3-3b47ef97d0aa","product_id":"0e0aa61c-7ec2-4ff1-9e05-a45086873cc8","title":"white-s","weight_unit":"kg","inventory_quantity":999,"sku":"7479916","barcode":"7479916","position":1,"option1":"white","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ed5ebeb56a71fbe1fcba38ce977479b7.jpeg","path":"ed5ebeb56a71fbe1fcba38ce977479b7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.94,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"39.94","retail_price":"0","available":true,"url":"\/products\/xzdd18f61bd994?variant=e264dbd4-155b-4218-97d3-3b47ef97d0aa","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 : 7479916
Barcode : 7479916
${function(){
const variantData = data.variant || {"id":"e264dbd4-155b-4218-97d3-3b47ef97d0aa","product_id":"0e0aa61c-7ec2-4ff1-9e05-a45086873cc8","title":"white-s","weight_unit":"kg","inventory_quantity":999,"sku":"7479916","barcode":"7479916","position":1,"option1":"white","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ed5ebeb56a71fbe1fcba38ce977479b7.jpeg","path":"ed5ebeb56a71fbe1fcba38ce977479b7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.94,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"39.94","retail_price":"0","available":true,"url":"\/products\/xzdd18f61bd994?variant=e264dbd4-155b-4218-97d3-3b47ef97d0aa","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}
`
}()}