${function() {
const variantData = data.variant || {"id":"21831c3f-600c-4944-9038-3abdf1b149c7","product_id":"e8ef759a-dc43-4a6c-8315-8d676e83ad95","title":"Lime Green-S","weight_unit":"lb","inventory_quantity":1000,"sku":"101743780017","barcode":"","position":1,"option1":"Lime Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/90ae33797d849601e14a8f3e81abc2c6.jpeg","path":"90ae33797d849601e14a8f3e81abc2c6.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.48","price":"19.99","retail_price":"34.48","available":true,"url":"\/products\/every-little-thing-is-gonna-be-alright-printed-loose-t-shirt-a42t?variant=21831c3f-600c-4944-9038-3abdf1b149c7","available_quantity":1000,"options":[{"name":"Color","value":"Lime Green"},{"name":"Size","value":"S"}],"off_ratio":42,"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":"21831c3f-600c-4944-9038-3abdf1b149c7","product_id":"e8ef759a-dc43-4a6c-8315-8d676e83ad95","title":"Lime Green-S","weight_unit":"lb","inventory_quantity":1000,"sku":"101743780017","barcode":"","position":1,"option1":"Lime Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/90ae33797d849601e14a8f3e81abc2c6.jpeg","path":"90ae33797d849601e14a8f3e81abc2c6.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.48","price":"19.99","retail_price":"34.48","available":true,"url":"\/products\/every-little-thing-is-gonna-be-alright-printed-loose-t-shirt-a42t?variant=21831c3f-600c-4944-9038-3abdf1b149c7","available_quantity":1000,"options":[{"name":"Color","value":"Lime Green"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}