${function() {
const variantData = data.variant || {"id":"615d43ac-a357-4f5b-9d67-a598113ee4a3","product_id":"2b40a739-77a8-4633-8d1e-56ca2cafd547","title":"White-S","weight_unit":"g","inventory_quantity":0,"sku":"EA240601904_WHI_S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ae04177630712352a41239235981abf3.png","path":"ae04177630712352a41239235981abf3.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"300","compare_at_price":"0","price":"17.99","retail_price":"0","available":true,"url":"\/products\/octopus-stroke-printed-mens-t-shirt-ea240601904-1?variant=615d43ac-a357-4f5b-9d67-a598113ee4a3","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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 : EA240601904_WHI_S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"615d43ac-a357-4f5b-9d67-a598113ee4a3","product_id":"2b40a739-77a8-4633-8d1e-56ca2cafd547","title":"White-S","weight_unit":"g","inventory_quantity":0,"sku":"EA240601904_WHI_S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ae04177630712352a41239235981abf3.png","path":"ae04177630712352a41239235981abf3.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"300","compare_at_price":"0","price":"17.99","retail_price":"0","available":true,"url":"\/products\/octopus-stroke-printed-mens-t-shirt-ea240601904-1?variant=615d43ac-a357-4f5b-9d67-a598113ee4a3","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}
`
}()}