${function() {
const variantData = data.variant || {"id":"bfd87fe6-9bff-4857-a6b3-2bd781be6d84","product_id":"0ed923e3-0d90-4496-a586-4f1edfeecfc8","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MJK267207-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8802e08325e58f866affdaa6b2c662c4.jpeg","path":"8802e08325e58f866affdaa6b2c662c4.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"34.99","retail_price":"34.99","available":true,"url":"\/products\/fashion-simple-forest-print-mens-woolen-jacket-10?variant=bfd87fe6-9bff-4857-a6b3-2bd781be6d84","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"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}
`
}()}
${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":"bfd87fe6-9bff-4857-a6b3-2bd781be6d84","product_id":"0ed923e3-0d90-4496-a586-4f1edfeecfc8","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MJK267207-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8802e08325e58f866affdaa6b2c662c4.jpeg","path":"8802e08325e58f866affdaa6b2c662c4.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"34.99","retail_price":"34.99","available":true,"url":"\/products\/fashion-simple-forest-print-mens-woolen-jacket-10?variant=bfd87fe6-9bff-4857-a6b3-2bd781be6d84","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}