Linux 软件免费装
Banner图

Alkamy Block Editor Product Descriptions for WooCommerce

开发者 danielkam1
alkamy
更新时间 2026年10月14日 11:45
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce gutenberg block editor short description product description

下载

1.0.2

详情介绍:

This plugin enables the block editor (Gutenberg) for the two description boxes on the WooCommerce product screen: the product description and the short description. You get headings, lists, images, tables, buttons and columns in your product copy, and the rest of the screen stays where it is. Nothing else about the product screen changes. Each editor writes to the same form field WooCommerce already saves, so price, Featured, catalog visibility, the gallery and variations are saved by the same Update button as before. The plugin does not touch Product data, the publish box or the meta boxes your extensions add. This is an independent plugin, not an official WooCommerce extension. What you can do Descriptions you already have Opening a product does not change it. A description written in the classic editor is shown as blocks, and it is only saved as blocks once you edit it. Until then it is posted back as it was stored. Blocks on offer The description offers Paragraph, Heading, List, Quote, Pullquote, Image, Gallery, Video, Audio, File, Media & Text, Cover, Embed, Table, Buttons, Columns, Group, Details, Separator, Spacer, Code, Preformatted, Verse, Custom HTML and Shortcode. The short description sits beside the price and the add to cart button, so it keeps to text: Paragraph, Heading, List and Quote. Blocks that need a full post editor, such as Post Title or Query Loop, are left out. Google for WooCommerce Google for WooCommerce sends each description with its HTML, and with its block markup when it was written in blocks. This plugin hands it plain text instead: one line per paragraph, heading, list item or table row. That applies to every product description, including those written in the classic editor. Limits worth knowing For developers The source and tests are on GitHub.

安装:

  1. In your WordPress admin, go to Plugins > Add Plugin, search for "Alkamy Block Editor Product Descriptions for WooCommerce" and install it. Or upload the ZIP under Plugins > Add Plugin > Upload Plugin.
  2. Activate the plugin. WooCommerce needs to be active.
  3. Edit any product. The description and short description boxes are now block editors.
There are no settings. Deactivate the plugin to go back to the classic editors.

屏幕截图:

  • Add blocks from the inserter.
  • A block's settings, open beside the description.
  • The short description as a block editor, in its own box.
  • The product page, with both descriptions rendered.

常见问题:

Does this switch the product screen to the block editor?

No. The product screen stays the classic WooCommerce screen. Only the product description and product short description boxes change.

Will it change my existing product descriptions?

Not until you edit them. A description written in the classic editor is converted to blocks for editing, the same way the Classic block's "Convert to blocks" does it. If you save the product without touching the description, it is saved as it was.

Does the short description keep its formatting on the storefront?

On the product's own page, yes. WooCommerce renders the blocks wherever its own short description template is used. Block themes show the short description through the Post Excerpt block, which normally flattens it to plain text. On the product page the plugin keeps the formatting of a short description written in blocks. Anywhere a theme shows a trimmed excerpt, such as a product grid, it stays plain text.

Can I use blocks from other plugins?

Not yet. These editors load the blocks that come with WordPress. Blocks registered by other plugins are not offered.

Does the editor show my theme's fonts and colours?

No. Blocks are drawn with WordPress's default block styles inside the admin. The storefront still uses your theme, so the product page is the place to check the final look.

What if my product screen already uses the block editor?

Then this plugin stands aside. It only acts on the classic product screen.

Does it work with Google for WooCommerce?

Yes. Every product description is sent to Google as plain text, without HTML or block markup, whether it was written in blocks or in the classic editor. Google for WooCommerce applies its 5,000 character limit before the text is cleaned, so a very long description can end up shorter than the limit allows.

What happens if I deactivate the plugin?

The classic editors come back. Descriptions and short descriptions saved as blocks keep their block markup, and WordPress and WooCommerce keep rendering it. On a block theme, the product page goes back to showing the short description as plain text.

更新日志:

1.0.2 1.0.1 1.0.0