${function() {
const variantData = data.variant || {"id":"bcd9efad-690f-45c2-bcce-67b98c2d63ea","product_id":"2084ddf7-c207-40db-94e7-dbee13dc78ee","title":"Black-M","weight_unit":"g","inventory_quantity":1598,"sku":"100581580005","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6422da65d97a2c5af71c36ad9211bec5.jpeg","path":"6422da65d97a2c5af71c36ad9211bec5.jpeg","width":800,"height":800,"alt":"Good Times Dad Friends Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"220","compare_at_price":"32.75","price":"15.98","retail_price":"32.75","available":true,"url":"\/products\/good-times-bad-friends-printed-designer-short-sleeved-t-shirt?variant=bcd9efad-690f-45c2-bcce-67b98c2d63ea","available_quantity":1598,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":51,"flashsale_info":[],"sales":193};
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":"bcd9efad-690f-45c2-bcce-67b98c2d63ea","product_id":"2084ddf7-c207-40db-94e7-dbee13dc78ee","title":"Black-M","weight_unit":"g","inventory_quantity":1598,"sku":"100581580005","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6422da65d97a2c5af71c36ad9211bec5.jpeg","path":"6422da65d97a2c5af71c36ad9211bec5.jpeg","width":800,"height":800,"alt":"Good Times Dad Friends Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"220","compare_at_price":"32.75","price":"15.98","retail_price":"32.75","available":true,"url":"\/products\/good-times-bad-friends-printed-designer-short-sleeved-t-shirt?variant=bcd9efad-690f-45c2-bcce-67b98c2d63ea","available_quantity":1598,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":51,"flashsale_info":[],"sales":193};
return `
`
}()}