How to Send Push Notifications to Apple and Google Wallet
How to Send Push Notifications
Push notifications alerting is available only on Apple Wallet cards. For Google Wallet cards, the text of the message will be displayed in the dedicated section, but no push notification will be displayed on the smartphone.
Steps to Send Push Notifications
1. Access the Template Section
Go to the Template section of the passes on the side menu.
2. Select the Pass Template
Click on the More actions icon of the pass template you wish to send a message to, and in the drop-down list, click on Notifications.
3. Compose and Send the Notification
Fill in the message and click the Send Notification button.
4. Update Messages in Multiple Languages (if applicable)
If you manage multiple languages, don’t forget to update messages in various languages:
5. Finalize Sending the Notification
Click the Send Notification button.
The blue section shows the actual number of recipients, which means those who have your cards installed on their phones.
Additional Information
For more details about the notification conditions and capabilities, please refer to the Shopify Liquid Project.
Examples of Sending Notifications to Specific Stores
Notification for a Specific Store
{%- if storeId == "101" -%}
Your store is reopening! Come and visit us 🥰
{%- elsif storeId == "102" -%}
Your store is reopening! Come and visit us 🥰
{%- endif -%}
Notification to a List of Stores
Example:
{%- assign storeIds = "201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230" | split: "," -%}
{%- for o_storeId in storeIds -%}
{%- if o_storeId == storeId -%}
Until 31.03, for every purchase over $10, all proceeds will be donated to charity!
Visit us in-store to take advantage of this offer! ****
{%- endif -%}
{%- endfor -%}
Notification for One Store
{%- if storeId == "103" -%}
Our new concept store is now open in Downtown! Come and discover it at 123 Main Street 🥰
{%- endif -%}
Notification for Multiple Stores with Different Messages
{%- if storeId == "104" -%}
Happy Hours Sale! Get an extra 10% off on discounted items this Wednesday from 4 PM to 8 PM with complimentary snacks and drinks.
{%- elsif storeId == "105" -%}
Happy Hours Sale! Get an extra 10% off on discounted items this Wednesday from 4 PM to 8 PM with complimentary snacks and drinks.
{%- elsif storeId == "106" -%}
Happy Hours Sale! Get an extra 10% off on discounted items this Wednesday from 4 PM to 8 PM with complimentary snacks and drinks.
{%- endif -%}