${function() {
const variantData = data.variant || {"id":"c77ff378-b699-4dce-88c9-926c46b30c54","product_id":"4af381ae-b249-495f-ac70-70f2df9e44a3","title":"creamy white-M","weight_unit":"g","inventory_quantity":999,"sku":"1615185973369421825","barcode":"","position":1,"option1":"creamy white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7b1a80aa1e2a5a6456628a113a4e2fb9.jpeg","path":"7b1a80aa1e2a5a6456628a113a4e2fb9.jpeg","width":800,"height":800,"alt":"cdf3d2f9aa26e5d1fdbd2e48548d034a","aspect_ratio":1},"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"150","compare_at_price":"0","price":"22","retail_price":"0","available":true,"url":"\/products\/okinawa-japan-organic-cotton-mens-retro-t-shirt?variant=c77ff378-b699-4dce-88c9-926c46b30c54","available_quantity":999999999,"options":[{"name":"Color","value":"creamy white"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":5};
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.
${function(){
const variantData = data.variant || {"id":"c77ff378-b699-4dce-88c9-926c46b30c54","product_id":"4af381ae-b249-495f-ac70-70f2df9e44a3","title":"creamy white-M","weight_unit":"g","inventory_quantity":999,"sku":"1615185973369421825","barcode":"","position":1,"option1":"creamy white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7b1a80aa1e2a5a6456628a113a4e2fb9.jpeg","path":"7b1a80aa1e2a5a6456628a113a4e2fb9.jpeg","width":800,"height":800,"alt":"cdf3d2f9aa26e5d1fdbd2e48548d034a","aspect_ratio":1},"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"150","compare_at_price":"0","price":"22","retail_price":"0","available":true,"url":"\/products\/okinawa-japan-organic-cotton-mens-retro-t-shirt?variant=c77ff378-b699-4dce-88c9-926c46b30c54","available_quantity":999999999,"options":[{"name":"Color","value":"creamy white"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":5};
return `
Barcode : ${variantData && variantData.barcode}
`
}()}