${function() {
const variantData = data.variant || {"id":"1dca8334-8145-4084-9ba9-9d146c0e31ec","product_id":"4d16e597-97fd-44cb-a43a-7245b11029cb","title":"white-S","weight_unit":"kg","inventory_quantity":999,"sku":"C0179-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/43e7f4f1ca1f55c47692d598e8b84fbb.jpeg","path":"43e7f4f1ca1f55c47692d598e8b84fbb.jpeg","width":914,"height":1219,"alt":"","aspect_ratio":0.7497949138638228},"wholesale_price":[{"price":29.9,"min_quantity":1}],"weight":"26","compare_at_price":"42.98","price":"29.9","retail_price":"42.98","available":true,"url":"\/products\/lace-and-rluffed-hem-casual-shirt?variant=1dca8334-8145-4084-9ba9-9d146c0e31ec","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":30,"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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : C0179-white-S
Weight : 26kg
${function(){
const variantData = data.variant || {"id":"1dca8334-8145-4084-9ba9-9d146c0e31ec","product_id":"4d16e597-97fd-44cb-a43a-7245b11029cb","title":"white-S","weight_unit":"kg","inventory_quantity":999,"sku":"C0179-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/43e7f4f1ca1f55c47692d598e8b84fbb.jpeg","path":"43e7f4f1ca1f55c47692d598e8b84fbb.jpeg","width":914,"height":1219,"alt":"","aspect_ratio":0.7497949138638228},"wholesale_price":[{"price":29.9,"min_quantity":1}],"weight":"26","compare_at_price":"42.98","price":"29.9","retail_price":"42.98","available":true,"url":"\/products\/lace-and-rluffed-hem-casual-shirt?variant=1dca8334-8145-4084-9ba9-9d146c0e31ec","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}