${function() {
const variantData = data.variant || {"id":"5f96d2dc-7048-43f5-b6c3-b5478d9fb6aa","product_id":"01a45097-7af9-4eae-ae64-77e119c1d20f","title":"BROWN","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!135188-C1270","barcode":"","position":2,"option1":"BROWN","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8e097e3bedcf46f2453be26deaff6dab.jpeg","path":"8e097e3bedcf46f2453be26deaff6dab.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34,"min_quantity":1}],"weight":"0.4","compare_at_price":"68.99","price":"34","retail_price":"68.99","available":true,"url":"\/products\/crochet-market-bag-bucket-woven-bag?variant=5f96d2dc-7048-43f5-b6c3-b5478d9fb6aa","available_quantity":999999999,"options":[{"name":"Color","value":"BROWN"}],"off_ratio":51,"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-!135188-C1270
Weight : 0.4kg
${function(){
const variantData = data.variant || {"id":"5f96d2dc-7048-43f5-b6c3-b5478d9fb6aa","product_id":"01a45097-7af9-4eae-ae64-77e119c1d20f","title":"BROWN","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!135188-C1270","barcode":"","position":2,"option1":"BROWN","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8e097e3bedcf46f2453be26deaff6dab.jpeg","path":"8e097e3bedcf46f2453be26deaff6dab.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34,"min_quantity":1}],"weight":"0.4","compare_at_price":"68.99","price":"34","retail_price":"68.99","available":true,"url":"\/products\/crochet-market-bag-bucket-woven-bag?variant=5f96d2dc-7048-43f5-b6c3-b5478d9fb6aa","available_quantity":999999999,"options":[{"name":"Color","value":"BROWN"}],"off_ratio":51,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}