${function() {
const variantData = data.variant || {"id":"3e7edeb0-51d6-4beb-9f8e-88e451c72995","product_id":"a710abe1-f152-404a-b41c-ea7e494d2ce0","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"YN-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9a02da81e805296b5039b048634b242f.jpeg","path":"9a02da81e805296b5039b048634b242f.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"25.99","retail_price":"37.99","available":true,"url":"\/products\/womens-floral-hearts-printed-sweatshirt?variant=3e7edeb0-51d6-4beb-9f8e-88e451c72995","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":32,"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":"3e7edeb0-51d6-4beb-9f8e-88e451c72995","product_id":"a710abe1-f152-404a-b41c-ea7e494d2ce0","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"YN-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9a02da81e805296b5039b048634b242f.jpeg","path":"9a02da81e805296b5039b048634b242f.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"25.99","retail_price":"37.99","available":true,"url":"\/products\/womens-floral-hearts-printed-sweatshirt?variant=3e7edeb0-51d6-4beb-9f8e-88e451c72995","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}