- Posts: 2
- Thank you received: 0
Add to Cart AJAX still refreshes page?
- jorishikashop
-
Topic Author
- Offline
Less
More
14 years 4 months ago #53676
by jorishikashop
Add to Cart AJAX still refreshes page? was created by jorishikashop
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.
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.
14 years 4 months ago #53733
by nicolas
Replied by nicolas on topic Re: Add to Cart AJAX still refreshes page?
Hi,
No, that cannot be changed. It is necessary to update the page for various reasons.
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.
13 years 11 months ago #75593
by r3sp
Replied by r3sp on topic Add to Cart AJAX still refreshes page?
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;
}
#sbox-overlay {
display: none;
}
#sbox-window {
display: none;
}
Please Log in or Create an account to join the conversation.
Time to create page: 0.161 seconds