Important note: If you installed our Shopify app before April 22, 2020, please install the app again from your settings (click on "Setup code", then "Install on Shopify").
These properties can be used in your display scenario or to add dynamic content to your popups.
Now, let's have a look at the properties:
Definition: this property is equal to false when the product can’t be purchased.
Use cases: display a popup on products that are out of stock to push alternative products.
Definition: this property contains the price of the item currently being viewed.
Use cases: display a popup with the phone number of your support team on expensive items.
Definition: This property recalls all stock variants of the product currently viewed.
Use cases: Display a popup on soon-to-be out-of-stock items to drive a sense of urgency.
Definition: this property contains a list of the tags associated with the product currently being viewed.
Use cases: display a coupon on all the product pages associated with a specific tag.
Definition: returns the name of the coupon code applied to the cart.
Use cases: display a popup confirming that a coupon code has been applied.
Definition: this property returns the number of items inside the cart.
Use cases: Encourage your visitors to add more products to their cart.
Definition: this property contains the value of your visitor’s cart.
Use cases:display a popup that triggers when your visitors haven’t reached the free shipping threshold.
The properties that follow are applicable to logged-in users only.
Definition: the property is equal to true when your customer accepts marketing.
Use cases: you can create an email popup with the condition “customer.accepts_marketing is false” to invite your existing customers to subscribe to your newsletter.
Definition: the property is equal to true when the visitor is logged in. It's equal to false if the user is logged out (she has no account or is logged out)
Use cases: invite your logged-out users to create an account.
Definition: this property returns the date of the last order placed by the customer.
Use cases: create a reactivation popup for your clients who haven’t purchased in a while.
Definition: this property returns the total number of orders a customer has placed.
Use cases: display a VIP popup for your customers who have placed more than 5 orders.
Definition: this property contains all the tags associated with your client.
Use cases: create a popup for your “VIP” customers.
Definition: this property returns the total amount spent on all orders.
Use cases: create a popup for the customers who have spent a certain amount on your shop.
Are you having a hard time getting a popup to show?
To check the values of the different properties, follow these steps:
- Open your website in Chrome
- In Chrome's menu, click on "More tools" > "Developer Tools"
- Open the console tab
- Copy and paste the following code and press "Enter"
- You'll get the values of the different properties: