sorting product lists with jquery (query category names to div classes)?
Ok let's say I'd have two main categories men and women but also brand based product listings. I'd need to be able to sort products on the basis of man or woman regardless of what page I'm in.
This would be easy to achieve with jquery and some cookies, however what I'd need for it is right product classes. So is there a way to query product category names or number ids to every product on product listing page?
So let's say if a product is linked to categories brand, accessory, women, then the product listing product wrapper would query these to classes so that
<div id="product-wrapper" class="brand accessory women">
Please help! And many thanks for all answers!
By wunderken in forum Addon Templates
Last Post: 13 Mar 2010, 05:43 PM
By signs in forum General Questions
Last Post: 14 Feb 2010, 02:41 PM
By tammygrant in forum All Other Contributions/Addons
Last Post: 5 Feb 2010, 11:21 PM
By raguirre in forum General Questions
Last Post: 8 Jan 2009, 01:00 PM
By youderian in forum General Questions
Last Post: 16 May 2008, 10:46 PM
Content and Graphics Copyright (c) 2003 - 2013 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC