${function() {
const variantData = data.variant || {"id":"4087ef95-b1a6-4cd3-9198-742e895f2442","product_id":"aecd60dc-c084-4879-a255-bc6ce9c9157c","title":"Black","weight_unit":"g","inventory_quantity":0,"sku":"EA23071139_BLK","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/96386dc135e86972390095c80fd670c9.jpeg","path":"96386dc135e86972390095c80fd670c9.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"300","compare_at_price":"19.99","price":"9.99","retail_price":"19.99","available":true,"url":"\/products\/seven-core-umbrella-rope-wrist-rope-23071139-1?variant=4087ef95-b1a6-4cd3-9198-742e895f2442","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":50,"flashsale_info":[],"sales":4};
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 : EA23071139_BLK
Weight : 300g
${function(){
const variantData = data.variant || {"id":"4087ef95-b1a6-4cd3-9198-742e895f2442","product_id":"aecd60dc-c084-4879-a255-bc6ce9c9157c","title":"Black","weight_unit":"g","inventory_quantity":0,"sku":"EA23071139_BLK","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/96386dc135e86972390095c80fd670c9.jpeg","path":"96386dc135e86972390095c80fd670c9.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"300","compare_at_price":"19.99","price":"9.99","retail_price":"19.99","available":true,"url":"\/products\/seven-core-umbrella-rope-wrist-rope-23071139-1?variant=4087ef95-b1a6-4cd3-9198-742e895f2442","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":50,"flashsale_info":[],"sales":4};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}