How to reload page when click continue shopping

  • Posts: 27
  • Thank you received: 0
8 years 9 months ago #230119

-- url of the page with the problem -- : www.nature2u.co.nz/index.php
-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.4.34

Hi lovely support team,

I have a small issue with adding product into minicart at the moment. When I add a product into cart, the minicart still shows 0 even it already has the product inside. I understand it might because my template doesn't support Ajax. So I turned off Ajax which solved the problem.




But after I turned off Ajax, I can't choose the Variants as every time I hit add to cart it refreshes the page and set the variants back to defualt. So I have to turn Ajax off to make the variants work.

Now I got the trick weather I should turn Ajax off or not as either way my website have issue. I am thinking to leave the Ajax on so the variant works, then I can reload the page after user hit continue shopping button so the minicart gets updated as well. Could you tell me how to configure the code to make it work please? Thanks heaps.

Attachments:

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 9 months ago #230218

Hi,

The fact that the add to cart doesn't work with the ajax is turned off is also a problem coming from your template I guess.

There is no option to make the page refresh after the ajax add to cart. Usually, you just turn off the ajax setting and that will do that.
Change the option "after a product is added to the cart" to "always redirect to the checkout" and the page will change to the checkout after the ajax add to cart and thus the number in the cart display will refresh.

Of course, the best would be to contact your template provider so that they can help you with these problems.

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

Time to create page: 0.069 seconds
Powered by Kunena Forum