close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Search with Product Options

Thread began 8/12/2009 9:04 am by larsentim278054 | Last modified 8/14/2009 12:05 am by larsentim278054 | 784 views | 2 replies |

larsentim278054

Search with Product Options

In the admin section of powerstore v2. when you search for a product using either the keyword or the SKU - if it's not the default product option, meaning if you are looking for a product that is another color (with using "product OPTIONS" in product setup) - and that has it's own SKU - it will NOT find it. I tried putting the SKU (that's listed in the product options) in the search SKU field, I tried putting the SKU in the search keyword field, doesn't matter. It won't search in product options. I'm guessing that the main search functionality is limited in this fashion as well. How do I get this fixed?

Sign in to reply to this post

Dani Chankhour

That is correct. The search will only filter based on the default products. If you wanted to remove this restriction, on the Product Results page you will need to modify the query.

Please look at line 347 of Product_Results.php and remove this from the end of the query:

WHERE COALESCE((SELECT GroupingID FROM productoptions WHERE productoptions.ProductID = products.ProductID LIMIT 1), ProductID) = ProductID

Note: When you remove these restriction, then all the individual product option combination will show on your results page, and depending on how many products you have, this could be a long list.

Sign in to reply to this post

larsentim278054

Yeah - that doesn't make sense. If it's going to show all the options, than what's the point of having "options".

Anyhow - I'll chalk this up to a feature not available yet.

Originally Said By: Dani Chankhour
  That is correct. The search will only filter based on the default products. If you wanted to remove this restriction, on the Product Results page you will need to modify the query.

Please look at line 347 of Product_Results.php and remove this from the end of the query:

WHERE COALESCE((SELECT GroupingID FROM productoptions WHERE productoptions.ProductID = products.ProductID LIMIT 1), ProductID) = ProductID

Note: When you remove these restriction, then all the individual product option combination will show on your results page, and depending on how many products you have, this could be a long list.  
Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...