${function() {
const variantData = data.variant || {"id":"b2d0259e-707e-47be-8ac8-48ff4feb348f","product_id":"36a11b7e-4a65-4efa-9b23-4805d1ae8551","title":"white","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693057188625","barcode":"","position":1,"option1":"white","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f92559c9532c22a465509a50a959457a.jpeg","path":"f92559c9532c22a465509a50a959457a.jpeg","width":600,"height":800,"alt":"Ladies Fashion Lace Stockings Transparent Crystal Socks","aspect_ratio":0.75},"wholesale_price":[{"price":5.42,"min_quantity":1}],"weight":"0","compare_at_price":"5.42","price":"5.42","retail_price":"5.42","available":true,"url":"\/products\/ladies-fashion-lace-stockings-transparent-crystal-socks-3356?variant=b2d0259e-707e-47be-8ac8-48ff4feb348f","available_quantity":1000,"options":[{"name":"colour","value":"white"}],"off_ratio":0,"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.
${function(){
const variantData = data.variant || {"id":"b2d0259e-707e-47be-8ac8-48ff4feb348f","product_id":"36a11b7e-4a65-4efa-9b23-4805d1ae8551","title":"white","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693057188625","barcode":"","position":1,"option1":"white","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f92559c9532c22a465509a50a959457a.jpeg","path":"f92559c9532c22a465509a50a959457a.jpeg","width":600,"height":800,"alt":"Ladies Fashion Lace Stockings Transparent Crystal Socks","aspect_ratio":0.75},"wholesale_price":[{"price":5.42,"min_quantity":1}],"weight":"0","compare_at_price":"5.42","price":"5.42","retail_price":"5.42","available":true,"url":"\/products\/ladies-fashion-lace-stockings-transparent-crystal-socks-3356?variant=b2d0259e-707e-47be-8ac8-48ff4feb348f","available_quantity":1000,"options":[{"name":"colour","value":"white"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}