${function() {
const variantData = data.variant || {"id":"ad57b35f-511a-4371-9ec1-52aa5dbb7d3b","product_id":"20b87762-a0db-48ee-8cd3-775c47a041df","title":"1 Pc","weight_unit":"kg","inventory_quantity":1000,"sku":"SLRXSM31-0001","barcode":"","position":1,"option1":"1 Pc","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/762f5c4156459c3acc86610e7fa1e36f.jpeg","path":"762f5c4156459c3acc86610e7fa1e36f.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.98","price":"24.99","retail_price":"49.98","available":true,"url":"\/products\/teeth-whitening-powder-instant-whitening-and-stain-removal-4-1-2bx1-k4ij?variant=ad57b35f-511a-4371-9ec1-52aa5dbb7d3b","available_quantity":999999999,"options":[{"name":"Buy More Save More\u2764\ufe0f","value":"1 Pc"}],"off_ratio":50,"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":"ad57b35f-511a-4371-9ec1-52aa5dbb7d3b","product_id":"20b87762-a0db-48ee-8cd3-775c47a041df","title":"1 Pc","weight_unit":"kg","inventory_quantity":1000,"sku":"SLRXSM31-0001","barcode":"","position":1,"option1":"1 Pc","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/762f5c4156459c3acc86610e7fa1e36f.jpeg","path":"762f5c4156459c3acc86610e7fa1e36f.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.98","price":"24.99","retail_price":"49.98","available":true,"url":"\/products\/teeth-whitening-powder-instant-whitening-and-stain-removal-4-1-2bx1-k4ij?variant=ad57b35f-511a-4371-9ec1-52aa5dbb7d3b","available_quantity":999999999,"options":[{"name":"Buy More Save More\u2764\ufe0f","value":"1 Pc"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}