${function() {
const variantData = data.variant || {"id":"c5444ee5-34dc-4e1b-92e1-e1b076cd1767","product_id":"e444c68e-0a60-4aa6-8b61-807ae2cc96f6","title":"COFFEE","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!135542-C1247","barcode":"","position":2,"option1":"COFFEE","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6b3f6c96cd5b161146276d1b2d3c617e.jpeg","path":"6b3f6c96cd5b161146276d1b2d3c617e.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"24.99","price":"12.99","retail_price":"24.99","available":true,"url":"\/products\/crochet-market-nag-octagon-crossbody-bag?variant=c5444ee5-34dc-4e1b-92e1-e1b076cd1767","available_quantity":999999999,"options":[{"name":"Color","value":"COFFEE"}],"off_ratio":48,"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-!135542-C1247
Weight : 0.5kg
${function(){
const variantData = data.variant || {"id":"c5444ee5-34dc-4e1b-92e1-e1b076cd1767","product_id":"e444c68e-0a60-4aa6-8b61-807ae2cc96f6","title":"COFFEE","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!135542-C1247","barcode":"","position":2,"option1":"COFFEE","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6b3f6c96cd5b161146276d1b2d3c617e.jpeg","path":"6b3f6c96cd5b161146276d1b2d3c617e.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"24.99","price":"12.99","retail_price":"24.99","available":true,"url":"\/products\/crochet-market-nag-octagon-crossbody-bag?variant=c5444ee5-34dc-4e1b-92e1-e1b076cd1767","available_quantity":999999999,"options":[{"name":"Color","value":"COFFEE"}],"off_ratio":48,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}