If you set up our Shopify app after April 22, 2020, you have access to built-in Shopify properties.

Note: If you installed it before April 22, 2020, please reinstall the application from your settings to set up these properties.

Let’s have a look at your options.

Product properties

product.available

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.

product.price

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.

product.total_inventory_quantity: 

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.

product.tags: 

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.


Cart properties

cart.discount_code

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.

cart.item_count: 

Definition: this property returns the number of items inside the cart.
Use cases:
Encourage your visitors to add more products to their cart.

cart.total_price: 

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.


Customer properties

The properties that follow are applicable to logged-in users only.

customer.accepts_marketing:

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.

customer.is_logged_in

Definition: the property is equal to true when the visitor is logged in.
Use cases:
invite your logged-out users to create an account.

customer.orders_count: 

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.

customer.last_order.created_at: 

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.

customer.tags: 

Definition: this property contains all the tags associated with your client.
Use cases:
create a popup for your “VIP” customers.

Did this answer your question?