Want To Add Extra Images Per Product Variation? Download This Free Plugin

Add to cart reloads page (should be made with AJAX)

Katja Mayer

When i select variations through swatches and add to cart the page reloads instead of adding to cart with AJAX. What would i need to configure in order to get add to cart working with AJAX?

Hakik Zaman

Hi Katja,

Thanks for reaching out to us. Can you please give us an exact product link to check it for you?

You can also give us temporary admin access to your site. It will help us to check your settings and solve the issue for you.

You can add new users by going to Users > Add New set the user and password for us, set the role to admin and set the info here.

And add your site URL, login username, and password in the site login area. Follow this guideline: https://www.useloom.com/share/27c1f2ac633c4060b2da883d946107d7

Hope to hear from you soon!

Thank You

Hakik Zaman

Hi Katja,

Ajax cart is not a feature of our plugin. If it was working before installing our plugin, Could you disable our swatches plugin and check if is it working without our plugin or not?

Thank you

Katja Mayer

Hi Hakik,

I found what was causing this. We had a code that enabled the AJAX add to cart on single product page, but only if the post status was publish. Our test product had the post status private.

So this ticket can be closed.

Thank you!