How to Handle Food Allergens on Your Shopify Store
Displaying accurate allergen information on your Shopify food store is both a legal requirement and a commercial necessity. Here is a practical guide to getting it right.
How to Handle Food Allergens on Your Shopify Store
If you sell food on Shopify, displaying accurate allergen information is both a legal requirement and a commercial necessity. Allergy-affected customers — and there are millions of them — will not buy from a food store that doesn't display allergen information clearly. Those that do display it clearly and accurately earn high-value, loyal customers.
This practical guide covers exactly how to handle food allergens on your Shopify store, from the product page to the checkout.
The Legal Baseline
In the UK and EU, food sold online must display allergen information before the customer completes their purchase. Under UK Food Information Regulations and EU Regulation 1169/2011, this means allergen information must be visible on your product pages — not just on the packaging that arrives days later. "See label on delivery" is not sufficient for online sales.
In the US, FDA guidance strongly recommends that allergen information be provided pre-purchase for food sold online, matching the requirements of FALCPA for packaged food labels.
The 14 major allergens that must be declared under UK/EU law are: cereals containing gluten, crustaceans, eggs, fish, peanuts, soybeans, milk, tree nuts, celery, mustard, sesame, sulphur dioxide and sulphites, lupin, and molluscs. The US covers 9 major allergens (including sesame from January 2023).
Option 1: Manual Allergen Information in Product Descriptions
The simplest approach is to include allergen information manually in your product descriptions. For each product, add a section clearly stating:
- Contains: [list allergens present]
- May contain: [list allergens with cross-contact risk]
Format these clearly — use bold, a dedicated section heading, or a table. Do not bury allergen information at the end of a long description.
Limitation: Manual allergen information in product descriptions is error-prone as your range grows. Every recipe change requires a manual product description update. Discrepancies between your internal recipe records and your product pages are common — and legally and commercially risky.
Option 2: Shopify Metafields for Allergen Data
Shopify metafields allow you to store structured data about your products — including allergen information — separately from your product description. You can then display this data in a consistent, well-designed format using your theme or custom liquid code.
Benefits of metafields:
- Structured, consistent display across all products
- Can be used to build filtering functionality (customers filter by allergen)
- Separates allergen data from marketing copy in your product description
Limitation: Setting up metafields requires some technical configuration and theme editing, and does not address the core problem of keeping allergen data accurate as recipes change.
Option 3: SafeServe — Purpose-Built Allergen Labelling for Shopify
SafeServe is our Shopify app built specifically to handle allergen information on food product pages. It provides:
Visual allergen badges — clear icons for each allergen present, displayed prominently on product pages. Customers can see at a glance which allergens are in each product.
Detailed allergen declarations — expandable sections showing which specific ingredients contribute each allergen, supporting customer transparency and trust.
"May contain" advisory display — clearly differentiated from "contains" declarations, so customers understand the difference between intentional ingredients and cross-contact risks.
Consistent display across your store — allergen information is rendered consistently using the same template across all products, not dependent on manual formatting in individual product descriptions.
Easy updates — when you update allergen data in SafeServe, all product pages using that data update automatically. No hunting through individual product descriptions.
Option 4: Allergen Matrix — Store-Wide Allergen Grid
In addition to product-level allergen display, many food businesses benefit from a store-wide allergen matrix — a single page or section where customers can see all products and all allergens in a grid format.
Allergen Matrix generates and displays this grid on your Shopify store. Customers can:
- View all products and allergens in one table
- Filter to see only products free from their specific allergen(s)
- Export or print the matrix for their records
An allergen matrix is particularly valuable for corporate catering customers, wholesale buyers, and parents ordering for families with complex allergy profiles.
Where Allergen Information Should Appear
- Product page — primary location, above the fold where possible. Before the customer adds to cart.
- Cart page — a brief allergen summary or reminder link on the cart page reinforces awareness before checkout
- Order confirmation email — reiterate allergen information in the order confirmation so customers have a record
- Delivery documentation — packaging and delivery notes should also carry allergen information (especially for PPDS items under Natasha's Law)
Managing Allergen Data Accuracy
The biggest ongoing challenge with allergen information is keeping it accurate as your business evolves. Key processes:
Recipe change protocol — any recipe change triggers an automatic allergen review before the change is implemented Supplier change protocol — any supplier change triggers an allergen review for all products using the affected ingredient New product checklist — new products cannot go live without allergen information reviewed and approved Regular audit — at minimum annually, review all product allergen declarations against current recipes and supplier declarations
Understanding Cross-Contact and "May Contain" Declarations
Cross-contact is one of the most misunderstood areas of allergen management for online food sellers. It occurs when an allergen is unintentionally transferred to a product during manufacturing or preparation — not because it is an ingredient, but because the same equipment, surfaces, or environment is shared with allergenic products. For customers with severe allergies, cross-contact can be just as dangerous as an intentional ingredient, which is why "may contain" declarations carry real weight and must never be used carelessly or as a blanket disclaimer.
The critical rule is that "may contain" should only be used where a genuine, assessed cross-contact risk exists. Applying "may contain" warnings to every product regardless of actual risk is known as precautionary over-labelling, and it actively harms allergy-affected customers by making it impossible to identify genuinely safer options. If a customer cannot distinguish between products with a real cross-contact risk and products that simply carry a blanket disclaimer, they lose trust in your labelling entirely — and they will shop elsewhere.
For your Shopify store, this means your "may contain" declarations should be based on a documented allergen risk assessment of your production environment. Review which allergens are present in your kitchen or facility, which products are made on shared equipment, and what cleaning protocols are in place between runs. Document this assessment and update it whenever your production setup changes. Displaying "may contain" information clearly and accurately on your product pages — differentiated visually from your "contains" declarations — demonstrates to allergy-affected customers that your labelling is credible and considered, not just a legal formality.
How Allergen Transparency Builds Customer Loyalty
Food allergy affects approximately 2 million people in the UK alone, and that figure does not include the much larger population managing food intolerances, coeliac disease, or religious and lifestyle dietary requirements. When someone in this group finds an online food store that displays allergen information clearly, accurately, and consistently, they do not forget it. These customers often become repeat buyers at above-average order values, because finding a trusted food source is genuinely difficult for them and they actively want to support businesses that make it easier.
The commercial case for allergen transparency extends beyond repeat purchases. Allergy-affected customers are highly likely to share recommendations within their communities — online forums, social media groups, parent networks, and workplace catering discussions are all channels where trusted food sources are actively discussed and referred. A single well-implemented allergen display on your Shopify store can generate word-of-mouth referrals that paid advertising cannot replicate, because the recommendation carries the weight of personal safety experience rather than a promotional incentive.
Contrast this with the cost of getting it wrong. A customer who has an allergic reaction due to inaccurate allergen information on your product page faces a serious health risk — and your business faces significant legal, reputational, and financial exposure. Even a near-miss, where a customer notices incorrect allergen information before purchasing, is enough to generate a public negative review that damages trust with the broader customer base. Investing in accurate allergen display is not a compliance overhead; it is a commercial investment in the customers most likely to become your most loyal buyers.
Handling Product Variants with Different Allergen Profiles
Many Shopify food products are sold with variants — different flavours, sizes, or formulations under a single product listing. This creates a specific allergen challenge: variants of the same product may have entirely different allergen profiles. A plain biscuit variant may be gluten-free while the chocolate variant contains milk and gluten. A standard sauce variant may be nut-free while the premium variant contains almond. If your allergen information only displays at the product level without accounting for variants, customers cannot safely identify which specific variant is safe for them.
The correct approach is to ensure allergen information is tied to each variant individually, not just to the parent product. When a customer selects a specific variant on your product page, the allergen display should update to reflect that variant's specific allergen profile. This requires either variant-level metafield configuration or a dedicated allergen app that supports variant-level data — a flat product description section listing allergens cannot handle this dynamically, which is one of the core limitations of purely manual approaches.
When setting up variant-level allergen data, also consider how you communicate the difference to customers. A clear note near the variant selector — such as "allergen information updates for each variant" — helps customers understand that they need to select their specific variant before reading the allergen declaration. This small piece of UI guidance significantly reduces the risk of a customer reading the allergen information for one variant and then purchasing another, which is a realistic and preventable error on busy product pages.
Preparing for Allergen Audits and Regulatory Inspections
Food businesses selling online are subject to inspection and audit by local authority environmental health officers, and allergen information on your website may be reviewed as part of that process. Being prepared means more than having correct information displayed — it means being able to demonstrate how that information is maintained, where it comes from, and what processes ensure it stays accurate. Inspectors are increasingly aware of the specific requirements for online food businesses and will look at your product pages as part of their assessment.
Maintain a documented record of the allergen information for each product, cross-referenced to the recipe or formulation it is based on and the supplier declarations that underpin it. If you update a recipe or change a supplier, that change should be recorded with a date alongside the corresponding allergen review. This audit trail does not need to be complex — a well-maintained spreadsheet or a dedicated allergen management system is sufficient — but it does need to exist and be kept current. Being able to produce this documentation quickly during an inspection demonstrates that your allergen management is systematic rather than ad hoc.
Your Shopify store's allergen display should be consistent with this internal documentation. Discrepancies between what your product pages show and what your internal records state are a significant red flag for inspectors and represent the kind of error most likely to cause customer harm. Using structured tools — whether Shopify metafields, Allergen Matrix, or a dedicated labelling app — reduces the risk of these discrepancies by centralising allergen data rather than scattering it across individually edited product descriptions.
Summary
Handling allergens correctly on your Shopify store requires both the right display tooling and the right internal processes. Display allergen information prominently on every product page, keep it accurate through disciplined recipe and supplier management, and reiterate it at every key point in the customer journey.
Try SafeServe free on the Shopify App Store and give your customers the allergen information they need to buy with confidence.
Try Allergen Matrix free at saltai.app — no credit card required.
SaltAI Team
SaltAI builds focused Shopify apps for food merchants and general merchants. Every app is tested in production at a real food store — including Vanda's Kitchen — before it ships.