${function() {
const variantData = data.variant || {"id":"e4a566cd-0045-41c1-a45b-797033f58621","product_id":"1ff8fade-7fb3-4d8c-b909-74d2cf1c80e1","title":"Orange","weight_unit":"kg","inventory_quantity":999,"sku":"CJJT150655801AZ","barcode":"","position":1,"option1":"Orange","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6c3f812fecd1328ce0e369c7e48843bf.png","path":"6c3f812fecd1328ce0e369c7e48843bf.png","width":409,"height":552,"alt":"","aspect_ratio":0.7409420289855072},"wholesale_price":[{"price":7,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"7","retail_price":"0","available":true,"url":"\/products\/garden-insert-sprinkler-automatic-rotating-tools?variant=e4a566cd-0045-41c1-a45b-797033f58621","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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":"e4a566cd-0045-41c1-a45b-797033f58621","product_id":"1ff8fade-7fb3-4d8c-b909-74d2cf1c80e1","title":"Orange","weight_unit":"kg","inventory_quantity":999,"sku":"CJJT150655801AZ","barcode":"","position":1,"option1":"Orange","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6c3f812fecd1328ce0e369c7e48843bf.png","path":"6c3f812fecd1328ce0e369c7e48843bf.png","width":409,"height":552,"alt":"","aspect_ratio":0.7409420289855072},"wholesale_price":[{"price":7,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"7","retail_price":"0","available":true,"url":"\/products\/garden-insert-sprinkler-automatic-rotating-tools?variant=e4a566cd-0045-41c1-a45b-797033f58621","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}