Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Pass template editor

Edit a pass template in the admin console: the editor header, the General, Apple and Google tabs, saving and pushing updates, and the live preview.

A pass template describes, once, how every pass issued from it looks and behaves in Apple Wallet and Google Wallet: colors, images, fields, barcode, notifications and the data that feeds them. The pass template editor is the admin console screen where that description is maintained. Any change saved there applies to every pass of the template, either at the next update of each pass or immediately when the change is pushed.

The editor is opened from Wallet → Templates (page "Pass templates"), by selecting a template in the list. A new template is created first, as described in How to create a template.

Real-world examples
  • A fashion retailer changes the strip image of its customer card for the sales season, previews it on a real member's pass, then saves and pushes the update to every card already in a wallet.

  • A coffee chain sets its stamp card to 10 stamps, uploads one image per stamp count and links a "Free drink" reward that is granted when the card is full.

  • A concert organizer adds the venue's Wi-Fi network and a "Get directions" link to its event ticket, and checks in the preview that the ticket still meets Apple's conditions for the event guide.

  • A marketing team adds a tier metadata entry to a loyalty template so that passes can be filtered by tier in the pass list and targeted by automations.

How the editor is organized

The header of the General tab identifies the template and gives its context; the Apple and Google tabs show the name and type only:

  • the template name, which is set at creation and cannot be changed in the editor (to use another name, duplicate the template under the new name);

  • the type of the template (Customer card, Stamp card, Event ticket, Gift card, Offer or Generic);

  • the number of passes issued from the template, which is the number of passes a pushed update reaches;

  • tags, added with "Add a tag", to group and find templates in the list;

  • the creation or last modification date.

Header of the pass template editor showing the template name, the Stamp card type, the number of passes, the tags and the last modification date
The editor header shows the template name, its type, the number of passes it reaches and its tags.

Tabs

The settings are split into three tabs, because Apple Wallet and Google Wallet use different models and the platform-independent settings are shared by both:

Tab
What it holds
Page

General

Settings shared by both wallets: download page, stamps (stamp card), metadata, preview data, the title shown in the admin console and advanced options.

Apple

Everything Apple Wallet renders: style and layout, barcode, colors, images, fields, locations, NFC, featured actions, semantic tags.

Google

Everything Google Wallet renders: class settings, barcode, security, colors, images, texts, layout, links, Smart Tap, messages.

On the Apple and Google tabs, a section that holds nothing yet is shown as an Add … button (for example Add Back fields), which opens it. Each tab has a live preview next to the form. Fields on every tab accept fixed text or a Liquid expression, and localizable fields can be translated (see Expressions and translations). The preview, the data it uses and the checks it runs are described in Preview and preview data.

Settings by type

The type of a template is chosen at creation and cannot be changed afterwards, because it decides which Apple pass style and which Google pass class are used, and therefore which settings exist. To use another type, a new template is created.

Type
Apple Wallet style
Google Wallet class
Specific settings

Customer card

Store card (poster layout optional)

Loyalty

Google: program name, points, rewards tiers, account.

Stamp card

Store card (poster layout optional)

Loyalty

General: stamps goal, behavior when reached, reward benefit. Apple: one image per stamp count.

Event ticket

Event ticket (poster layout optional)

Event ticket

Apple: poster artwork, event guide, action links, additional info fields. Google: event, venue, placements, confirmation code, face value.

Gift card

Coupon

Gift card

Google: merchant name, card number (required), balance and PIN.

Offer

Coupon

Offer

Google: title, short title, provider, redemption channel, fine print, title image.

Generic

Generic (poster settings always shown; drawn as a poster once an artwork is set)

Generic

Google: title, header, subheader, expiry and upcoming notifications.

Each type is described from a design point of view in Pass types & templates.

Save and push changes

Changes stay in the browser until they are saved. Each tab has its own Save button and saves its own part of the template, so a change on the Apple tab is saved from the Apple tab. Save stays disabled ("No changes to save") until something has changed on the tab.

Saving updates the template, not the passes already in a wallet: each existing pass takes the new version at its next update, while new passes use it straight away. To make a change appear on phones without waiting, the Save button of the Apple and Google tabs also offers Save & push update. It saves the tab, then sends an update to every pass of the template. The confirmation shows the number of passes to update and an estimated time, and its advanced settings set the throughput of the update. Save & push update stays available with nothing to save, to push the current template again; it requires the permission to push updates in bulk. A user without it can still save; passes then update at their next update, or a user with the permission pushes the update.

With a large number of passes, save the change without pushing it, then push the update outside peak hours, for example at night, to limit the impact of a mass update.

A "Template saved." message confirms a save. "Save operation failed" means the template was not saved.

Save button of the Apple tab opened on its two actions, Save and Save & push update
On the Apple and Google tabs, the Save button opens the choice between Save and Save & push update.

To apply a different look to some passes without creating another template, use Wallet pass themes. To translate fields, see How to translate a template.

Validate a change before saving

A short routine avoids most surprises on phones:

  1. Select a realistic preview data entry, or a real pass, in the preview (see Preview and preview data).

  2. Look at the change on both wallets and in the views where it appears (for example the pass details or the notification).

  3. Open the checks of the preview and resolve every Blocking item; review the Check items.

  4. Save, then use Save & push update if the change must appear on phones immediately.

FAQ

Why does a saved change not appear on passes already in a wallet?

Saving updates the template, not the passes already in a wallet. Each existing pass takes the new version at its next update, while new passes use it straight away. To make the change appear on phones without waiting, use Save & push update.

Why is Save & push update not available?

Save & push update requires the permission to push updates in bulk. Without it, a user can still save: passes then update at their next update, or a user with the permission pushes the update.

Can the type of a template be changed?

No. Create a new template of the right type, then move passes to it from each pass page if needed.