How to use Woocommerce block to customize your online store

Gutenberg block editor to make any skill -level website owner more easily access WordPress, allowing you to allow you Create complex pages by drag and drop content blocks. Using the Woocommerce block, you can select and display products, categories, filters, etc. on your website -no need to use short code or editing code line!

Let’s take a look at the available Wookommerce block and understand how to use each block.

Before starting, update WordPress and Woocommerce to the latest version. Note: The demonstration of this article is created using the Storefront theme, but it should be suitable for any friendly theme of WooCommerce.

Know the Woocommerce block

You can place the Woocommerce block in any position of the enable block editor: posts, pages, and custom post types. First navigate to the page or post you want to edit, and then click

in the upper left corner to add icon (similar to the \”addition\” symbol).

This will open all the available menus. Expand 块编辑器的屏幕截图,显示如何添加新块 WOOCOMMERCE

tab to view blocks specific to your online store.

Professional reminder: You can also use the `/` keyboard shortcut key to quickly add blocks to the content.

For example, you can check the available WooCommerce block by type \”/woocommerce\”.

Click a block to add it to your page and display a series of options, which will change according to the block you choose. WooCommerce 块选项

Product block

The product block allows you to display the product and publish content on the page. This is a good way to connect recommended products in the blog post, display your latest product or create a custom store page on the login page. There are a variety of products that can meet specific needs. The following will explain in detail:

Featured product blocks

3] This is a completely customized block that highlights a single product. You can display the product name and price, and add a button to encourage the purchase. There are also many settings on the superposition layer, including:

带有标题、价格和立即购买按钮的特色产品块

Overlay color Background Opaque Image focus

    Background positioning

  • Add the special product block to the login page to attract customers’ attention and appealed as a call, or take it for it As a visual product link, it is directly merged into a blog post. The choice is endless!
  • All product blocks

All product blocks show all your products. If you want to insert other content (text, images, videos, etc.) above the product, this will come in handy and it is a good way to create a visual directory. It includes the following options:

Layout Settings:

所有产品块,在网格中显示产品 Number of columns and rows -custom product grid layout

alignment button -set the button to tight Under the content or alignment

    • Content settings:

    • Display sorting drop -down list -display or hidden drop -down list with sorting options

    • Ordering products -Che default order according to the price, rating, new product or sales volume

  • Edited information for the product display-delete reviews, add sales badges, including descriptions, etc.

    • [ 123]

    • Filter block

combining the filter block with all product blocks with all product blocks To allow website visitors to narrow their product search scope. When the shopper chooses a filter, the product will automatically update to meet their standards without re -loading the page. There are three available filter blocks:

Filter by attributes, such as color or size Filter the lowest and highest price Display the selected filter of the activity.

The example below uses all three pieces:

  • Through the combination of these blocks, you can create a fascinating, easy navigation in a few minutes Store page.
  • Selected product block

过滤器旁边的网格中显示的产品

Selected product block allows you to manually choose the product you want to display. If you write a blog post titled \”Anniversary Gift Creative\”, you can directly display a specific product that is most suitable for the theme in the article.

After adding blocks, select a specific product or search for the exact product you want to find from the list.

The options of the selection of the product block include: 网格中的精选产品块

Line-at most

The alignment button – Set the button to be under the content of the content or the alignment

显示精选产品选项的屏幕截图 display or hide:

Product name

Product price

    Product rating

  • [
  • [ 123] Add to the shopping cart button

    • [ 123]

This block allows you to display products from specific or multiple categories. This is very suitable for the target login page or category page that requires additional content. Settings include:

Product category-Select the category or category to be displayed

The number of columns and rows-custom product grid layout Alignment button- Allow buttons to follow the content or vertical alignment display or hide: Product name

Product price

Product rating

    Add to add Go to the shopping cart button

  • Ordering method:

  • Novelty

  • Price
    • Rating
    • Sales

    • ]
    • The order of the menu

    The following example contains a line of five columns from the \”Music\” category:

    • Additional product blocks
    • There are also some additional product modules that are very similar to the working method of the above product module:

    • [Products by tag — Show the product according to the label [ 123]

    • Products by Attribute – Show the product according to attributes

    Top Rated Products -Show the highest evaluation product

On Sale PRODUCTS -Display Discount Products [12 123]

Best -selling products -show your best -selling product

特定类别的产品网格

Review block

63% of customers are more likely to buy from commentary websites product. The comment block can help you highlight the customer comments on the entire website to provide social proof and encourage sales according to your needs.

  • All comment blocks

]

列中列出的评论

If you want to display all product comments at a time, this is the block you need. You can use this block to highlight the comments on the homepage, highlight them on the login page, or create a page for the recommendation. The options include:

Show or hide:

Product name 所有评论块在一列中列出评论

Product rating

Reviewer name

  • Image – Product picture or reviewer’s avatar
    • Review date
    • Review content
    • Ordering method -allow users to choose to order through the following ways: [[[[[[[[[[[[ 123]

    • Recent
    • maximum evaluation
    • minimum score
  • Number of comments-to be displayed

    • ] Load more — Provide more comments options
    • Comment according to the product and category block
  • These blocks provide the same options as all comment blocks, but allow you to choose specific products or categories. They are a good way to merge comments into blog articles or pages. Promote the release of new albums? Show the first five comments of the specific album. Write a blog post about a specific product category? Show all the comments in this category. This is an effective way to attract website visitors and show your products.

按类别评论

产品搜索块

[123 ] When potential customers visit your website, they should be able to immediately find what they are looking for. If they want to buy a specific product, what you don’t want the least is to let them have to browse unrelated products on page after page. Product search block provides a simple search form for products. WillAdd to your website -the top or sidebar of the store and category page -and allow shoppers to accurately search for what they want.

Use woocommerce blocks to make full use of your online store

By adding the product directly to the login page, blog articles, and other types of mediaPromote to a new level.Users can buy content related to them without any additional navigation.

显示在过滤器上方和产品网格旁边的搜索块 The editor provides users with great flexibility and can control the layout and design of its online store.When combined with our WOOCOMMERCE BLOCKS, you can create a real custom store -you can add everything from the product and category to the filter and comment!

Know the latest block of WooCommerce

Author:

Leave a Reply

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