Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Product Variant Searching

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-24-2009, 03:53 AM
 
presson83 presson83 is offline
 

Senior Member
  
Join Date: Sep 2008
Posts: 143
 

Default Product Variant Searching

Hi All,

I'm developing a site that sells shoes and I'm trying to figure out if I can get a search function implemented that searches by product variant (in this case shoe size) from within a category. So while in the "mens" category you could search for size 8 via a drop-down menu and it would bring up all of the shoes in size 8 within that category.

I've already got "Search Style" (aka product) and "Search Brand" (aka manufacturer) implemented. Just needing to figure out "Search Size" in the same manner as the others.

Check it out here:

http://eternitywebdev.com/~kicks/home.php?cat=249

Here's what my code looks like for the product drop-down:

Code:
<select name="mySelect" onchange="if(this.options[this.selectedIndex].value != '')window.top.location.href=this.options[this.selectedIndex].value"> <option value="search style">Search Style</option> {section name=product loop=$products} <option value="product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_p age}{if $featured eq 'Y'}&amp;featured{/if}"> {$products[product].product|truncate:30:"..":true} </option> {/section} </select>

Let me know if you have any ideas on how to do this. Thanks!
__________________
v 4.1.11, v 4.2
Reply With Quote
  #2  
Old 03-24-2009, 07:57 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Product Variant Searching

http://bcsengineering.com/store/catalog/Advanced_Filter_for_Xcart-p-290.html
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 05-13-2009, 02:06 AM
 
TanyaG TanyaG is offline
 

Advanced Member
  
Join Date: Nov 2007
Posts: 94
 

Default Re: Product Variant Searching

Hi presson83,

I've seen you managed to implement search feature on your site. Which mode did you use?

Many thanks
__________________
Tanya

x-cart version: 4.1.7 4.1.9. 4.2
Reply With Quote
  #4  
Old 05-13-2009, 03:49 AM
 
presson83 presson83 is offline
 

Senior Member
  
Join Date: Sep 2008
Posts: 143
 

Default Re: Product Variant Searching

Hi Tanya,

I used the Quick Search Mod by xcartmod.com - http://www.xcartmod.com/cart/product/quick-search.html

While it doesn't say it in the description, this mod DOES filter by product variant if you want it to (as you can see by the "size" filter on my site.)

I highly recommend it!
__________________
v 4.1.11, v 4.2
Reply With Quote
  #5  
Old 05-13-2009, 04:52 AM
 
TanyaG TanyaG is offline
 

Advanced Member
  
Join Date: Nov 2007
Posts: 94
 

Default Re: Product Variant Searching

Hi presson83,

Thanks a lot for your reply. So how are you doing search by size if its out of stock?

Many thanks
__________________
Tanya

x-cart version: 4.1.7 4.1.9. 4.2
Reply With Quote
  #6  
Old 06-26-2009, 02:11 PM
  vasilis's Avatar 
vasilis vasilis is offline
 

X-Adept
  
Join Date: Feb 2009
Posts: 761
 

Default Re: Product Variant Searching

I was wondering if this mod can make dependent drop-downs populated by product options that filter subsequent selections, e.g. you enter a product's detail page and you have 2 drop-downs for style and color. Once you select style, the color drop-down filters its values outputting colors that belong only to the selected style. At the end of the procedure a variant's details are output (after all the options are selected).
Is there any manual available for that mod?
__________________
Vasilis Vrontisis
X-Cart Development, Maintenance & Customization
https://[URL="http://www.craftforweb.com"]craftforweb.com[/url]
vasilis@craftforweb.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:15 AM.

   

 
X-Cart forums © 2001-2020