${function() {
const variantData = data.variant || {"id":"7140ead1-6dcb-431f-b8ee-9f5b26ce2b68","product_id":"2f3ce3df-7130-49f9-8cc9-428643254e00","title":"Black-M","weight_unit":"g","inventory_quantity":505,"sku":"100578590005","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/345dacf26c01e8cf4cdbd91d98caf5d0.jpeg","path":"345dacf26c01e8cf4cdbd91d98caf5d0.jpeg","width":800,"height":800,"alt":"Down with my demons print loose T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":22.98,"min_quantity":1}],"weight":"219","compare_at_price":"31.91","price":"22.98","retail_price":"31.91","available":true,"url":"\/products\/down-with-my-demons-print-loose-t-shirt?variant=7140ead1-6dcb-431f-b8ee-9f5b26ce2b68","available_quantity":505,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":28,"flashsale_info":[],"sales":171};
const saveType = "percentage";
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":"7140ead1-6dcb-431f-b8ee-9f5b26ce2b68","product_id":"2f3ce3df-7130-49f9-8cc9-428643254e00","title":"Black-M","weight_unit":"g","inventory_quantity":505,"sku":"100578590005","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/345dacf26c01e8cf4cdbd91d98caf5d0.jpeg","path":"345dacf26c01e8cf4cdbd91d98caf5d0.jpeg","width":800,"height":800,"alt":"Down with my demons print loose T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":22.98,"min_quantity":1}],"weight":"219","compare_at_price":"31.91","price":"22.98","retail_price":"31.91","available":true,"url":"\/products\/down-with-my-demons-print-loose-t-shirt?variant=7140ead1-6dcb-431f-b8ee-9f5b26ce2b68","available_quantity":505,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":28,"flashsale_info":[],"sales":171};
return `
`
}()}