${function() {
const variantData = data.variant || {"id":"f61a99f3-98b7-4f3f-93cd-0f3b89ef7df1","product_id":"a6dfbc76-5f5b-4cf8-8f78-2b89a6e41496","title":"Navy Blue-S","weight_unit":"g","inventory_quantity":872,"sku":"101839430009","barcode":"","position":9,"option1":"Navy Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ecc0cd85c500eeecb260946619b9f185.jpeg","path":"ecc0cd85c500eeecb260946619b9f185.jpeg","width":2000,"height":2000,"alt":"Treat Her Right Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":18.98,"min_quantity":1}],"weight":"250","compare_at_price":"27.48","price":"18.98","retail_price":"27.48","available":true,"url":"\/products\/treat-her-right-printed-mens-t-shirt-8qbe?variant=f61a99f3-98b7-4f3f-93cd-0f3b89ef7df1","available_quantity":872,"options":[{"name":"Color","value":"Navy Blue"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":90};
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":"f61a99f3-98b7-4f3f-93cd-0f3b89ef7df1","product_id":"a6dfbc76-5f5b-4cf8-8f78-2b89a6e41496","title":"Navy Blue-S","weight_unit":"g","inventory_quantity":872,"sku":"101839430009","barcode":"","position":9,"option1":"Navy Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ecc0cd85c500eeecb260946619b9f185.jpeg","path":"ecc0cd85c500eeecb260946619b9f185.jpeg","width":2000,"height":2000,"alt":"Treat Her Right Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":18.98,"min_quantity":1}],"weight":"250","compare_at_price":"27.48","price":"18.98","retail_price":"27.48","available":true,"url":"\/products\/treat-her-right-printed-mens-t-shirt-8qbe?variant=f61a99f3-98b7-4f3f-93cd-0f3b89ef7df1","available_quantity":872,"options":[{"name":"Color","value":"Navy Blue"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":90};
return `
`
}()}