Skip to main content

Performance issue in hikashop website

More
12 years 5 months ago #152432 by anitaagarwal
-- 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.

More
12 years 5 months ago #152435 by Xavier
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.

More
12 years 5 months ago #152510 by anitaagarwal
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.

More
12 years 5 months ago #152559 by anitaagarwal
Or is it because of custom item field for weight?

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

More
12 years 5 months ago #152524 by Xavier
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.

More
12 years 5 months ago #152595 by anitaagarwal
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.

More
12 years 5 months ago #152651 by Xavier
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.214 seconds
Powered by Kunena Forum