${function() {
const variantData = data.variant || {"id":"bc152a97-2f90-4de9-b2d6-d0ea42abd8b5","product_id":"ceb6dc60-a893-4573-9c74-b1277d3e835d","title":"PINK","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!134720-C1253","barcode":"","position":1,"option1":"PINK","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d62a37efd8520f4fcd138497fa816f8c.jpeg","path":"d62a37efd8520f4fcd138497fa816f8c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.7","compare_at_price":"50.99","price":"25.99","retail_price":"50.99","available":true,"url":"\/products\/crochet-tote-bag-delicate-niche-shoulder-bag?variant=bc152a97-2f90-4de9-b2d6-d0ea42abd8b5","available_quantity":999999999,"options":[{"name":"Color","value":"PINK"}],"off_ratio":49,"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-!134720-C1253
Weight : 0.7kg
${function(){
const variantData = data.variant || {"id":"bc152a97-2f90-4de9-b2d6-d0ea42abd8b5","product_id":"ceb6dc60-a893-4573-9c74-b1277d3e835d","title":"PINK","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!134720-C1253","barcode":"","position":1,"option1":"PINK","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d62a37efd8520f4fcd138497fa816f8c.jpeg","path":"d62a37efd8520f4fcd138497fa816f8c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.7","compare_at_price":"50.99","price":"25.99","retail_price":"50.99","available":true,"url":"\/products\/crochet-tote-bag-delicate-niche-shoulder-bag?variant=bc152a97-2f90-4de9-b2d6-d0ea42abd8b5","available_quantity":999999999,"options":[{"name":"Color","value":"PINK"}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}