${function() {
const variantData = data.variant || {"id":"bc24f8c1-d2d7-4b34-9693-ea9a5b97cc24","product_id":"271ba38c-4e3f-4fc8-9b30-d9fdc8850e1a","title":"Green","weight_unit":"kg","inventory_quantity":1000,"sku":"GL00545-Green-A001976","barcode":"","position":2,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4e41d628ee69893673a109925a82f758.jpg","path":"4e41d628ee69893673a109925a82f758.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":359.99,"min_quantity":1}],"weight":"0","compare_at_price":"1079.99","price":"359.99","retail_price":"1079.99","available":true,"url":"\/products\/350ml-soybean-milk-machine-juicer-blender-350ml-fully-automatic-household-portable-cover-opening-safety-switch-touch-control-kitchen?variant=bc24f8c1-d2d7-4b34-9693-ea9a5b97cc24","available_quantity":1000,"options":[{"name":"Color","value":"Green"}],"off_ratio":67,"flashsale_info":[],"sales":3000};
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.
Sku : GL00545-Green-A001976
${function(){
const variantData = data.variant || {"id":"bc24f8c1-d2d7-4b34-9693-ea9a5b97cc24","product_id":"271ba38c-4e3f-4fc8-9b30-d9fdc8850e1a","title":"Green","weight_unit":"kg","inventory_quantity":1000,"sku":"GL00545-Green-A001976","barcode":"","position":2,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4e41d628ee69893673a109925a82f758.jpg","path":"4e41d628ee69893673a109925a82f758.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":359.99,"min_quantity":1}],"weight":"0","compare_at_price":"1079.99","price":"359.99","retail_price":"1079.99","available":true,"url":"\/products\/350ml-soybean-milk-machine-juicer-blender-350ml-fully-automatic-household-portable-cover-opening-safety-switch-touch-control-kitchen?variant=bc24f8c1-d2d7-4b34-9693-ea9a5b97cc24","available_quantity":1000,"options":[{"name":"Color","value":"Green"}],"off_ratio":67,"flashsale_info":[],"sales":3000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}