=== Blocks Product Editor for WooCommerce ===
Contributors: ethereumicoio
Tags: woocommerce, gutenberg, blocks, product editor, classic editor
Requires at least: 6.6
Tested up to: 7.1
Stable tag: 1.3.1
Donate link: https://etherscan.io/address/0x476Bb28Bc6D0e9De04dB5E19912C392F9a76535d
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Requires PHP: 7.4

Blocks Product Editor for WooCommerce plugin enables the Gutenberg Editor for WooCommerce products.

== Description ==

Blocks Product Editor for WooCommerce plugin enables the Gutenberg Editor for [WooCommerce](https://woocommerce.com/?aff=12943&cid=17113767) products.

WooCommerce shipped its own block-based product editor and then removed it in 11.0 with no replacement, so a product description is edited in the classic editor again. This plugin brings the WordPress block editor back to the product screen: every product, its description, its short description and the product taxonomies are edited with blocks, and the classic editor is one switch away when a shop needs it.

Works with the WooCommerce versions that still ship a product block template (7.7 - 10.x) as well as with 11.0 and newer, which have none - the plugin only edits that template away where it exists.

https://youtu.be/aCbQTk5AS0E

== FREE Features ==

* Enable or disable the Gutenberg Editor for WooCommerce products

== PRO Features ==

The [PRO](https://ethereumico.io/product/gutenberg-woocommerce-product-editor-plugin/) version includes all FREE features, plus:

* The Catalog visibility metabox, so the "Catalog visibility" and "Featured" product settings are available next to the other product data instead of only in the sidebar
* A per-product switch back to the classic editor - the store keeps the block editor for products in general, but a single product can still be edited the old way
* Restricting the block editor to selected user roles, so e.g. shop managers can keep the classic editor
* Restricting the block editor to selected product types, so e.g. only simple products are edited in blocks
* The rich "Product short description" box - the short description gets the full WordPress editor instead of a plain textarea

== Screenshots ==

1. The product edit page: the block editor, with the WooCommerce product fields in the sidebar
2. The Catalog visibility box, with the visibility choices and the "featured product" flag WooCommerce hides in the block editor
3. The per-product switch that hands one product back to the classic editor
4. That product in the classic editor, while the rest of the store keeps the block editor
5. The rich Product short description box - the full WordPress editor instead of a plain textarea
6. The settings page: the editor switch and the roles that get the block editor
7. The product types that get the block editor

== Installation ==

* Install and activate it as you would any other plugin.

== l10n ==

This plugin is localization ready.

Languages this plugin is available now:

* English
* Arabic  (عرب)
* Czech   (čeština)
* Danish  (Dansk)
* German  (Deutsche)
* Greek   (Ελληνικά)
* Spanish (Español)
* Persian (فارسی)
* French  (Français)
* Hebrew  (עִברִית)
* Hindi   (हिन्दी)
* Indonesian (Bahasa Indonesia)
* Italian (Italiano)
* Japanese (日本)
* Korean  (한국인)
* Malay   (Melayu)
* Norwegian     (Norsk)
* Netherlandish (Nederlands)
* Polish  (Polski)
* Portuguese (Português)
* Russian (Русский)
* Slovak  (Slovenský)
* Finnish (Suomalainen)
* Swedish (Svenska)
* Thai    (ไทย)
* Philippine (Pilipinas)
* Turkish    (Türk)
* Vietnamese (Tiếng Việt)
* Chinese (中国人)

Feel free to translate this plugin to your language.

== Changelog ==

= 1.3.1 =

* Fixed: with the Professional version, the classic product screen showed the "Product short description" editor twice - the plugin's rich box next to the one WooCommerce already renders there. The plugin's box now exists on the block editor screen only, where WooCommerce's panel does not.
* The listing screenshots were re-taken: the product screen, the catalog visibility box, the per-product switch and the classic screen it produces, the rich short description, and both settings rows.

= 1.3.0 =

* New: a canary test suite that fails as soon as a WooCommerce release changes the behaviour this plugin is built on - the product post type registration, WooCommerce turning the block editor off for products, the product block template and the version range the plugin strips it in - or when the plugin header falls behind the installed WooCommerce.
* New: the plugin now also declares compatibility with the WooCommerce cart and checkout blocks feature, not only with High-Performance order storage.
* The readme explains what changed in WooCommerce 11.0 (its own block product editor was removed) and carries the tags a shop owner would search for.

= 1.2.0 =

* New: the PRO version can switch a single product back to the classic editor, while the rest of the store keeps the block editor.
* New: the PRO version can limit the block editor to selected user roles and to selected product types.
* New: the PRO version brings the product short description to the full WordPress editor instead of a plain textarea.
* Fixed: the PRO feature list no longer advertises the REST switches for tags and categories - WooCommerce has made those taxonomies REST-enabled itself, so the switches did nothing.
* The settings page now lists the PRO features that actually exist, and only on the versions that have them.

= 1.1.0 =

* The plugin was rebuilt on the layered architecture the other plugins of this family use (`app/` with modules, domain, views and controllers). Settings, hooks and behaviour on the product screens are unchanged.
* New: `wp bpe enable`, `wp bpe disable` and `wp bpe status` switch the editor from the console - the way out when the product screen itself is what broke.
* New: uninstalling the plugin now removes its settings; deactivating still keeps them.
* Fixed: on a multisite network with network-activated WooCommerce the plugin deactivated itself, because it only looked at the per-site plugin list.
* Fixed: the product post type template is only removed on the WooCommerce versions that ship one (7.7 - 10.x).
* Requires WordPress 6.6+, PHP 7.4+ and WooCommerce 8.0+.

= 1.0.6 =

* Declared compatibility with the WooCommerce "High-Performance order storage" feature: the plugin no longer shows the incompatibility warning and no longer blocks enabling HPOS in WooCommerce > Settings > Advanced > Features.
* Added the `Requires Plugins: woocommerce` header, so WordPress itself reports the missing WooCommerce dependency.

= 1.0.5 =

* freemius library version update
* tested up to WordPress 7.1 and WooCommerce 11.2

= 1.0.4 =

* freemius library version update

= 1.0.3 =

* freemius library version update

= 1.0.2 =

* freemius library version update

= 1.0.1 =

* WC 7.7.0 support.

= 1.0.0 =

* Initial release.
