${function() {
const variantData = data.variant || {"id":"e1f4a8e1-923b-49d7-a238-35d2fd5246c3","product_id":"97c4ee37-d100-475d-88a2-f8708f0a2c6b","title":"Pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"YN-Pink-S","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2a178235d27d5b39f3a81476b6f2e6cc.jpeg","path":"2a178235d27d5b39f3a81476b6f2e6cc.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"40.99","price":"29.99","retail_price":"40.99","available":true,"url":"\/products\/womens-pink-christmas-tree-santa-claus-print-casual-hoodie?variant=e1f4a8e1-923b-49d7-a238-35d2fd5246c3","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"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":"e1f4a8e1-923b-49d7-a238-35d2fd5246c3","product_id":"97c4ee37-d100-475d-88a2-f8708f0a2c6b","title":"Pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"YN-Pink-S","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2a178235d27d5b39f3a81476b6f2e6cc.jpeg","path":"2a178235d27d5b39f3a81476b6f2e6cc.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"40.99","price":"29.99","retail_price":"40.99","available":true,"url":"\/products\/womens-pink-christmas-tree-santa-claus-print-casual-hoodie?variant=e1f4a8e1-923b-49d7-a238-35d2fd5246c3","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"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}
`
}()}