${function() {
const variantData = data.variant || {"id":"21f345a3-97e8-45b9-a7ef-317d55dc7962","product_id":"15b4d806-77fb-4a72-b43f-dad70c0ac18c","title":"Black-S","weight_unit":"g","inventory_quantity":99988,"sku":"101613700008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/38f8b6063be8761a59516cb54cf37c56.jpeg","path":"38f8b6063be8761a59516cb54cf37c56.jpeg","width":800,"height":800,"alt":"Good Times Bad Friends Printed T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"260","compare_at_price":"32.98","price":"16.98","retail_price":"32.98","available":true,"url":"\/products\/good-times-bad-friends-printed-t-shirt?variant=21f345a3-97e8-45b9-a7ef-317d55dc7962","available_quantity":99988,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":49,"flashsale_info":[],"sales":345};
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":"21f345a3-97e8-45b9-a7ef-317d55dc7962","product_id":"15b4d806-77fb-4a72-b43f-dad70c0ac18c","title":"Black-S","weight_unit":"g","inventory_quantity":99988,"sku":"101613700008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/38f8b6063be8761a59516cb54cf37c56.jpeg","path":"38f8b6063be8761a59516cb54cf37c56.jpeg","width":800,"height":800,"alt":"Good Times Bad Friends Printed T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"260","compare_at_price":"32.98","price":"16.98","retail_price":"32.98","available":true,"url":"\/products\/good-times-bad-friends-printed-t-shirt?variant=21f345a3-97e8-45b9-a7ef-317d55dc7962","available_quantity":99988,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":49,"flashsale_info":[],"sales":345};
return `
`
}()}