${function() {
const variantData = data.variant || {"id":"293f5e2c-071c-4d06-bb4a-9152179cab8b","product_id":"b05a8252-4737-4c87-a3be-3dd531119d21","title":"Navy Blue-S","weight_unit":"g","inventory_quantity":962,"sku":"101835600009","barcode":"","position":9,"option1":"Navy Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6304819a10e23bf28863e90041ad60e4.jpeg","path":"6304819a10e23bf28863e90041ad60e4.jpeg","width":800,"height":800,"alt":"I Eat Ass Skull 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\/i-eat-ass-skull-printed-mens-t-shirt?variant=293f5e2c-071c-4d06-bb4a-9152179cab8b","available_quantity":962,"options":[{"name":"Color","value":"Navy Blue"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":42};
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":"293f5e2c-071c-4d06-bb4a-9152179cab8b","product_id":"b05a8252-4737-4c87-a3be-3dd531119d21","title":"Navy Blue-S","weight_unit":"g","inventory_quantity":962,"sku":"101835600009","barcode":"","position":9,"option1":"Navy Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6304819a10e23bf28863e90041ad60e4.jpeg","path":"6304819a10e23bf28863e90041ad60e4.jpeg","width":800,"height":800,"alt":"I Eat Ass Skull 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\/i-eat-ass-skull-printed-mens-t-shirt?variant=293f5e2c-071c-4d06-bb4a-9152179cab8b","available_quantity":962,"options":[{"name":"Color","value":"Navy Blue"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":42};
return `
`
}()}