Performance issue in hikashop website

  • Posts: 9
  • Thank you received: 0
10 years 3 days ago #152432

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

We recently developed a website ( www.egrammandi.com ) using hikashop component on joomla. When 'Add to Cart' is click , it refreshes the complete page.

On click on 'Add to Cart' , it goes to egrammandi.com/index.php/product/updatecart and then refreshes the page.

Kindly provide the solution of this issue.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 3 days ago #152435

Hi,

That's a normal comportment, when adding to cart the controller product is called and the task updatecart in that controller is executed.

If you don't want that the whole page reload, you have to enable the "Use AJAX when possible for add to cart buttons" option in Configuration > Main > Advanced.

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

  • Posts: 9
  • Thank you received: 0
10 years 3 days ago #152510

Thank you for quick response.

I have enabled the option 'Use AJAX when possible for add to cart buttons' but still it refreshes page every time when product is added to the cart.

Is there anything wrong in category list module?

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

  • Posts: 9
  • Thank you received: 0
10 years 2 days ago #152559

Or is it because of custom item field for weight?

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

  • Posts: 13201
  • Thank you received: 2322
10 years 2 days ago #152524

Hi,

As I can see on your website, you can change values in the products listing page, this is not available in HikaShop by default.
So you have made an override, and I think that it's this override which cause the reload of the whole page.

Thanks to edit it or ask to the developer which have implemented this option to improve that in order to use ajax.

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

  • Posts: 9
  • Thank you received: 0
10 years 2 days ago #152595

In my another website ( www.mairaoutfits.com/ ), page is not reloading.

I am using same custom item field for weight in both the websites.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 2 days ago #152651

Hi,

I was thinking that it was a characteristic and there was view edition on it in order to have it in the product listing.
In all cases, the page is reloading too on the other website. You can see it thanks to the loading icon in your browser, or by using the browser console.

Thanks to try without this custom field, but I think that it's related.

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

Time to create page: 0.080 seconds
Powered by Kunena Forum