${function() {
const variantData = data.variant || {"id":"de6f6b11-6fa4-453a-868e-a7913f5a3012","product_id":"4bb521cf-6e96-4946-b74e-e3b630b9468c","title":"Yellow-xl","weight_unit":"kg","inventory_quantity":1000,"sku":"5073047","barcode":"5073047","position":1,"option1":"Yellow","option2":"xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/51104df3354deffd195b871ff5fe6f77.jpeg","path":"51104df3354deffd195b871ff5fe6f77.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.05,"min_quantity":1}],"weight":"0","compare_at_price":"64.99","price":"27.05","retail_price":"64.99","available":true,"url":"\/products\/fashion-floral-print-long-sleeve-maxi-dress?variant=de6f6b11-6fa4-453a-868e-a7913f5a3012","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"xl"}],"off_ratio":58,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : 5073047
Barcode : 5073047
${function(){
const variantData = data.variant || {"id":"de6f6b11-6fa4-453a-868e-a7913f5a3012","product_id":"4bb521cf-6e96-4946-b74e-e3b630b9468c","title":"Yellow-xl","weight_unit":"kg","inventory_quantity":1000,"sku":"5073047","barcode":"5073047","position":1,"option1":"Yellow","option2":"xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/51104df3354deffd195b871ff5fe6f77.jpeg","path":"51104df3354deffd195b871ff5fe6f77.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.05,"min_quantity":1}],"weight":"0","compare_at_price":"64.99","price":"27.05","retail_price":"64.99","available":true,"url":"\/products\/fashion-floral-print-long-sleeve-maxi-dress?variant=de6f6b11-6fa4-453a-868e-a7913f5a3012","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"xl"}],"off_ratio":58,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}