Push Notification
Overview
This documentation will guide you through setting up and using the Push Notification feature in your Shopify store. This feature allows you to send notifications to customers for various order events including creation, updates, cancellation, deletion, fulfillment, and payment, as well as abandoned cart reminders.
Table of Contents
Accessing Push Notification Settings
Configuring OneSignal Integration
Setting Up Notification Messages
Adding Dynamic Variables to Notifications
Enabling Push Notifications on Your Theme
Understanding the Dashboard Features
1. Accessing Push Notification Settings
Step 1: Navigate to Push Notification Settings

Log in to your Shopify admin panel
Go to the "Apps" section
Open the installed WebToNative app
Click on "Push notification" in the app menu
Step 2: Understand the Available Menu Options
After clicking on "Push notification," you'll see the following sub-menu options:
Dashboard
Notification configuration
Abandoned cart
History
OneSignal configuration

2. Configuring OneSignal Integration

Step 1: Access OneSignal Configuration
From the Push notification menu, click on "OneSignal configuration"
You'll see a screen with three main fields:
Enable App Notification (toggle switch)
OneSignal Id (text input)
OneSignal Key (text input)
Step 2: Enter OneSignal Credentials
Toggle "Enable App Notification" to ON
Enter your OneSignal Id in the designated field
Enter your OneSignal Key in the designated field
Click "Save" to store your configuration
Step 3: Get OneSignal Credentials (If Needed)
If you don't have your credentials, click the "Don't Know? Steps to follow" link for guidance on obtaining them from OneSignal.
3. Setting Up Notification Messages

Step 1: Access Notification Configuration
From the Push notification menu, click on "Notification Configuration"
You'll see existing notification messages for different order events:
ORDERS CREATE
ORDERS FULFILLED
ORDERS PAID
And potentially others

Step 2: Edit Existing Notification Messages
Click the pencil (edit) icon next to any notification you want to modify
Edit the message text in the provided field
Click "Save" to update the notification
Step 3: Add New Notification Messages
Click the "+ Add Notification Message" button at the bottom of the page
Select the order status from the dropdown menu (e.g., "Order Cancelled")
Enter the notification message in the text field
Click "Save" to add the new notification message
4. Adding Dynamic Variables to Notifications

Step 1: Understand Available Dynamic Variables
When creating or editing notification messages, you can insert dynamic variables to personalize the content:
To insert a variable, type "%" in the text field
A dropdown will appear showing available variables:
id
admin_graphql_api_id
app_id
browser_ip
(and potentially others depending on the context)
Step 2: Use Dynamic Variables in Messages
Start typing your message (e.g., "The order %")
Type "%" where you want to insert a variable
Select the desired variable from the dropdown (e.g., "id")
The variable will be inserted as %id% in your message
Complete your message (e.g., "The order %id% has been canceled")
Step 3: Save Your Configuration
Click the "Save" button to store your notification message with dynamic variables.
5. Enabling Push Notifications on Your Theme
Step 1: Access Theme Customization


Go to Online Store > Themes in your Shopify admin
Click "Customize" next to your current theme
Step 2: Enable Push Notification Block

Navigate to the App Embeds section in the theme editor
Find the Push Notification block
Enable the block by toggling it ON
Save your changes
6. Understanding the Dashboard Features
Dashboard

Displays usage statistics showing how many notifications you've sent and your monthly limit.
Example: "80% You have sent 86 Unlimited notifications. This balance will reset every month."
Notification Configuration

Allows you to set up and manage notification messages for different order events.
Abandoned Cart

Configure settings for abandoned cart notification features.
History

View a complete history of all sent notifications in a tabular format with pagination.
OneSignal Configuration

Manage your OneSignal integration settings for push notifications.
Important Notes
Notifications will only be sent to users if you have configured the corresponding order status with a message.
The monthly notification limit resets at the beginning of each month.
Make sure to save your changes after modifying any settings.
Test your notifications before deploying them to ensure they work as expected.
By following this documentation, you'll be able to fully configure and utilize the WebToNative push notification feature in your Shopify store, enhancing customer engagement and improving the shopping experience.
Last updated
Was this helpful?