Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying WooCommerce Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
WooCommerce Cookbook

WooCommerce Cookbook

By : Rauland
3.4 (12)
close
close
WooCommerce Cookbook

WooCommerce Cookbook

3.4 (12)
By: Rauland

Overview of this book

If you have ever built or managed a WordPress site and want to add e-commerce functionality into your site, WooCommerce and this book are perfect for you. Learning how to use WooCommerce through this series of recipes will give you a solid platform to add any future e-commerce needs.
Table of Contents (12 chapters)
close
close
11
Index

Adding a Product Search widget


There are a number of tools built into WooCommerce that people don't even know about. One of those tools is the Product Search widget. It works in a very similar way to the default search widget in WordPress, except that this one only searches for products. It won't show any results for your pages, posts, or other custom post types.

Additionally, the results it does show are displayed as they would appear on the shop page. This will usually look better than the standard search page. If you have a site that's primarily an e-commerce site, I recommend using the Product Search widget so your users can find what they want a little faster.

How to do it…

To add a product search widget, let's have a look at the following steps:

  1. Go to Appearance | Widgets.

  2. Under Available Widgets, click on WooCommerce Product Search and then add it to the appropriate sidebar.

  3. You may optionally add a Title to the widget.

  4. Click on Save.

There's more...

The default Product Search widget that...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete