Skip to main content

Inveterate Memberships Smart Cart™ App

Integrate Inveterate's membership program into Smart Cart to offer exclusive benefits, enhance customer loyalty, and increase AOV.​

Christian Sokolowski avatar
Written by Christian Sokolowski
Updated over 2 weeks ago

What is Inveterate?

Inveterate is a platform that enables merchants to create and manage paid membership programs. By offering exclusive perks such as discounts, free shipping, and early access to products, Inveterate helps businesses build stronger relationships with their customers and drive repeat purchases.


Smart Cart App Overview

The Inveterate Smart Cart™ App allows you to seamlessly incorporate membership enrollment into your Rebuy Smart Cart. This integration enables you to:​

  • Promote your membership program directly within the cart.

  • Allow customers to join the program during checkout.

  • Automatically apply member benefits to eligible purchases.

  • Enhance the shopping experience by highlighting exclusive member perks.


Installation Instructions

Prerequisites

Before setting up the Inveterate app in Smart Cart, ensure you have:

  • An active Inveterate account.

  • Configured your membership program within the Inveterate platform.

  • Access to your Inveterate API credentials.​

Additional details can be found in Inveterate's help center.

Smart Cart App Installation

  1. Obtain API Credentials:

    • Log in to your Inveterate dashboard.

    • Navigate to the API settings section.

    • Generate or retrieve your API key and secret.​

  2. Connect Inveterate in Rebuy:

    • Navigate to the Integrations tab in your Rebuy admin.

    • Select Inveterate.

    • Click Connect Inveterate and enter your API credentials.​

  3. Configure Smart Cart:

    • Go to Smart Cart Settings and open the cart you wish to modify.

    • Navigate to the section where you want to add the component.

    • Click Add Component within that section.

    • Select Add Smart Cart App.

    • Search for "Inveterate" and click Install.

    • Customize the display settings and messaging as desired.

    • Toggle the app to Active and click Save.

    • Position the app within your cart as desired.


How to Hide the Inveterate Membership Upsell for Existing Members

By default, the Inveterate Smart Cart™ App displays a membership upsell to all shoppers—including those who are already members. If you'd like to hide this upsell from existing members, follow these steps:

Step 1: Tag Existing Members in Shopify

Assign a specific Customer Tag to users who already have an active Inveterate membership.
For example, you can use: inveterate-subscriber.

💡 You can customize the tag name to match your setup. Just be consistent with the tag you use in the next step.

Step 2: Add Custom Code to Your Shopify Theme

  1. In your Shopify Admin, go to Online Store > Themes.

  2. Click Actions > Edit Code on your current theme.

  3. Open the theme.liquid file.

  4. Scroll to the bottom and paste the following snippet just before the closing </body> tag:

  <!-- BEGIN: Hide Rebuy + Inveterate Smart Cart Upsell when 'inveterate-subscriber' tag is present-->

{% if customer.tags contains 'inveterate-subscriber' %}
<script>
document.addEventListener('rebuy:smartcart.ready', (event) => {
const style = document.createElement('style');
style.innerHTML = '.inveterate-rebuy.inveterate--visible { display: none !important; }';
document.head.appendChild(style);
});
</script>
{% endif %}

<!-- END: Hide Rebuy + Inveterate Smart Cart Upsell when 'inveterate-subscriber' tag is present-->

🔁 Replace inveterate-subscriber with your own customer tag if you're using a different one.

Step 3: Test the Functionality

  1. Log into a customer account that has the membership tag.

  2. Visit your storefront and open the Smart Cart.

  3. The Inveterate upsell should now be hidden for that customer.


Customer Examples

Here's how the Inveterate membership prompt appears within the Smart Cart:​

Above Subtotal

Below Subtotal

Below Checkout


FAQs

Can I customize the membership benefits displayed in the cart?

Yes, you can tailor the messaging and benefits showcased in the Smart Cart to align with your membership program's offerings.

How are member benefits applied during checkout?

Once a customer enrolls in the membership program, eligible benefits are automatically applied to their purchases during checkout.

Did this answer your question?