WooCommerce Custom Products Widget

Description

WooCommerce Custom Products Widget allows you to display a custom selection of products. It uses the same styling as the WooCommerce built-in Product List widget. The products are being displayed in the order they are entered in the ID input field.

Screenshots

  • Widget settings

Installation

  1. Upload the plugin files to the /wp-content/plugins/woocommerce-custom-products-widget directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Add the widget using the Design->Widgets screen

FAQ

Where do I find the product ID?

In the Products->All Products screen, hover over a product to reveal its ID below its name. Do not use the SKU, but the WordPress internal product ID.

Can I add custom styling to the widget?

Yes, but only via CSS. The widget is constructed with the custom class custom_product_list_widget, which you can target.

Can I modify the widget output?

Yes, it implements the same filters as the original WooCommerce Product List widget, namely woocommerce_products_widget_query_args, woocommerce_before_widget_product_list and woocommerce_after_widget_product_list. It also uses the WooCommerce built-in template content-widget-product.php, which you can overwrite.

Contributors & Developers

“WooCommerce Custom Products Widget” is open source software. The following people have contributed to this plugin.

Contributors

“WooCommerce Custom Products Widget” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “WooCommerce Custom Products Widget” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.1

  • Set correct text domain for translations.

1.0

  • Initial release.