${function() {
const variantData = data.variant || {"id":"13b10416-e38c-414f-b969-4fd86ee28180","product_id":"da2593d5-822c-41f9-ba80-0d85090d99af","title":"Black-5XL","weight_unit":"g","inventory_quantity":375,"sku":"101835290001","barcode":"","position":1,"option1":"Black","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d20f2f7a8c97c635741c9f7cba6a19c2.jpeg","path":"d20f2f7a8c97c635741c9f7cba6a19c2.jpeg","width":2000,"height":2000,"alt":"Treat Her Right Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"284.5","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/treat-her-right-printed-mens-t-shirt?variant=13b10416-e38c-414f-b969-4fd86ee28180","available_quantity":375,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"5XL"}],"off_ratio":30,"flashsale_info":[],"sales":1901};
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":"13b10416-e38c-414f-b969-4fd86ee28180","product_id":"da2593d5-822c-41f9-ba80-0d85090d99af","title":"Black-5XL","weight_unit":"g","inventory_quantity":375,"sku":"101835290001","barcode":"","position":1,"option1":"Black","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d20f2f7a8c97c635741c9f7cba6a19c2.jpeg","path":"d20f2f7a8c97c635741c9f7cba6a19c2.jpeg","width":2000,"height":2000,"alt":"Treat Her Right Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"284.5","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/treat-her-right-printed-mens-t-shirt?variant=13b10416-e38c-414f-b969-4fd86ee28180","available_quantity":375,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"5XL"}],"off_ratio":30,"flashsale_info":[],"sales":1901};
return `
`
}()}