${function() {
const variantData = data.variant || {"id":"ea4b3862-e865-4389-b5b0-320ce43dfc68","product_id":"529a6138-8dfd-4021-a9c3-5d00791ae42c","title":"GREEN","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!135203-C1278","barcode":"","position":3,"option1":"GREEN","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/29d02386339b17b2587007ed6d8266f0.jpeg","path":"29d02386339b17b2587007ed6d8266f0.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"60.99","price":"30.99","retail_price":"60.99","available":true,"url":"\/products\/crochet-market-bag-ethnic-retro-style-bag?variant=ea4b3862-e865-4389-b5b0-320ce43dfc68","available_quantity":999999999,"options":[{"name":"Color","value":"GREEN"}],"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-!135203-C1278
Weight : 0.2kg
${function(){
const variantData = data.variant || {"id":"ea4b3862-e865-4389-b5b0-320ce43dfc68","product_id":"529a6138-8dfd-4021-a9c3-5d00791ae42c","title":"GREEN","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!135203-C1278","barcode":"","position":3,"option1":"GREEN","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/29d02386339b17b2587007ed6d8266f0.jpeg","path":"29d02386339b17b2587007ed6d8266f0.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"60.99","price":"30.99","retail_price":"60.99","available":true,"url":"\/products\/crochet-market-bag-ethnic-retro-style-bag?variant=ea4b3862-e865-4389-b5b0-320ce43dfc68","available_quantity":999999999,"options":[{"name":"Color","value":"GREEN"}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}