Use Gutenberg’s Products block to easily add the product to the post and page

PRODUCTS block represents our first project that kindly referred to as \”wootenberg\” project first Phase -WooCommerce prepares for the arrival of the Gutenberg editor.

Gu Tengbao?

If you miss it, Gutenberg is a new, visual -driven content editor, which is built for WordPress and plans to include in version 5.0. Read all relevant information and the latest version of the Gutenberg function plug -in.

What is a product block?

In essence, the product block is a modern version of the product’s simple code, which is built for our upcoming Ge Tengbao World.

Products block provides a intuitive user interface for inserting products from various sources , and then accurately preview the appearance of the selection at the time of release. You can also fine -tune the appearance of these products by adjusting the layout and sorting.

Use the product block, you can quickly and easily put the product easily and easily Add to posts and pages, including:

Personalized, carefully selected products

    Specific category products

  • Featured products

  • Sales products

  • Products with specific attributes or terms

  • The best selling

  • Top product

  • or simply add your
  • All

All

]product. Watch this short video and understand the working principle of the Products block:

https://woocommerce.com/wp-Content/2018/05/ Products-block.mp4

Get the product block

A functional plug -in

Now, the product block is a new concept that depends on Gettenburg. Since Gutenberg is still a functional plug -in, we alsoPublished the Products block as a functional plug -in. In this way, we can quickly build functions at the core of Woocommerce -read more information about related functional plug -ins. The most important thing is that it provides a convenient way for everyone to install and use it.

Note: To start trial and Gutenberg

.

Once we are satisfied with the stability of design and code. We will merge these features into the core of the Woocommerce so that all WooCommerce stores can access them. At this time, you can stop and delete the function plug -in , and any product block you inserted with the function plug -in will keep the state of activity.

Our method

Gutenberg has created many exciting possibilities for large plug -ins such as WOOCOMMERCE. At present, it is important to limit the scope of our initial exploration to ensure that we have established a solid foundation in the design model and rapidly developing code library of Gutenberg, and then continue to perform more complicated tasks, such as adding products. It turns out that even the smaller projects have discovered the opportunity we did not expect.

After adding the product to the post or page, you will see the release The preview effect of the content Study

We conducted several rounds of research before starting the design to ensure that we move in the correct direction. This includes spending a lot of time to play with Gutenberg, talk to the design team, and check what other people in the WordPress community are now using Gutenberg to do. 将产品添加到帖子或页面后,您将看到发布内容时的预览效果

Website percentage using different products with different products

Since we focus on the short code of the product, we analyze its usage on the use of 10,000 WoOOCOMMERCE websites Essence We understand that the most popular application of short code is to display specific products, product categories and special products. Interestingly, it seems that few stores use it to show top products, best -selling products or products with specific attributes.

显示使用不同产品简码的网站百分比的图表
ProductionThe most popular application of products is to display specific products, product categories and special products.

It is interesting to see how people actually use a function, and this insight Power is the key to helping us figure out which processes are the most important. It also challenged our assumptions, so we can make a wise decision on the problem to solve the next design stage. Host test, the first round Our first round of design explores the way that the owner may want to display the product on the page or post. We interviewed the store builders and store owners/managers, created some testing scenarios in embedded products, and then asked them to try plug -in and discuss their reactions and feedback.

Before starting development, these feedback were captured early in the design process to provide information for the next design iterative design to better consistent with customers expect insertion and display their products. This makes us confident to continue using the first version of the function plug -in for further testing.

The main gain from our test is that although our process is very good, people encounter trouble when interacting with block settings. This part is a foundable problem, but it is also the result of setting overload. So we deleted some options (such as product data visibility switch -we can quickly process these options through the Gutenberg core) and move other options (such as product range selection device) You can be inserted after block.

Before and after -less settings and clearer product range change methods Moderate testing, the second round Once the function plug -in is ready and we update our design, we arranged the second round of availability testing. This time we prepared a real -time test environment to test the participants to interact with the actual Gutengbao interface, not prototype. Watching people’s use of actual products is eye -opening, and it is very valuable.

前后 - 更少的设置和更清晰的产品范围更改方式 The snapshot of the user research conference in Zoom Chat

The two key lessons are not specifically for the Products block, but about Gutenberg itself. Each test participant (most of them never used Gutenberg) will be stuck when adding blocks and cannot find advanced settings. We shared our test results with the Gutenberg team.The repair process is deployed for the second issue, and we are currently exploring the design options that solve the first problem.

在 Zoom 环聊中进行的用户研究会议的快照

As for the product block itself, we made some fine -tuning, for example There is no need to further enter during the selection process-if you choose to display special products, we do not need to confirm the favorite operation when choosing a category. We also noticed that there is no consistent process to change the scope of display products, and test participants are viewed these settings in different places, so we have added more paths to the initial block settings.

Plane range Including product sales or best -selling books -there is no difference. During the selection process, Different range requires users to further enter. Result? This function plug -in can be ed immediately.

Select the preset range (such as specialty products). Now you can directly enter the preview without confirmation

Get the product block Interested and interested and and interested Do we test the WooCommerce prototype together?

The victory leap in the execution of the design team of the WOOCOMMERCE

选择预设范围(例如特色产品)现在无需确认即可直接进入预览
If you are interested in the latest WOOCOMMERCE development, please register our design feedback team so that you can shape the woocommerce s future. We will regularly contact members to help them study new projects and test our prototype and MVP.

WooCommerce 设计团队
Author:

Leave a Reply

Your email address will not be published. Required fields are marked *