Categories & Product Categories out of sync

  • Posts: 112
  • Thank you received: 1
8 years 6 months ago #239190

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1

Hi,

My list of categories and the selection of categories you can make for a product are different. On the product category tree there are categories there which have been deleted, and categories missing.

How do I get the Categories to be in sync with the Product Categories I can select?

I am creating my very first item and stuck on this.

Thx.

Attachments:

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

  • Posts: 112
  • Thank you received: 1
8 years 6 months ago #239213

I have created a new sub category, bracelets, and as you can see from the pic it is not showing up as a category in the tree, which means I can't pick it from the product category.

Do I have to do something to force them to appear?

Attachments:

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
8 years 6 months ago #239217

Hi,

There seems to be a problem with your category tree in the database. Try clicking on the "rebuild" button of the categories listing and the "check database" button of the HikaShop configuration.

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

  • Posts: 112
  • Thank you received: 1
8 years 6 months ago #239342

Every time you add or change a category you need to refresh your browser cache so that the categories are updated. Not sure why, but it works.

Last edit: 8 years 6 months ago by darrelluk.

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
8 years 6 months ago #239345

Hi,

We've added some anti caching code in the 2.6.3 to prevent that, so I'm surprised that you still have that issue though. Is the version you wrote in your first message the one you really have ?

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

  • Posts: 112
  • Thank you received: 1
8 years 6 months ago #240113

Yes it is.

It's a problem with very latest version.

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
8 years 6 months ago #240130

Hi,

Try to add the line:
hikashop_nocache();
after the line:
function getTree() {
in administrator/components/com_hikashop/controllers/category.php and that should fix the problem.

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

Time to create page: 0.063 seconds
Powered by Kunena Forum