${function() {
const variantData = data.variant || {"id":"470838a8-2492-48ea-a3ea-cbec27cd8560","product_id":"cdd61d67-4afb-4e9d-bffa-819427815307","title":"Black-900ml","weight_unit":"g","inventory_quantity":300,"sku":"CJJJJTCC01902-Black-900ml","barcode":"","position":1,"option1":"Black","option2":"900ml","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c34276594d92dca1458c9a265ffb9a75.jpeg","path":"c34276594d92dca1458c9a265ffb9a75.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":87,"min_quantity":1}],"weight":"1336","compare_at_price":"0","price":"87","retail_price":"0","available":true,"url":"\/products\/cast-iron-teapot-handmade-tea-pot-kungfu-tea-set?variant=470838a8-2492-48ea-a3ea-cbec27cd8560","available_quantity":300,"options":[{"name":"Color","value":"Black"},{"name":"Style","value":"900ml"}],"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":"470838a8-2492-48ea-a3ea-cbec27cd8560","product_id":"cdd61d67-4afb-4e9d-bffa-819427815307","title":"Black-900ml","weight_unit":"g","inventory_quantity":300,"sku":"CJJJJTCC01902-Black-900ml","barcode":"","position":1,"option1":"Black","option2":"900ml","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c34276594d92dca1458c9a265ffb9a75.jpeg","path":"c34276594d92dca1458c9a265ffb9a75.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":87,"min_quantity":1}],"weight":"1336","compare_at_price":"0","price":"87","retail_price":"0","available":true,"url":"\/products\/cast-iron-teapot-handmade-tea-pot-kungfu-tea-set?variant=470838a8-2492-48ea-a3ea-cbec27cd8560","available_quantity":300,"options":[{"name":"Color","value":"Black"},{"name":"Style","value":"900ml"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}