Woocommerce Category Best Seller Widget
This widget only works on a Woocommerce single product page. When it is placed there, it will parse the Category location
(set in the widget’s settings) for the any subcategories of the parent category. It will then list the best sellers, by subcategory, in widget form.
Here is an example case: We have mutliple authors that each have tons of products. Product categories are as follows:
– Books
– fiction
– nonfiction
– Authors
– Author 1
– Author 2
– Author 3
In our case, our widget’s Category location
is Authors
(the category). When you go to a product filed in Author 1
, in the sidebar, all of Author 1’s other products are listed in order of best selling.
If there is more than one category that it falls under, it will list them all. It ignores the current product. It also hide itself if this is the only product in that subcategory.
- Upload
plugin-name.php
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Add the
Woocommerce Category Best Seller
widget to a single product sidebar. - Change the
Category location
to the parent category that you wish to display.
Why do I have to have a `Category location`?
As of right now, I needed a way to exclude other parent categories. This seemed like the best method so far.
How do I get this to only show up on a single product page?
Here is a great free plugin that does it all for you: WooSidebars
1.0
- Option for a title.
- Option for a parent category.
- Option for maximum best sellers to display.
- Hides if it’s the only item in that category.
- Ignores current product.
- Multiple lists if the product is in multiple categories.
Alternative Plugins for Woocommerce Category Best Seller Widget
Widget Logic lets you control on which pages widgets appear using WP's conditional tags.
Categories: General
Import and export your widgets.
Categories: General
Order Categories and all custom taxonomies terms (hierarchically) using a Drag and Drop Sortable JavaScript capability.
Categories: General
This plugin adds a simple Facebook Page Like Widget to your WordPress sidebar, footer area (as a widget), and page or post (as a Shortcode).
Categories: General
Add custom classes and ids plus first, last, even, odd, and numbered classes to your widgets.
Categories: General
Adds a widget that shows the most recent posts from a single category.
Categories: General
The Order Categories plugin allows you to easily reorder your categories the way you want via drag and drop.
Categories: General
The easiest and highest rated way to Add Widgets or Sidebars to Posts and Pages using Visual editor, shortcodes or template tags.
Categories: General
Allows you to export and import widgets settings.
Categories: General
Discover the Lists with Woocommerce Category Best Seller Widget
FarrowSystem.EU - ALL Plugins
A save of all the plugins from when it was migrated from multisite. Just for historical purposes.