Skip to main content

Resolve Cart Update Issues on Recommendation Pages

Refer to this guide if your cart does not immediately update with products added from a recommendation page.

Adarsh Subramaniam avatar
Written by Adarsh Subramaniam
Updated over a week ago

When a customer completes a quiz and adds a recommended product to their cart, Okendo automatically updates the cart icon and opens the cart drawer for supported Shopify themes.

However, if your store uses a theme that is not fully supported or uses additional cart plugins or custom cart integrations, development assistance may need to make a few updates to ensure the cart updates as expected.

When are additional updates needed?

You might need some development help if:

  • The cart icon isn’t updating after a customer clicks “Add to Cart”

  • The cart drawer doesn’t open

How to fix update issues

We trigger a custom event whenever a product is added to the cart from the quiz results page. Developers can use this event to update the cart UI or open the cart drawer, depending on your setup.

👉 For developer instructions and sample code, refer to our technical guide here:
Installing Quizzes with Custom Carts – Okendo Developer Docs

If you are are looking to hook up your own "add to cart" functions you should also toggle off the Automatically Refresh Cart setting under Configure > Recommendations Page. This setting allows Okendo to replace cart-related sections like the cart drawer and cart icon so they refresh correctly when a product is added to cart. However, if you are using an unsupported theme, cart customizations or third-party plugins, this behavior can cause issues with your set up.

Contact our support team if you need further assistance in implementing any of the required changes.

Did this answer your question?