${function() {
const variantData = data.variant || {"id":"cbcbad02-451e-4564-94cd-deb1b72171f9","product_id":"4fd3682d-60b1-4d9d-92e8-5d1e015f740c","title":"Black","weight_unit":"kg","inventory_quantity":100,"sku":"NQ01248-Black-A0011127","barcode":"","position":3,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/146a4c7fa2fe3e2afdbf2b3f75ec1eef.jpeg","path":"146a4c7fa2fe3e2afdbf2b3f75ec1eef.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\/stay-protected-stylish-foldable-sunglasses-for-dogs-cats?variant=cbcbad02-451e-4564-94cd-deb1b72171f9","available_quantity":100,"options":[{"name":"Color","value":"Black"}],"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 : NQ01248-Black-A0011127
Weight : 1kg
${function(){
const variantData = data.variant || {"id":"cbcbad02-451e-4564-94cd-deb1b72171f9","product_id":"4fd3682d-60b1-4d9d-92e8-5d1e015f740c","title":"Black","weight_unit":"kg","inventory_quantity":100,"sku":"NQ01248-Black-A0011127","barcode":"","position":3,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/146a4c7fa2fe3e2afdbf2b3f75ec1eef.jpeg","path":"146a4c7fa2fe3e2afdbf2b3f75ec1eef.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\/stay-protected-stylish-foldable-sunglasses-for-dogs-cats?variant=cbcbad02-451e-4564-94cd-deb1b72171f9","available_quantity":100,"options":[{"name":"Color","value":"Black"}],"off_ratio":67,"flashsale_info":[],"sales":5000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}