# 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**.

![More actions icon](https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2Fgit-blob-f44f829690bd6bb9595aa72e592444f7d3ff09bd%2Fhow_to_send_push_notifications_to_apple_and_google_wallet_1.png?alt=media)

#### 3. Compose and Send the Notification

Fill in the message and click the **Send Notification** button.

![Send Notification](https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2Fgit-blob-3ad827aa77a99cbb77bbb529eafce85b394558f9%2Fhow_to_send_push_notifications_to_apple_and_google_wallet_2.png?alt=media)

#### 4. Update Messages in Multiple Languages (if applicable)

If you manage multiple languages, don’t forget to update messages in various languages:

![Update Messages in Multiple Languages (if applicable)](https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2Fgit-blob-6c1fc3e2db1ddea486fb3bf0b1127e791ced4510%2Fhow_to_send_push_notifications_to_apple_and_google_wallet_3.png?alt=media)

#### 5. Finalize Sending the Notification

Click the **Send Notification** button.

![Send Notification (2)](https://3566051324-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWLc8AHXW4tdrAXUBfrYF%2Fuploads%2Fgit-blob-f8942df078ed612bb6980af2c1446cb86b990e15%2Fhow_to_send_push_notifications_to_apple_and_google_wallet_4.png?alt=media)

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](https://shopify.github.io/liquid/tags/control-flow/).

#### Examples of Sending Notifications to Specific Stores

**Notification for a Specific Store**

````liquid
{%- 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:**

```liquid
{%- 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

```liquid
{%- 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

```liquid
{%- 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 -%}
````
