${function() {
const variantData = data.variant || {"id":"3569b4ef-022f-4ca5-9be6-bd48b62beb74","product_id":"da2593d5-822c-41f9-ba80-0d85090d99af","title":"Navy Blue-S","weight_unit":"g","inventory_quantity":987,"sku":"101835290009","barcode":"","position":9,"option1":"Navy Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/97c5db8d764de9b5d209e7abefe4032d.jpeg","path":"97c5db8d764de9b5d209e7abefe4032d.jpeg","width":1200,"height":1200,"alt":"Treat Her Right Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":18.98,"min_quantity":1}],"weight":"284.5","compare_at_price":"27.48","price":"18.98","retail_price":"27.48","available":true,"url":"\/products\/treat-her-right-printed-mens-t-shirt?variant=3569b4ef-022f-4ca5-9be6-bd48b62beb74","available_quantity":987,"options":[{"name":"Color","value":"Navy Blue"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":1941};
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":"3569b4ef-022f-4ca5-9be6-bd48b62beb74","product_id":"da2593d5-822c-41f9-ba80-0d85090d99af","title":"Navy Blue-S","weight_unit":"g","inventory_quantity":987,"sku":"101835290009","barcode":"","position":9,"option1":"Navy Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/97c5db8d764de9b5d209e7abefe4032d.jpeg","path":"97c5db8d764de9b5d209e7abefe4032d.jpeg","width":1200,"height":1200,"alt":"Treat Her Right Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":18.98,"min_quantity":1}],"weight":"284.5","compare_at_price":"27.48","price":"18.98","retail_price":"27.48","available":true,"url":"\/products\/treat-her-right-printed-mens-t-shirt?variant=3569b4ef-022f-4ca5-9be6-bd48b62beb74","available_quantity":987,"options":[{"name":"Color","value":"Navy Blue"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":1941};
return `
`
}()}