${function() {
const variantData = data.variant || {"id":"e7ce4dfa-ea09-4bbc-8474-4dbb44c99ea5","product_id":"854c10d0-a7b7-4ca8-b21d-73da7eef41c9","title":"BROWN","weight_unit":"g","inventory_quantity":693,"sku":"CJYD191488704DW","barcode":"","position":2,"option1":"BROWN","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/00315d181029c8d81f6f56efcac290f1.jpeg","path":"00315d181029c8d81f6f56efcac290f1.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":63,"min_quantity":1}],"weight":"1000","compare_at_price":"0","price":"63","retail_price":"0","available":true,"url":"\/products\/purple-sand-dragon-and-phoenix-pot-kung-fu-teapot?variant=e7ce4dfa-ea09-4bbc-8474-4dbb44c99ea5","available_quantity":999999999,"options":[{"name":"Color","value":"BROWN"}],"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"e7ce4dfa-ea09-4bbc-8474-4dbb44c99ea5","product_id":"854c10d0-a7b7-4ca8-b21d-73da7eef41c9","title":"BROWN","weight_unit":"g","inventory_quantity":693,"sku":"CJYD191488704DW","barcode":"","position":2,"option1":"BROWN","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/00315d181029c8d81f6f56efcac290f1.jpeg","path":"00315d181029c8d81f6f56efcac290f1.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":63,"min_quantity":1}],"weight":"1000","compare_at_price":"0","price":"63","retail_price":"0","available":true,"url":"\/products\/purple-sand-dragon-and-phoenix-pot-kung-fu-teapot?variant=e7ce4dfa-ea09-4bbc-8474-4dbb44c99ea5","available_quantity":999999999,"options":[{"name":"Color","value":"BROWN"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}