[rank_math_breadcrumb]

How to Only Search WooCommerce Products in Elementor?

Table Of Content

WordPress search returns everything — posts, pages, products, all mixed together. The WP Search Bar widget can scope a search to WooCommerce products only, so shoppers see products and nothing else.

What You’ll Build

A search bar on your store page that returns only WooCommerce products, with a dropdown beside the input showing what is being searched. Blog posts and pages never appear in the results.

Before You Start

  • Edition: Free — the WP Search Bar widget ships in both The Plus Addons for Elementor (Free) and Pro.
  • Plugin: The Plus Addons for Elementor, installed and activated.
  • Also required: WooCommerce, active, with at least one published product. The Products option only appears once WooCommerce registers its post type.
  • Widget to enable: WP Search Bar, switched on under ThePlus Settings > Widgets.

Step 1: Add the widget and open the search field row

Drag WP Search Bar onto your page or template. Open the Search Bar Fields section and click the Search Bar row to expand it, then set Source to Post. The other option, Taxonomy, searches categories and tags instead of content.

Elementor editor with the WP Search Bar Source dropdown set to Post

Step 2: Scope the search to products

In Select Type, choose Products — and remove Posts, which is selected by default. Leaving Posts in place is what causes blog content to keep appearing in results.

Elementor editor with Select Type set to Products and the search bar rendered on the canvas

Step 3: Label the dropdown

Set Label to the wording shown beside the search field, for example “Search Products”.

Elementor editor with the search dropdown Label field highlighted

Step 4: Set the placeholder

Placeholder is the text shown in the dropdown before a shopper picks anything. The default is All Posts — change it to something like “All Products”.

Elementor editor with the search dropdown Placeholder field highlighted

Step 5: Decide whether to show result counts

Leave Show Index on to display a result count beside each entry in the dropdown. It is on by default.

Elementor editor with the Show Index toggle highlighted

Settings Reference

SettingWhereOptionsDefault
SourceSearch Bar Fields > repeater rowSelect Source, Post, TaxonomySelect Source
Select TypeSearch Bar Fields > repeater rowAny registered post typePosts
LabelSearch Bar Fields > repeater rowFree textLabel
PlaceholderSearch Bar Fields > repeater rowFree textAll Posts
Show IndexSearch Bar Fields > repeater rowShow / HideShow
Show Sub categorySearch Bar Fields > repeater rowShow / HideHide
AJAX SearchExtra OptionOn / OffOn

Customise It

  • Search product categories instead. Set Source to Taxonomy and pick the WooCommerce product category taxonomy, so shoppers browse by category rather than product name.
  • Search products and one more type. Select Type accepts multiple values.
  • Turn off live results. AJAX Search in the Extra Option section is on by default, giving results as the shopper types. Switch it off for a traditional submit-then-search behaviour.
  • Add several search scopes. The Search Bar field is a repeater, so more rows become more options in the dropdown beside the input.

Limitations

  • Select Type only appears when Source is Post. Choose Taxonomy and the control is replaced by a taxonomy picker.
  • Posts is pre-selected. Adding Products does not remove Posts — you have to delete it.
  • Products requires WooCommerce. The option is populated from registered post types, so it is absent if WooCommerce is inactive.
  • This scopes the widget, not the site. Other search forms, including the theme’s own, are unaffected.

Troubleshooting

Blog posts still show in the results

Posts is still in the Select Type field. It is selected by default and adding Products does not replace it. Remove the Posts chip so only Products remains.

I cannot find Products in Select Type

Confirm WooCommerce is active — the list is built from registered post types. Also check that Source is set to Post; Select Type is hidden for the Taxonomy source.

The dropdown beside the search bar is empty

Each repeater row becomes one dropdown option, and a row with no Source set produces nothing. Open the row and make sure Source and Select Type are both filled in.

Related Docs

Get Instant Answers to all your questions about The Plus Addons for Elementor, trained on 1000+ Docs and Videos
Get Free 25+ Secrets to Make Elementor Website Faster [Guaranteed Results]

    Subscribe to our YouTube Channel for Elementor Tutorials
    New Video Every Week!
    Automatically Convert Figma Designs to 100% Editable Elementor Website

    Related Docs