Clicking from category list to product view brings up wrong view

  • Posts: 367
  • Thank you received: 7
  • Hikashop Business
8 years 8 months ago #252399

-- url of the page with the problem -- : www.identityweb.co.uk/index.php?option=c...t=listing&Itemid=552
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.5
-- Browser(s) name and version -- : any

Hi,

I have setup a "category list" view here:
www.identityweb.co.uk/index.php?option=c...t=listing&Itemid=598

When you click on the category the resulting page is: www.identityweb.co.uk/index.php?option=c...-p-anchor&Itemid=598

However, I have setup a menu item for that category as a product list view www.identityweb.co.uk/index.php?option=c...t=listing&Itemid=552 which is where the page should end up if navigated from: www.identityweb.co.uk/index.php?option=c...t=listing&Itemid=598

How can I get this to work correctly please?

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

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
8 years 8 months ago #252431

Hi,

Why do you think the menu item should change in the URL ?
It will only if the sub menu item that you created for your sub category is also a HikaShop categories listing menu item, which is not the case on your website. That's why it stays on the same menu item when you click on a sub category link.

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

  • Posts: 367
  • Thank you received: 7
  • Hikashop Business
8 years 8 months ago #252445

Yes you are correct that does make sense.

What I've done then is edit the wrong file.I've edited the view product/listing.php when I should have edited category/listing.php as this would logically be the route then navigating by category list.

ok thanks for your help.

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

Time to create page: 0.076 seconds
Powered by Kunena Forum