${function() {
const variantData = data.variant || {"id":"ab140c33-1bec-465b-a584-b7933612d5b8","product_id":"b755219a-67b0-44a5-83c5-0effe42ecd5a","title":"black-2XL","weight_unit":"kg","inventory_quantity":1000,"sku":"1435641909481037826","barcode":"","position":1,"option1":"black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1101e79b22a7693d4528861d7e8504c8.jpeg","path":"1101e79b22a7693d4528861d7e8504c8.jpeg","width":780,"height":780,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"16.99","retail_price":"0","available":true,"url":"\/products\/thrifty-printed-long-sleeves?variant=ab140c33-1bec-465b-a584-b7933612d5b8","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"2XL"}],"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":"ab140c33-1bec-465b-a584-b7933612d5b8","product_id":"b755219a-67b0-44a5-83c5-0effe42ecd5a","title":"black-2XL","weight_unit":"kg","inventory_quantity":1000,"sku":"1435641909481037826","barcode":"","position":1,"option1":"black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1101e79b22a7693d4528861d7e8504c8.jpeg","path":"1101e79b22a7693d4528861d7e8504c8.jpeg","width":780,"height":780,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"16.99","retail_price":"0","available":true,"url":"\/products\/thrifty-printed-long-sleeves?variant=ab140c33-1bec-465b-a584-b7933612d5b8","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}