Category / sub category listings

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
HI there

im using version 3.9 and looking for a better way to display categories and sub categories and products when you have a large amount of them.

I would like to display all the categories and sub categories on the main category page like the below link: https://www.cartridgesave.co.uk/toner-cartridges/Brother.html

so you would click on the home page (1 click) then brother (2 clicks) then all the categories would be there (3rd click takes you to your printer page)


This is to make any product only 3 clicks from the home page


currently nopcommerce involves too many clicks for the customer to get to there product page.

is there anyway to replicate this?

THANKS !
5 years ago
My first approach would be using the sitemap for it. You should check 'include in sitemap' for each category. The sitemap shows each category just one-click away.

The only thing that would need some customization is how to make this look pretty. I think a widget would be the best, it would use the sitemap (or a part of it) as input data, format it as you like in dense rows and columns.  You could then place the widget anywhere on your site.
5 years ago
yes that would actually be perfect. I didnt know the page existed in this way. It just needs to be formatted/designed better. any idea how you edit this page?
5 years ago
You can edit the contents and formatting in Sitemap.cshtml (it is under Views/Common) if it is not overriden by a custom theme.

It is in Razor syntax, fully editable and the good news is that you can edit/replace a .cshtml file without recomnpiling the code or even stoppping the server, just change it in your server's directory and reload the page.   Be sure to save the original / previous working version in case you screw it up.

The more professional solution will be making a widget with the sitemap as its contents. Sitemap.cshtml appears only when the customer clicks on it, but if your shop's main function is to sell using these categories I would go for a widget included in the footer (or any other) area, so it would show up permanently no matter what page your visitors navigate to.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.