Add to Cart AJAX still refreshes page?

  • Posts: 2
  • Thank you received: 0
12 years 5 months ago #53676

Hi,

I turned "use Ajax add to cart where possible" and selected "always stay on the same page" in "After a product is added to the cart". Also i added the Add To Cart button on the product category listing as described in the this forum.

Still the page refreshes after adding a product to the cart, i can see the cart being updated through ajax just before the refresh, how can i avoid the page being refreshed?

Only when i choose "Stay and display a Pop-up Notice" the page does not refresh, I find the pop-up not so useful for my site.

Can I correct this? Thanks a lot :blush: for the great program and support so far.

Please Log in or Create an account to join the conversation.

  • Posts: 82818
  • Thank you received: 13361
  • MODERATOR
12 years 5 months ago #53733

Hi,

No, that cannot be changed. It is necessary to update the page for various reasons.

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
12 years 5 days ago #75593

maybe this will be useful for somebody - you can enable ajax button and popup window, and then hide popup adding those lines in your css:

#sbox-overlay {
display: none;
}
#sbox-window {
display: none;
}

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum