${function() {
const variantData = data.variant || {"id":"e6248101-3b8c-4bf3-a272-acd1201df2cb","product_id":"7ab246f5-f0d7-4120-b564-bfc9eed149a7","title":"Red 100 Pcs","weight_unit":"kg","inventory_quantity":500,"sku":"PJ04097-Red 100 Pcs-A001369","barcode":"","position":1,"option1":"Red 100 Pcs","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/85ca29a99b84c63f0b8caa04ddc5a2eb.jpg","path":"85ca29a99b84c63f0b8caa04ddc5a2eb.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.97,"min_quantity":1}],"weight":"0.2","compare_at_price":"44.91","price":"14.97","retail_price":"44.91","available":true,"url":"\/products\/100pcs-waterproof-plant-label-tags-perfect-for-garden-nursery-pots-planters?variant=e6248101-3b8c-4bf3-a272-acd1201df2cb","available_quantity":500,"options":[{"name":"Color","value":"Red 100 Pcs"}],"off_ratio":67,"flashsale_info":[],"sales":1000};
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 : PJ04097-Red 100 Pcs-A001369
Weight : 0.2kg
${function(){
const variantData = data.variant || {"id":"e6248101-3b8c-4bf3-a272-acd1201df2cb","product_id":"7ab246f5-f0d7-4120-b564-bfc9eed149a7","title":"Red 100 Pcs","weight_unit":"kg","inventory_quantity":500,"sku":"PJ04097-Red 100 Pcs-A001369","barcode":"","position":1,"option1":"Red 100 Pcs","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/85ca29a99b84c63f0b8caa04ddc5a2eb.jpg","path":"85ca29a99b84c63f0b8caa04ddc5a2eb.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.97,"min_quantity":1}],"weight":"0.2","compare_at_price":"44.91","price":"14.97","retail_price":"44.91","available":true,"url":"\/products\/100pcs-waterproof-plant-label-tags-perfect-for-garden-nursery-pots-planters?variant=e6248101-3b8c-4bf3-a272-acd1201df2cb","available_quantity":500,"options":[{"name":"Color","value":"Red 100 Pcs"}],"off_ratio":67,"flashsale_info":[],"sales":1000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}