Products custom navigation using action="fieldlist"

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
vigor
Forum Members
Forum Members
Posts: 92
Joined: Sat Apr 25, 2009 2:32 pm

Products custom navigation using action="fieldlist"

Post by vigor »

I'm building a directory with the products module and I'm trying to build a navigation menu based on a custom field which I can do using the code below. County is the location of each business.

Code: Select all

{Products action="fieldlist" field="County" showall="1"}
I now need to use this within a hierarchy or category so it only displays results based on the current category or hierarchy.

Does anyone know how I can do this? I'm hoping thats its just a simple piece of code to call the right variables but I've been trying to figure it out for 2 days now with no success.

Any help would be very much appreciated.
Thanks,
Paul
plojewski
New Member
New Member
Posts: 9
Joined: Wed Feb 09, 2011 8:11 am

Re: Products custom navigation using action="fieldlist"

Post by plojewski »

Same question. Please help!
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: Products custom navigation using action="fieldlist"

Post by applejack »

In the summary action you can only return results based upon ONE custom field. So if e.g. you are using these to populate drop down boxes for a search based upon the selection of more than one custom field you cannot do it via the summary action Smarty tag.

The only way you can do it is to filter the options in the foreach loop of a summary template and build your own pagination.
Post Reply

Return to “Modules/Add-Ons”