Display products changing menus

  • Posts: 441
  • Thank you received: 24
12 years 2 weeks ago #74576

In my template i have the main menu associated to hikashop category display, but que i click on one category i want the template to change not to be fixed in main menu, i´ve seen that you can override menu in checkout but i tried to do the same in the Associated products listing for category listing menu selecting menu and the other menu option i want to display in but nothing happens, can it be done?

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

  • Posts: 13201
  • Thank you received: 2322
12 years 2 weeks ago #74666

Hi,

If you want to change the template when clicking on a category, you can edit the view "category / listing_img_title" (or another one depending on which one you are using) and add the code:

<?php $this->menu_id = '&Itemid=103'; ?>
At the top of the file, and replace "103" by your template id.

The following user(s) said Thank You: condorazul

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

  • Posts: 441
  • Thank you received: 24
12 years 2 weeks ago #74685

Wonderful and quick as always thank you very much

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

Time to create page: 0.065 seconds
Powered by Kunena Forum