How do I link to a specific category?

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

Is there a way to form a link that would list all the products I have in a specific category? Say if I have 2 categories...one named 'cats' and one named 'dogs'. I want to list all the items in the database under 'dogs'.

Ryan

-- Ryan Jagger (rjagger@knox.net), May 31, 1999

Answers

Hello, I think it's in the "readme".

Just call the cgi with:

command=listitems type=group pos=0 group=cats or group=dogs

-- Hans-Juergen Thiess (hjthiess@christshop.com), June 01, 1999.


This is an easy one. Look at http://web-store.net/smart/smart.cgi At the bottom are links to the groups. The Html:

MAD Magazines Oil Paintings Bevis and Butthead Advertising Art

Just make sure that the where ,say, "group=adart", that the 'adart' is the same as the group as defined in the smart.cfg, ie @groups=('adart', 'Advertising Art');

Happy Programming!

-- Gregory Swofford (computer@web-store.net), June 01, 1999.


Moderation questions? read the FAQ