assign specific products to a specific menu

  • Posts: 13
  • Thank you received: 0
11 years 6 days ago #170117

Hi
I have a menu item of type "categories listing" listing 3 different categories.
This menu has 3 submenus of type "Product Listing" each one listing the associated products for one of the above associated categories.

The problem is that although each one of the submenus is associated to a separate category, but the products related to each menu can also be seen through other menus. For more explanation consider three following urls: (each Itemid shows a different menu item)

index.php?option=com_hikashop&ctrl=category&task=listing&cid=37&name=a&Itemid=142
index.php?option=com_hikashop&ctrl=category&task=listing&cid=37&name=a&Itemid=143
index.php?option=com_hikashop&ctrl=category&task=listing&cid=37&name=a&Itemid=144

The surprise is that all the above urls show the same group of products (As if a category is associated to all the above menus- while in my configuration I assigned a category to just one menu)!
I need that just for a specific menu item (e.g. item 142) this group of items be shown and not for the others. I wonder what could be the problem?

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

  • Posts: 84301
  • Thank you received: 13697
  • MODERATOR
11 years 5 days ago #170196

Hi,

It's normal. If you add manually the cid parameter in the URL, the cid overrides the category selected in the menu item options. That's how you can navigate from the categories listing to the products listing of one of the categories of the categories listing by adding the cid parameter in the URL.
But if you create menu items with different categories selected in them, that's not the URLs you will get in your menus module.
You'll get these URLs:
index.php?option=com_hikashop&ctrl=category&task=listing&Itemid=142
index.php?option=com_hikashop&ctrl=category&task=listing&Itemid=143
index.php?option=com_hikashop&ctrl=category&task=listing&Itemid=144
And these will display the listing based on the category selected in the menu item options.

I don't see why you wouldn't want the URLs that you put in your message to do what they do.
Maybe I don't understand your issue, or maybe you have a reason I don't know in wanting to do that.

Could you provide a link to the shop so that we could see exactly what you did and explain what you want to change exactly on which pages ?

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

Time to create page: 0.052 seconds
Powered by Kunena Forum