${function() {
const variantData = data.variant || {"id":"750b1f97-d836-494d-9b0b-eee9bde54730","product_id":"a3fe8e38-bc21-47b4-82fa-83d9d1c4ceab","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH284471-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/51cd42f10c0792f1bf23272126d84ef7.jpeg","path":"51cd42f10c0792f1bf23272126d84ef7.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"35.61","price":"25.99","retail_price":"35.61","available":true,"url":"\/products\/womens-horses-make-me-happy-you-not-so-much-print-hooded-sweatshirt-2zj8?variant=750b1f97-d836-494d-9b0b-eee9bde54730","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":27,"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":"750b1f97-d836-494d-9b0b-eee9bde54730","product_id":"a3fe8e38-bc21-47b4-82fa-83d9d1c4ceab","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH284471-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/51cd42f10c0792f1bf23272126d84ef7.jpeg","path":"51cd42f10c0792f1bf23272126d84ef7.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"35.61","price":"25.99","retail_price":"35.61","available":true,"url":"\/products\/womens-horses-make-me-happy-you-not-so-much-print-hooded-sweatshirt-2zj8?variant=750b1f97-d836-494d-9b0b-eee9bde54730","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":27,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}