${function() {
const variantData = data.variant || {"id":"6fb294b1-4414-49ac-a81d-701a530fda00","product_id":"94f95f11-0ed2-40b6-b71e-c262d4c6c2ab","title":"white-2xl","weight_unit":"kg","inventory_quantity":1000,"sku":"2198","barcode":"2198","position":1,"option1":"white","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6504c65a4b6f6ad50a16e86048628fc3.webp","path":"6504c65a4b6f6ad50a16e86048628fc3.webp","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"0.2","compare_at_price":"0","price":"15","retail_price":"0","available":true,"url":"\/products\/round-neck-cotton-lace-plain-long-sleeve-t-shirt?variant=6fb294b1-4414-49ac-a81d-701a530fda00","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"2xl"}],"off_ratio":0,"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 : 2198
Weight : 0.2kg
Barcode : 2198
${function(){
const variantData = data.variant || {"id":"6fb294b1-4414-49ac-a81d-701a530fda00","product_id":"94f95f11-0ed2-40b6-b71e-c262d4c6c2ab","title":"white-2xl","weight_unit":"kg","inventory_quantity":1000,"sku":"2198","barcode":"2198","position":1,"option1":"white","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6504c65a4b6f6ad50a16e86048628fc3.webp","path":"6504c65a4b6f6ad50a16e86048628fc3.webp","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"0.2","compare_at_price":"0","price":"15","retail_price":"0","available":true,"url":"\/products\/round-neck-cotton-lace-plain-long-sleeve-t-shirt?variant=6fb294b1-4414-49ac-a81d-701a530fda00","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"2xl"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}