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
Instalação
Best Selling Products for WooCommerce requires the WooCommerce plugin (at least version 3.0.0) to be installed.
Via WordPress
- From the WordPress Dashboard, go to Plugins > Add New
- Search for ‘Best Selling Products for WooCommerce’ and click Install. Then click Activate.
- Go to Appearance > Widgets, and add the ‘Best Selling Products Widget for WooCommerce’ widget to a widget area.
- Customise the settings: Title, Category, Products Shown, Thumbnail.
Manual
- Upload the folder /woo-best-selling-products/ to the /wp-content/plugins/ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to Appearance > Widgets, and add the ‘Best Selling Products Widget for WooCommerce’ widget to a widget area.
- 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
Colaboradores e desenvolvedores
“Best Selling Products for WooCommerce” é um programa de código aberto. As seguintes pessoas contribuíram para este plugin.
ColaboradoresTraduzir “Best Selling Products for WooCommerce” para seu idioma.
Interessado no desenvolvimento?
Navegue pelo código, consulte o repositório SVN ou assine o registro de desenvolvimento por RSS.
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