WooCommerce Blocks

Omschrijving

WooCommerce Blocks are the easiest, most flexible way to display your products on posts and pages! Using the original “Products Block”, your displayed products can be filtered by category, sale status, or a variety of other fields. You can even make a custom list of hand-picked products to display.

New for 1.2.0: We’ve added a stand-alone Product Category block to simplify the experience and improve the category search and selection UI. Be on the lookout for additional stand-alone blocks in future releases.

Getting Started

Minimum Requirements

  • WordPress 4.9.x
  • Gutenberg plugin 4.6 or greater
  • WooCommerce 3.3.1 or greater
  • PHP version 5.2.4 or greater (PHP 7.2 or greater is recommended)
  • MySQL version 5.0 or greater (MySQL 5.6 or greater is recommended)

OR

  • WordPress 5.0.x
  • WooCommerce 3.5.1 or greater
  • PHP version 5.2.4 or greater (PHP 7.2 or greater is recommended)
  • MySQL version 5.0 or greater (MySQL 5.6 or greater is recommended)

Visit the WooCommerce server requirements documentation for a detailed list of server requirements.

Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of this plugin, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type “WooCommerce Gutenberg Products Block” and click Search Plugins. Once you’ve found this plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”.

Manual installation

The manual installation method involves downloading the plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains instructions on how to do this here.

Sample data

WooCommerce comes with some sample data you can use to populate the products and get started building Products blocks quickly and easily. You can use the core CSV importer or our CSV Import Suite plugin to import sample_products.csv.

Where can I report bugs or contribute to the project?

Bugs should be reported in the WooCommerce Gutenberg Products Block GitHub repository.

This is awesome! Can I contribute?

Yes you can! Join in on our GitHub repository 🙂

1.2.0 – 2018-12-04

  • Feature – Stand-alone product category block with improved category selection interface.
  • Fix – All users who can edit posts can now use these blocks thanks to a new set of API endpoints allowing view access to products, product categories, and product attributes.
  • Fix – Compatibility with WP 5.0, fixed error “Cannot read property Toolbar of undefined”.
  • Fix – Only published products are shown in previews.
  • Enhancement – Translations should now load into the block (for WP 5.0+).
  • Enhancement – Modernized build process and developer tools, and added tests for faster future development.

1.1.2 – 2018-09-07

  • Fix – Refactor to remove withAPIData usage, as the class was removed in Gutenberg 3.7.

1.1.1 – 2018-08-22

  • Fix – Make Newness ordering order correctly on frontend.
  • Fix – Don’t cause fatal errors if WooCommerce is not active.

1.1.0 – 2018-06-06

  • Feature – Add “Best Selling” and “Top Rated” product scopes.
  • Fix – Only enqueue scripts and styles in the site backend.
  • Fix – Remove focus checks deprecated in latest Gutenberg version.
  • Fix – Added keys to some elements to prevent React warnings.
  • Enhancement – Added custom API endpoint for more accurate block previews with orderby.
  • Performance – Refactored the way the attribute select works to prevent many concurrent API requests on sites with many attributes.

1.0.0 – 2018-04-24

  • Initial implementation of the Gutenberg Products block.

Schermafdrukken

  • The initial Products block.
  • Selecting hand-picked products for the Products block.
  • The completed Products block when inserted into a post.
  • New: Stand-alone Product Category block

Beoordelingen

Does not work at all

I’ve lost Gutenberg blocks in WooCommerce updating Gutenberg. I hoped it come back with this plugin. Nope, it’s totally useless.
Let’s see what will happen with WP5.

Doesn’t Work

I’m using WordPress version 4.9.8, and the rest of the server requirements are met. When doing a search for this block, it is not found.

Doesn’t work

Have tried this in a very vanilla wordpress install using Gutenberg both in 2017 theme and the storefront woocommerce theme and doesn’t offer any options in the page editor. I can only assume its broken. On the support forum in WordPress.org there seem to be a few similar comments and they have gone unanswered.

Great potential, doesn’t find majority of products in DB

Plugin has great potential and the way it inserts products looks great, but for a site with a lot of products it feels like 90% of them cannot be found.

I think as another comment said, the plugin only searches for the last 75-100 recent products to be added.

I also found that typing anything into product search box causes Guttenberg to do an autosave, this also seems to cripple the plugin from being able to find any products whilst the autosave is in progress.

Lees alle 5 beoordelingen

Bijdragers & ontwikkelaars

“WooCommerce Blocks” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

“WooCommerce Blocks” is vertaald in 3 talen. Dank voor de vertalers voor hun bijdragen.

Vertaal “WooCommerce Blocks” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.