${function() {
const variantData = data.variant || {"id":"2dfcf40d-5c09-4ebb-b80a-b0617ffd0be9","product_id":"929ccfc8-da86-4405-a831-99f84a35e117","title":"Gray","weight_unit":"kg","inventory_quantity":100,"sku":"GM03232-Gray-A001484","barcode":"","position":1,"option1":"Gray","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a573e1b0d05d86b86e0a3f14fcabc431.jpeg","path":"a573e1b0d05d86b86e0a3f14fcabc431.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.97,"min_quantity":1}],"weight":"1","compare_at_price":"44.91","price":"14.97","retail_price":"44.91","available":true,"url":"\/products\/1-roll-pvc-waterproof-sealing-strip-self-adhesive-sink-stove-crack-strip-kitchen-bathroom-bathtub-corner-sealant-tape?variant=2dfcf40d-5c09-4ebb-b80a-b0617ffd0be9","available_quantity":100,"options":[{"name":"Color","value":"Gray"}],"off_ratio":67,"flashsale_info":[],"sales":5000};
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 : GM03232-Gray-A001484
Weight : 1kg
${function(){
const variantData = data.variant || {"id":"2dfcf40d-5c09-4ebb-b80a-b0617ffd0be9","product_id":"929ccfc8-da86-4405-a831-99f84a35e117","title":"Gray","weight_unit":"kg","inventory_quantity":100,"sku":"GM03232-Gray-A001484","barcode":"","position":1,"option1":"Gray","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a573e1b0d05d86b86e0a3f14fcabc431.jpeg","path":"a573e1b0d05d86b86e0a3f14fcabc431.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.97,"min_quantity":1}],"weight":"1","compare_at_price":"44.91","price":"14.97","retail_price":"44.91","available":true,"url":"\/products\/1-roll-pvc-waterproof-sealing-strip-self-adhesive-sink-stove-crack-strip-kitchen-bathroom-bathtub-corner-sealant-tape?variant=2dfcf40d-5c09-4ebb-b80a-b0617ffd0be9","available_quantity":100,"options":[{"name":"Color","value":"Gray"}],"off_ratio":67,"flashsale_info":[],"sales":5000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}