Search for SKU doesn't search variations

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
mfreeze
Commodore (COMO)
Commodore (COMO)
Posts: 421
Joined: Mon Jan 24, 2005 2:07 pm
Location: Washington, NJ
Contact:

Search for SKU doesn't search variations

Post by mfreeze » Tue Dec 30, 2008 4:54 pm

In the advanced search, the SKU search only returns results for primary products and not unique SKUs assigned to variants. Is there any way to make it search the SKUs assigned to variations?
Mary E Freeze

Freeze Frame Graphics
Web Hosting and Design, ASP and CFMX Development

http://www.ffgraphics.com

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Search for SKU doesn't search variations

Post by mazhar » Wed Dec 31, 2008 8:55 am

Advance Search page only lists the products and can't list the variants. If you want to list the primary product when some one searches with some Sku of its variant then you will need some customization for this. One possible solution for this could be use a standard prefix character with Sku modifier for each variants for example if the Sku of primary product is MYSKU then its variant must have Sku modifiers prefixed with - symbol like -VAR1, -VAR2 so that their final Sku becomes MYSKU-VAR1. Then you can customize the Advance Search page so that when some one searches by Sku first you grab the entered Sku and check that it contains the - symbol or not. If it contains the - symbol just remove the symbol and characters after that part and send this modified version of Sku for searching. This will always list the primary products if some one searches for their variants.

Post Reply