Este plugin não foi testado com os 3 lançamentos principais mais recentes do WordPress. Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Best Selling Products for WooCommerce

Descrição

Display a list of your best selling WooCommerce products in a widget or shortcode. Simply add the widget to a sidebar or widget area, customise the settings and your list is created.

Widget Options

Title – Add a title to your product list.
Category – Choose one or multiple from a dynamically loaded drop down list of all WooCommerce product categories available on your website. Choose to include or exclude specific categories.
Products Shown – Show all products or only show a certain number.
Thumbnail – Show the product thumbnail.
Star Rating – NEW! Show product average star rating.

Shortcode Options

Simply include the [woobsp] shortcode into your posts or pages to show your best sellers. Options include:
* category='shirts' – Which categories to show product from. You can insert multiple categories by separating with a comma e.g. shirts,hats,shoes. Accepts the category slug or ID (Default: All Categories)
* posts='2' – How many products to show in your list (Default: 3)
* thumbnail='yes' – Show the product thumbnail in the list (Default: No)
* NEW! stars='yes' – Show the product’s average star rating (Default: No)

Full shortcode example: [woobsp category='shirts,shoes' posts='5' thumbnail='yes' stars='yes']

COMING SOON – Choose to exclude specific categories using the shortcode.

Capturas de tela

  • Widget settings
  • Product list in website sidebar
  • Shortcode example

Instalação

Best Selling Products for WooCommerce requires the WooCommerce plugin (at least version 3.0.0) to be installed.

Via WordPress

  1. From the WordPress Dashboard, go to Plugins > Add New
  2. Search for ‘Best Selling Products for WooCommerce’ and click Install. Then click Activate.
  3. Go to Appearance > Widgets, and add the ‘Best Selling Products Widget for WooCommerce’ widget to a widget area.
  4. Customise the settings: Title, Category, Products Shown, Thumbnail.

Manual

  1. Upload the folder /woo-best-selling-products/ to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Appearance > Widgets, and add the ‘Best Selling Products Widget for WooCommerce’ widget to a widget area.
  4. Customise the settings: Title, Category, Products Shown and Thumbnail.

Perguntas frequentes

What does the widget/shortcode do?

The Best Selling Products for WooCommerce plugin shows a list of your store’s best selling WooCommerce products. You choose what categories to include or exclude, how many products should be shown, and if you want the product thumbnail and average star rating shown or not. Simple.

How do I use the shortcode?

Include the [woobsp] shortcode into your post or page. Parameters include:
* category='shirts' – Only show products from specific categories. You can insert multiple categories by separating with a comma e.g. shirts,hats,shoes. Accepts the category slug or category ID. (Do not include to use the default setting: Show products from all categories)
* posts='2' – How many products to show in your list. (Do not include to use the default setting: 3 products)
* thumbnail='yes' – Show the product thumbnail in the list. (Do not include to use the default setting: Don’t show thumbnails)
* stars='yes' – Show the product’s average star rating (Default: No)

Full shortcode example: [woobsp category='shirts,shoes' posts='5' thumbnail='yes' stars='yes']

Can I use the shortcode in template files?

Yes, simply use the special WordPress do_shortcode() function and add your parameters if required.

For example: echo do_shortcode( '[woobsp]' );

Avaliações

19 abril, 2019
This plugin is awesome. It’s super lightweight, easy to style with CSS, and does what it says on the tin! In my case I must hide a few product categories from public view since the products are for wholesale customers only. This plugin is very flexible in terms of what product categories you can choose to show or hide in your best sellers list. Superb job!
Leia todas as 3 avaliações

Colaboradores e desenvolvedores

“Best Selling Products for WooCommerce” é um programa de código aberto. As seguintes pessoas contribuíram para este plugin.

Colaboradores

Registro de alterações

1.3.1

  • Fix for removal of dev line left in

1.3.0

  • Plugin name update
  • Settings issue fix
  • Compatibility version updates

1.2.0

  • Category list now shows all hierarchy levels
  • Added product count to category list
  • Updated deprecated woocommerce placeholder image function

1.1.0

  • Added option to add the product’s average star rating to the (Widget and Shortcode)
  • Added option to now include or exclude selected categories (Widget only. Shortcode coming soon!)
  • Added ability to select multiple categories in the widget
  • Updated WooCommerce version
  • Fixed several spelling mistakes

1.0.0

  • Initial release