${function() {
const variantData = data.variant || {"id":"77fe3643-c942-41a0-9d28-2c9362baf614","product_id":"a682b1fb-8de1-47f5-8d3e-8770fe26e4b4","title":"Blue","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f27700629f6f278a7b8783ff5ed604de.jpeg","path":"f27700629f6f278a7b8783ff5ed604de.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15.97,"min_quantity":1}],"weight":"0","compare_at_price":"28.99","price":"15.97","retail_price":"28.99","available":true,"url":"\/products\/double-outlet-faucet?variant=77fe3643-c942-41a0-9d28-2c9362baf614","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"}],"off_ratio":45,"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":"77fe3643-c942-41a0-9d28-2c9362baf614","product_id":"a682b1fb-8de1-47f5-8d3e-8770fe26e4b4","title":"Blue","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f27700629f6f278a7b8783ff5ed604de.jpeg","path":"f27700629f6f278a7b8783ff5ed604de.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15.97,"min_quantity":1}],"weight":"0","compare_at_price":"28.99","price":"15.97","retail_price":"28.99","available":true,"url":"\/products\/double-outlet-faucet?variant=77fe3643-c942-41a0-9d28-2c9362baf614","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"}],"off_ratio":45,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}