Print Page | Close Window

Apparel mod: search by product options

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=3515
Printed Date: 07-July-2025 at 3:55am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Apparel mod: search by product options
Posted By: Greg Dinger
Subject: Apparel mod: search by product options
Date Posted: 16-March-2010 at 11:39pm
Merchants using EI's Apparel Add-on may find our latest custom programming effort of interest. 
 
I don't ordinarily post about our custom programming projects but I feel this one may have fairly wide applicability and wanted folks to know about it.
 
Note the size/inseam search tool in the left nav.  Switch to one of the shirt categories and there is a size dropdown. 
 
http://www.rockiesjeans.com/shop/pc/viewCategories.asp?idCategory=2 - http://www.rockiesjeans.com/shop/pc/viewCategories.asp?idCategory=2
 
In the admin we provided a tool that allows the merchant to declare which product options are to be used for a search.  Those declarations may be named.  So for this store, "inseam" and "size" have been defined as a search option named "jeans", and another product option named "size" was defined as a search option named "shirts". 
 
In the category admin, we added a dropdown where the merchant may declare which search option (or none) must be associated with that category.  So the jeans category gets the inseam/size search option, and the shirt categories are all assigned their respective search option.
 
Code introduced to header.asp determines when to cause the search options to appear.  As a category is rendered, we examine the subproducts and populate the dropdown with only data which is present.  So if there are 12 possible sizes (attributes) assigned to a "product option", but only 8 such sizes are actually used by products in the current category, then we only show those sizes in the dropdown.  No point is presenting sizes that the site visitor simply won't find as being available for any product in that category.
 
Performing a search based on the shopper's preferred size and inseam will query the subproducts in the current category, then display the screen only those parent products which offer the requested size.
 
If this is a feature you would find useful, please contact us directly via our web site.
 


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |



Replies:
Posted By: intour
Date Posted: 19-March-2010 at 12:41pm
This looks great Greg - thanks for letting us know.
 
I can see this being very useful
 
Nigel


-------------
http://www.innerview.co.uk - Innerview
Productcart Platinum Reseller
Web Design/Hosting/Virtual Tours


Posted By: erregi
Date Posted: 18-June-2012 at 10:29am
Hello, we have a shop with PC v4.1a SP 1.
We would like to know if you can install your add-on for searches of sizes and colors and the cost of the solution.
thanks
Roberto Guaini


Posted By: Greg Dinger
Date Posted: 18-June-2012 at 10:48am
Please contact me directly via my site and I'll prepare a proposal.  Do you want specifically what is listed at the site above or something else?

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net