Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: Display of categories and subcategories

$
0
0
Hi Andreas,

I do it like this on a site I'm working on - It's just a hack using CSS, but it works.
This is using the latest module which has a new listheader with new ID's.

I put this in the styesheetoverride.css to hide things:

listSort, #listLength {display: none;}

And then in my product list template, I put this at the top:
<style type="text/css">#listSort,#listLength{display:inline-block}</style>

So, you're hiding it, then showing it when a list view is present.


For the other thing, the header templates are not dynamic so you can't make them show any tokens.

However, if you play around with the submenu feature that you can find at the bottom of the productlist module settings, you can probably get most of the rest working. I use it to show category thumbs. The display of the category message and this submenu feature are both controlled at the same time using the category message setting in the list module settings. Hover on the tooltips in the submenu feature for the relevant tokens. I believe you also have to specify a default category to make it work - I've created a real "All products" category and moved everything into that.

Note that the category menu module also has various menu and submenu features that accept the same tokens and you might be able to get something similar with a combination of those - hover on the tooltips again.
Regards
Rob

Viewing all articles
Browse latest Browse all 4081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>