Skip to main content

How to use Shopify properties in display rules

With Shopify properties, your widget can react to what is happening in the store right now: the cart value, the product being viewed, or the customer’s status.

Before you start

Shopify properties are available only for Shopify stores connected to Claspo. If you do not see them in display rules, check that your Shopify store is connected to Claspo. If the store is connected but the option is still missing, contact our support team.

What you can do with Shopify properties

Shopify properties let Claspo use store data in display rules. You can target visitors by what is in their cart, which product they are viewing, or what Shopify knows about them as customers.

Cart properties

Use cart properties when the widget should depend on the visitor’s current cart.

Property

What it means

Example use case

Cart total value

The current total value of the cart.

Show a free shipping reminder when the cart is close to your threshold.

Number of cart items

How many items are in the cart.

Show a “Buy 2, get 1 free” offer after the first item is added.

Products titles in cart

Product titles currently added to the cart.

Mention the cart item in an exit-intent message.

Product types in cart

Product types represented in the cart.

Suggest a related product based on the type already added.

Product tags in cart

Shopify product tags from items in the cart.

Show a promo only when the cart includes products with a seasonal tag.

Product vendors in cart

Vendors of the products in the cart.

Show a vendor-specific offer or shipping message.

SKUs in cart

SKUs currently present in the cart.

Trigger an upsell when a specific SKU is added.

Cart discount codes

Discount codes applied to the cart.

Show a message confirming that a discount code is active.

Product properties

Use product properties when the widget should react to the product page the visitor is viewing.

Property

What it means

Example use case

Product name

The name of the current product.

Show a product-specific offer or message.

Product type

The type of the current product.

Show different offers for different categories, such as accessories or apparel.

Product tags

Tags assigned to the current product in Shopify.

Run a promo only for products tagged as “new” or “summer sale”.

Product availability

Whether the current product is available or sold out.

Show a back-in-stock form when the product is unavailable.

Product price

The price of the current product.

Show an offer only for products above a certain price.

Product is on sale

Whether the current product has a sale price.

Hide an extra discount popup for products already on sale.

Customer properties

Use customer properties when the widget should depend on the visitor’s Shopify customer data.

Property

What it means

Example use case

Customer logged-in status

Whether the visitor is logged in to an account.

Show one message to guests and another one to logged-in customers.

Customer accepts marketing

Whether the customer accepts marketing emails.

Hide an email signup popup from customers who already accept marketing.

Customer orders count

How many orders the customer has placed.

Show a loyalty offer to returning customers.

Customer total spent

The total amount the customer has spent in your store.

Show a VIP offer to high-value customers.

Customer tags

Tags assigned to the customer in Shopify.

Target customers tagged as VIP, or loyalty members.

Customer purchased SKUs

SKUs the customer has purchased before.

Promote a refill, accessory, or related product after a previous purchase.

Where to find Shopify properties in Claspo

You can add Shopify properties conditions while setting up where the widget should appear.

1. Create a new widget or open an existing one.

2. Open Audience & Triggering on the right panel.

3. Open the On pages section.

4. Under Include pages that, click Add condition.

5. Select the Shopify condition you want to use.

Example: nudge shoppers to add more items

Use this setup when you want to increase the cart value after a visitor adds the first product. For example, you can show a “Buy 2, get the 3rd free” offer when the cart contains 1 item.

  1. In the On pages section, click Add condition under Include pages that.

  2. Select Number of cart items.

  3. Set the condition to equals and enter 1.

  4. Click Done to save the rule.

With this rule, the widget appears after the first item is added to the cart. This gives the visitor a clear reason to add more products instead of checking out with a single-item order.

Shopify properties can also be used inside the widget content through Merge tags. This lets you show dynamic Shopify properties in the pop-up text, not only use it in display rules. For example, you can mention the current product, cart value, or customer-related data directly in the message.

To learn how this works, see How to use Shopify properties in Merge tags.

Did this answer your question?