recommendations on site search for foxycart / foxyshop / wordpress?

patrickpitmanpatrickpitman Member
in Site Showcase edited July 2012
Hi, can anyone recommend their preferred solution to an onsite keyword search feature, on a wordpress platform?

Imagine using's plugin and then wanting to offer custoemrs of a retail ecommerce website the option to search for products by keyword? What plugins or add-ons or 3rd party hosted site search options are people liking these days?

I say this with the presumption that WordPress isn't out-of-the-box a good enough site search solution for an ecommerce shopping environment with content in the Wordpress site that is a mix of many articles and many products to buy.
  • sparkwebsparkweb Member, Integration Developer, FoxyShop, Order Desk
    By default WordPress searches the Title and post content. If you look at the there's a template there for searching only products. If you want to search more than just the product, though (custom fields, etc) it gets much more complicated and crazy.
  • I recently noticed the same problem. Skipping the more complicated search aspects, a decent product catalog-only search can be added as a widget via a text widget with this shortcode:
      function ($atts, $content = null) {
          <form class="searchform" action="<?php bloginfo("url"); ?>/product-search/" method="get">
          <table><tr><td><input type="text" name="search" value="" /></td>
          <td><button type="submit" name="submitsearch" id="submitsearch">Search</button></td>
        $html = ob_get_contents();
        return $html;

    Then, in the product-search template, remove the same form code, add a headline at the top, and you have a great search page.
  • fc_adamfc_adam FoxyCart Team

    Thanks for posting your solution!
Sign In or Register to comment.