Persistent Cart — Theme Compatibility Embed

Persistent Cart — Theme Compatibility Embed

Theme compatibility is an optional app embed that helps R+ Persistent Cart work smoothly with themes and apps that update the cart while a page is loading.


What it does

When a customer logs in, R+ Persistent Cart restores their saved cart, and if you’ve enabled merging, adds the items they picked as a guest.

Some themes and apps also work with the cart as soon as a page opens. For example, they may save tracking or analytics data to the cart, add fees, or run custom theme code. Theme compatibility makes sure the customer’s saved cart is restored first, before these scripts start. The customer then sees the right cart, with all their items, on every device.


When to turn it on

We recommend turning it on if:

  • your theme has custom code that works with the cart;
  • you use apps that update the cart on page load, such as tracking, analytics, fees or upsell apps;
  • our support team recommended it for your store.

If you’re not sure, you can contact us and we’ll check your store.


How to turn it on

  1. In your Shopify admin, go to Online Store → Themes.
  2. Click Customize on your live theme.
  3. In the left sidebar, open App embeds.
  4. Make sure Persistent cart is turned on.
  5. Turn on Theme compatibility.

  6. Click Save.

Theme compatibility works together with the main Persistent cart embed, so both need to be on.


What your customers will notice

Nothing changes visually. Their saved cart is simply restored at the very start of the page load. All your existing settings, such as Merge guest cart on login, Logout behavior and Cart update behavior, work exactly as before.


FAQ

Will it slow down my store?

No. It’s a very small piece of code that runs only for logged-in customers with a saved cart.

Do I need it if my store works fine without it?

No, it’s optional. You can turn it on at any time if your theme or apps change.

Can I turn it off?

Yes. Turn off Theme compatibility in App embeds and click Save.


Do you need help?

If you have any questions or run into issues, please contact us — we’re happy to help.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us