${function() {
const variantData = data.variant || {"id":"9dddf3eb-a680-498c-b3dc-f07b54e82f30","product_id":"513bcd0b-abaf-4218-b278-014ddafe3b91","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--Grey-S-A0023675","barcode":"","position":7,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3e6c0817ebe6c62810c1b637a1e70b14.jpg","path":"3e6c0817ebe6c62810c1b637a1e70b14.jpg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"33.99","retail_price":"55.99","available":true,"url":"\/products\/love-grandma-leopard-sweatshirt?variant=9dddf3eb-a680-498c-b3dc-f07b54e82f30","available_quantity":999999999,"options":[{"name":"color","value":"Grey"},{"name":"size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":1};
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":"9dddf3eb-a680-498c-b3dc-f07b54e82f30","product_id":"513bcd0b-abaf-4218-b278-014ddafe3b91","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--Grey-S-A0023675","barcode":"","position":7,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3e6c0817ebe6c62810c1b637a1e70b14.jpg","path":"3e6c0817ebe6c62810c1b637a1e70b14.jpg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"33.99","retail_price":"55.99","available":true,"url":"\/products\/love-grandma-leopard-sweatshirt?variant=9dddf3eb-a680-498c-b3dc-f07b54e82f30","available_quantity":999999999,"options":[{"name":"color","value":"Grey"},{"name":"size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":1};
return `
`
}()}