incorrect display when customer is logged in

  • Posts: 220
  • Thank you received: 8
10 years 8 months ago #183840

-- HikaShop version -- : 2.3.3
-- Joomla version -- : 2.5.27
-- PHP version -- : 5.4.33

Hi,

I have a display problem when a customer is logged in.

1. Suddenly the categories listing is expanded: ALL subcategories show. However subcategories should only show after clicking a main category. And certainly not all at the same time. This works fine when you're not logged in.

2. Suddenly the carrousel effect of the latest products module is not working: all slides are shown at the same time, over eac other. You can't switch from one slide to another When you're nog logged in this works fine.
By the way: the same latest products module on a webpage containing Joomla content works fine when you're logged in.

What might be causing this problem?

Thanks,
Udo

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 8 months ago #183861

Hi,

It's probably a javascript error on that page triggered by a module/plugin which displays something for logged in users with additional javascript conflicting with another piece of javascript.
Because of that, the carousel and accordion systems cannot be initialized properly.
The first step is to look at your browser's javascript error console log on that page in order to get the error message(s).
That will give more information on the issue.
Another thing to do is to look at the javascript files added in the head of the page's HTML and see the ones that are there when you're not logged in/logged in and see if there is any difference, which could point out to the culprit javascript files.
Then, based on these results, it will be possible to either disable the module/plugin generating the error, or fix the bug/conflicting.

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

  • Posts: 220
  • Thank you received: 8
10 years 8 months ago #183956

Hi,
I have followed your advice. The problem turned out to be hikashop.js.
I had to exclude this script from JCH Optimize and now all works fine!

kind regards,
Udo

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

Time to create page: 0.058 seconds
Powered by Kunena Forum