${function() {
const variantData = data.variant || {"id":"8ff8a37e-8c34-4f2c-b7e0-5ad4c67cd340","product_id":"92e28756-2982-4159-b96d-a2f4a2e3ff9c","title":"KHAKI","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!135468-C1276","barcode":"","position":1,"option1":"KHAKI","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9db4fb7ecc33e3ee6c685070c782bac6.jpeg","path":"9db4fb7ecc33e3ee6c685070c782bac6.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":89.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"160.99","price":"89.99","retail_price":"160.99","available":true,"url":"\/products\/crochet-granny-square-bag-graney-square-bag?variant=8ff8a37e-8c34-4f2c-b7e0-5ad4c67cd340","available_quantity":999999999,"options":[{"name":"Color","value":"KHAKI"}],"off_ratio":44,"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.
Sku : CY-!135468-C1276
Weight : 0.5kg
${function(){
const variantData = data.variant || {"id":"8ff8a37e-8c34-4f2c-b7e0-5ad4c67cd340","product_id":"92e28756-2982-4159-b96d-a2f4a2e3ff9c","title":"KHAKI","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!135468-C1276","barcode":"","position":1,"option1":"KHAKI","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9db4fb7ecc33e3ee6c685070c782bac6.jpeg","path":"9db4fb7ecc33e3ee6c685070c782bac6.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":89.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"160.99","price":"89.99","retail_price":"160.99","available":true,"url":"\/products\/crochet-granny-square-bag-graney-square-bag?variant=8ff8a37e-8c34-4f2c-b7e0-5ad4c67cd340","available_quantity":999999999,"options":[{"name":"Color","value":"KHAKI"}],"off_ratio":44,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}