Show allergens on featured products and lists

SAKU Food Labeling: How to show allergens on featured products and product lists

  • Clearly show food labels and allergens on product pages

  • Search products by conditions like “egg-free, dairy-free”

  • Bulk add, update, and export with CSV

NEW
NEW
SAKU Food Labeling: How to show allergens on featured products and product lists

App features

[Basic plan]
• Show food labeling (name, ingredients, net quantity, storage method, and more) and nutrition facts on product pages
• Supports the 29 specified allergenic ingredients (Japan)
• Product search by multiple conditions such as “egg-free, dairy-free”
• Bulk add, update, and export with CSV
• Add shared ingredients to multiple products with the ingredient master
• $4.99/mo or $49.9/yr (7-day free trial)

Note
Please do the final check of the displayed content yourself. The app does not judge or guarantee legal compliance, and does not calculate nutrition values.

This article explains how to show a product's allergens in featured products on your home page, and in the product lists of collections and search results.


In this article

  • How to show allergens in featured products (block)
  • How to show allergens on product cards in product lists (app embed)
  • How to choose between images and text
  • What to check if allergens don't appear

Note: the "Food label" (食品表示) block (the full food label table) is for product pages only. For featured products and product lists, use the two methods described here. Only the allergens marked as "used" for each product are shown.

Note: the app's admin screens and theme settings are in Japanese. Button and setting names are shown in English, with the Japanese label in parentheses so you can find them.

Where to go: the "SAKU Food Labeling" app → Shopify admin → Online Store → Themes → Customize (theme editor)


What you need before you start

  • The SAKU Food Labeling app installed
  • Products with allergens set (the allergens they use are ticked). For how to set them, see "How to set allergens"
  • "What to show on product pages" set to "Allergens" or "Both" in "Display settings" (with "Food label" only, the settings section in step 3 doesn't appear)
  • On a live store, a paid plan (needed for the automatic display on product cards)


Overview

  1. Add the "Allergens (product / featured product)" block to featured products (theme editor)
  2. Turn on the app embed to show allergens on product cards in product lists (theme editor)
  3. Choose images or text in "Display settings" (the app)

You can use step 1 or step 2 on its own. Choose according to where you want allergens to appear.


1️⃣ Add the "Allergens (product / featured product)" block to featured products

  1. Open your home page in the theme editor.
  2. In the left menu, open the "Featured product" section, then choose "Add block" → "Apps" → "Allergens (product / featured product)" (アレルゲン(商品・特集商品)).
  3. Click "Save" at the top right.
  4. If the featured product on your store's home page shows its allergens, you're done.

When you add the block, it is automatically linked to the product of the section it's in (normally, don't change the "Product" (対象商品) setting).

Blocks added with an older version of the app may show the message "[SAKU Food Labeling] Not shown because no product is set." (【SAKU 食品表示】対象商品が未設定のため表示していません。). Only in that case, click the icon (dynamic source) to the right of "Product" (対象商品) in the block settings and connect the section's product.

  • You can change the heading, icon size, text style (chip / plain), colors, spacing and more in the block settings. Whether to show images or text is set in "Display settings" (食品表示の設定) (see step 3).
  • You can also place this block on product pages.


2️⃣ Show allergens on product cards in product lists (app embed)

  1. In the app's left menu, open "Display settings" (食品表示の設定). In the section "What to show in featured product sections, featured collections and collection lists" (『「特集商品セクション」「特集コレクション」「コレクション一覧」で表示する内容』), go to "Icons in product lists" (商品一覧のアイコン表示) and click "Set up icons in product lists" (商品一覧のアイコン表示を設定).
  2. "App embeds" opens in the theme editor. Turn on "Allergen auto display (collection/search/home)" (アレルゲン自動表示(コレクション/検索/ホーム)).
  3. Click "Save" at the top right.
  4. If the product cards on your store's collection page show allergens, you're done.

Theme editor with the "Allergen auto display" app embed turned on

By default, allergens are shown on collection pages (product lists), featured collections on the home page and similar pages, and search results pages. They are off for related product cards on product pages. You can also choose where they appear in the card (below the product image / at the bottom of the card), the icon size and more.

How it looks in your store (product list)

Allergens shown on product cards in a product list


3️⃣ Choose images or text

In "Display settings" (食品表示の設定), in the section "What to show in featured product sections, featured collections and collection lists", choose "Show as images (icons)" (画像(アイコン)で表示) or "Show as text" (文字で表示) under [Display format] (【表示形式】), then click "Save display settings" (表示設定を保存). The setting applies to both the block and the app embed.

Display format setting

You can also edit the "Allergen note" (アレルゲン表示の注記) here. In the block, it appears below the allergens the product contains. On product cards, it appears when the customer hovers over the card (if you turn on "Also show the note below each card" (注記を各カードの下にも表示する) in the app embed, it is always shown). If what you show is set to "Food label" only, this section doesn't appear.


Troubleshooting

  • Nothing appears in the featured product block
    Check that the allergens used in that product are ticked. Items that are only written in the ingredients text are not shown. If you see "Not shown because no product is set", connect the product as described in step 1.
  • No icons appear on product cards
    Check that the app embed is on and that the pages to show them on are set correctly. Some themes don't let the app find product cards automatically. In that case, enter the product card selector (for example, .card-wrapper) in the app embed's "Card CSS selector (advanced, optional)" (カードのCSSセレクタ(上級者向け・任意)).
  • The product is published but nothing appears
    Only products that are active and published to the Online Store are shown. Changes can take up to about a minute to appear. Also check that you saved the theme, and that you made the settings in your live (published) theme.
  • Allergens suddenly stopped showing on my live store
    If no plan is selected, the automatic display on product cards doesn't work. See "Pricing plans, free trial and development stores".
  • You changed the App Proxy path
    You also need to save the same path in "Display settings" (食品表示の設定). See "About the App Proxy path setting".


Note: this app is a support tool for organizing, displaying and entering food label information. It does not guarantee or determine compliance with Japan's Food Labeling Act or other regulations. Please check the final content of your labels yourself.