Before you start
- Decide which information you want to fill in for each banner.
- Ask your theme developer to support your custom banner type before you use it on your storefront. Share the SDK rendering guide.
- For translated metaobject content, create a Shopify metaobject definition with Storefront access enabled. See Create a banner type.
System banner types
Link
Use Link for an image with an optional click-through URL. You cannot edit or delete this built-in type. Banners created before custom types keep their previous behavior.Moast Widget
Enable the Moast integration to select a published widget from your store. Layers manages the type, so you cannot rename it, change its fields, or delete it. Your theme developer can use the widget’s embed content to display it. See the SDK rendering guide for technical details. If you delete a widget or disable the integration, its reference no longer resolves. Disabling the integration keeps your banner configuration for when you enable it again.Product- or collection-specific widgets only render on their corresponding pages. Use them in rules for those pages.
Custom banner types
Create a custom type when you need more than an image and a click-through URL. For example, you can add an end date to a countdown promotion or select a product for a spotlight banner. Each type has:- Name — the label you see when you select a type for a banner.
- Slug — a permanent identifier your theme developer uses to recognize the type. Layers derives it from the original name; renaming the type does not change it.
- Allowed Modes — Inject, Overtake, or both. These control how inline banners interact with products, separately from choosing a hero or inline placement.
- Fields — the ordered inputs you fill in for each banner. You can make fields required and set options such as minimum and maximum values.
Field types
You can use a list for most field types and set a minimum and maximum number of items. Structured data, rich text, multi-line text, boolean, money, ID, and language fields do not support lists.
Reference resolution
For product, collection, and variant references, you select a resource in the dashboard and Layers sends its storefront details to your theme. Layers leaves out unpublished product and variant references: it omits a single reference field or removes unavailable entries from a list.Metaobjects and translated content
Each Metaobject field is locked to one Shopify metaobject definition. You choose the definition when you configure the field, then select an entry when you edit a banner. Both single values and lists use that same definition. The definition must have Storefront access enabled in Shopify so the Storefront API can access it. Your storefront receives the entry’s Shopify identifier, definition type, handle, display name, and fields. Layers translates the entry’s text and display name for the shopper’s language and market. It uses a market-specific translation first, then a language-wide translation, then the original text for any field without a translation. References inside the selected entry remain Shopify identifiers; Layers does not expand those nested references. Layers leaves out draft or deleted entries and entries whose definition no longer allows Storefront API access. It omits a single reference field or removes unavailable entries from a list. It also leaves out entries that do not match the field’s selected definition.Text you type directly into banner text fields is not translated. Put copy you want to translate in a Shopify metaobject and select that entry instead.
What your storefront receives
Each slot contributes at most one banner: the first matching conditional banner in priority order, or the eligible default if none match. The banner supplies its images, type, and saved field values; the slot controls its position and size. Your theme chooses a renderer for the selected type and fills it with the saved values. See the Browse API reference and SDK rendering guide for implementation details. Tracking identifies the individual banner displayed, not its slot.Editing and deleting types
Renaming a type or reordering its fields is safe. Removing a field or changing its type drops the affected saved values from banners. To keep your content, add the replacement field first, update each banner, then remove the old field. You can delete a custom type only after you remove it from every banner that uses it. You cannot delete the built-in Link type.Limits and behavior
- System types are managed by Layers. Custom types are unlimited.
- System names reserve their identifiers. Layers adjusts a custom type’s identifier if it conflicts with a built-in type.
- Changes refresh affected rules. Editing a type refreshes the rules that use it for subsequent browse responses.
- Config history records banner-type changes alongside rule and banner changes.
Troubleshooting
You cannot select a metaobject definition. Enable Storefront access for the definition in Shopify and allow time for Layers to sync it. Definitions without access cannot be selected. Your translations have not appeared yet. Confirm that you saved them in Shopify Translate & Adapt or your translation app. Updates can take a few minutes to reach your storefront.Next steps
- Create a banner type.
- Add a banner to a merchandising rule.
- Learn how banner injection works.
- Share the SDK rendering guide or Liquid rendering guide with your theme developer.