${function() {
const variantData = data.variant || {"id":"383830ea-d5ba-420b-9dcb-fb89071cbf68","product_id":"53c598ef-84fd-4e00-bcc2-3d547df8be34","title":"black-L","weight_unit":"kg","inventory_quantity":1000,"sku":"black L-46271623","barcode":"","position":1,"option1":"black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1cf686c6e18696cf692a173c22b6ffc4.jpeg","path":"1cf686c6e18696cf692a173c22b6ffc4.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.46,"min_quantity":1}],"weight":"0","compare_at_price":"35.46","price":"35.46","retail_price":"35.46","available":true,"url":"\/products\/temperament-loose-ice-silk-knit-color-matching-two-piece-set-207998494533?variant=383830ea-d5ba-420b-9dcb-fb89071cbf68","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"L"}],"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.
${function(){
const variantData = data.variant || {"id":"383830ea-d5ba-420b-9dcb-fb89071cbf68","product_id":"53c598ef-84fd-4e00-bcc2-3d547df8be34","title":"black-L","weight_unit":"kg","inventory_quantity":1000,"sku":"black L-46271623","barcode":"","position":1,"option1":"black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1cf686c6e18696cf692a173c22b6ffc4.jpeg","path":"1cf686c6e18696cf692a173c22b6ffc4.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.46,"min_quantity":1}],"weight":"0","compare_at_price":"35.46","price":"35.46","retail_price":"35.46","available":true,"url":"\/products\/temperament-loose-ice-silk-knit-color-matching-two-piece-set-207998494533?variant=383830ea-d5ba-420b-9dcb-fb89071cbf68","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}