WordPress.org

Forums

WP e-Commerce PRODUCT SEARCH 3.8.x (3 posts)

  1. krun
    Member
    Posted 3 years ago #

    Hi,
    After having updated to the latest WP e-Commerce version I cannot seem to find a way to get a product search (widget/function) working.

    Before this update I had tweaked the existing Search widget for wordpress to make it work for both PRODUCTS AND POSTS according to the method described here: http://dev.huiz.net/2009/07/04/how-to-create-a-search-engine-for-wp-e-commerce/

    Worked like a charm, however now it is broken. My products are not found anymore, I get empty results.

    Is there any way to implement a product search function in the new e-Commerce 3.8.4 ??

    Any suggestions would be greatly appreciated. Thanks.

  2. pavansondur
    Member
    Posted 3 years ago #

    Hi Krun,
    I saw the way the product search as such runs as you have described. If you want to build a real scalable product search, I would not recommend the way you have done it. It is not scalable and you can't have multiple features like spell correction, synonym matching,etc. which are provided by open source search engines such as Solr/Lucene.

    Pavan

  3. krun
    Member
    Posted 3 years ago #

    Hi Pavan,

    Thanks for the reply. These scalable search engines look quite interesting however for now a simple search feature would suffice since i am working for a client who needs to get this feature up and running asap.

    I did somewhat found a solution to my problem. I was running an older version of wordpress, with the latest version of wp e-commerce (3.8.4). This caused the default search widget (in the older wordpress version) to encounter some conflicts. After having updated both WordPress and WP e-commerce; these conflicts seem to have been resolved and this update has fixed the bug of the search widget only searching in pages and posts, not products. The latest e-commerce release treats products as posts which helps =]

    However now i only get 'blogitems' with excerpts as search results. I would like to include the product image in the search results as well.

    Thanks in advance
    K

Topic Closed

This topic has been closed to new replies.

About this Topic