${function() {
const variantData = data.variant || {"id":"480238ee-56f6-4bab-b025-86b1953ee0f3","product_id":"379c3009-ab89-4dc5-9517-d408d3696987","title":"Black-4XL","weight_unit":"kg","inventory_quantity":1000,"sku":"102139980001","barcode":"","position":1,"option1":"Black","option2":"4XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cef36539698d2e77af0e03b23b751632.jpeg","path":"cef36539698d2e77af0e03b23b751632.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.98,"min_quantity":1}],"weight":"0","compare_at_price":"45.98","price":"31.98","retail_price":"45.98","available":true,"url":"\/products\/forest-fox-printed-mens-hoodie-2?variant=480238ee-56f6-4bab-b025-86b1953ee0f3","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"4XL"}],"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.
${function(){
const variantData = data.variant || {"id":"480238ee-56f6-4bab-b025-86b1953ee0f3","product_id":"379c3009-ab89-4dc5-9517-d408d3696987","title":"Black-4XL","weight_unit":"kg","inventory_quantity":1000,"sku":"102139980001","barcode":"","position":1,"option1":"Black","option2":"4XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cef36539698d2e77af0e03b23b751632.jpeg","path":"cef36539698d2e77af0e03b23b751632.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.98,"min_quantity":1}],"weight":"0","compare_at_price":"45.98","price":"31.98","retail_price":"45.98","available":true,"url":"\/products\/forest-fox-printed-mens-hoodie-2?variant=480238ee-56f6-4bab-b025-86b1953ee0f3","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"4XL"}],"off_ratio":30,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}