Category / Product query for a thicky


https://forum.kartris.com/Topic1554.aspx
Print Topic | Close Window

By ActiveHealth - Wed 25 Jan 2012
Hi Guys,

This is probably so easy I should hang my head in shame - is there any easy setting to modify so on the products page (Or any page other than the homepage, actually), instead of just listing the categories, I can make Kartris list the products from the category below the category header?

I'm an OK programmer, but new to Kartris so didn't want to start digging around in the code if there was a simple built in method!!

Many thanks,

Mark
By Neil - Thu 26 Jan 2012
Hi Mark,

If a 'level' contains both categories and products, Kartris tabs them so you can flick between them. Is this what you mean? I guess you could use CSS to display whichever how you like?

You can change many options in the config settings,

frontend > categories > display
frontend > products > display
By ActiveHealth - Thu 26 Jan 2012
Hi, not quite - I've played around with these options, and I'm not getting anywhere - I only have three categories , and want the products within a category listed underneath the category heading - at the moment you have to click on a category to get a bunch of products listed in the main area of the page, which makes the menu a bit lame. I noticed in the actual .VB that the routine is protected, so I don't know how much I'm allowed to change - thus figured there must be an easy option to make this happen; any ideas gratefuly received!

http://www.freeaspnetcart.com/Uploads/Images/7b9ecb50-2b19-4101-906b-5aee.jpg
By Paul - Mon 30 Jan 2012
Ok, I see what you mean - it's the main product navigation menu you're wanting to change.

I don't think there is a simple way to do this with the built in category display providers as these are purely looking at categories. The back end treeview does display both categories and products, although it is slightly different and porting that code to the front end might be tricky (maybe something we'd look at in future as an alternative menu choice though).

If there are only a few products such that you want them on the main menu, you could cheat and just hardcode the menu using jquery or similar if you find a suitable menu script. Obviously the downside is that it won't automatically update when you create or edit new products. But it's probably relatively simple to implement and reasonably quick to update later manually if new products are added.