${function() {
const variantData = data.variant || {"id":"01c0a9aa-430b-4ad7-b9c7-9f479cc8bbe5","product_id":"d0bcc018-4924-4498-b204-edc493d70bd8","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"EA23071977_BLK_S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cd3c8a364143928dcd788343b0dc1ec5.png","path":"cd3c8a364143928dcd788343b0dc1ec5.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"300","compare_at_price":"31.99","price":"18.99","retail_price":"31.99","available":true,"url":"\/products\/tree-of-fox-print-womens-t-shirt-ea23071977-1?variant=01c0a9aa-430b-4ad7-b9c7-9f479cc8bbe5","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":4};
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 : EA23071977_BLK_S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"01c0a9aa-430b-4ad7-b9c7-9f479cc8bbe5","product_id":"d0bcc018-4924-4498-b204-edc493d70bd8","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"EA23071977_BLK_S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cd3c8a364143928dcd788343b0dc1ec5.png","path":"cd3c8a364143928dcd788343b0dc1ec5.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"300","compare_at_price":"31.99","price":"18.99","retail_price":"31.99","available":true,"url":"\/products\/tree-of-fox-print-womens-t-shirt-ea23071977-1?variant=01c0a9aa-430b-4ad7-b9c7-9f479cc8bbe5","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":4};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}