WooCommerce Blocks help webmasters create customized store pages, showcase your products, and add advanced eCommerce features like filtering and searching, and more, all without writing a single line of code. By default, many blocks come with WooCommerce, but a few of the newer blocks do not. They can be accessed by installing theWooCommerce Blocks WordPress PluginUse these new blocks in your WooCommerce store.
![图片[1]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-831.png)
Explore WooCommerce Blocks
Starting with version 5.0 of WordPress, we have a brand new editor, the Gutenberg editor. This editor uses a new block-based system that completely replaces the previous classic editor. This means that even if you don't have much front-end coding knowledge, you can easily build and customize attractive content.
And WooCommerce Blocks works perfectly with the Gutenberg editor, and between them they are as easy as dragging and dropping a toy.WooCommerce Blocks offers a range of unique tools designed specifically for product display, shopping cart management, checkout processes, and more.
This combination is just perfect! It allows the flexibility and ease of use of the Gutenberg editor to be fully utilized, while at the same time allowing you to easily customize your WordPress site for excellent e-commerce performance. Whether you're a newbie or a veteran, it's easy to get started and create your own perfect e-commerce website.
To utilize the WooCommerce block, first open or create a page or post. Click the+ button to see all the function blocks, then navigate to theWOOCOMMERCE Sections. Below is a brief overview of the different blocks:
![图片[2]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-832.png)
- Product Search --Add a search bar to quickly search for customer products.
- All Products - Display all store products in a grid.
- All comments - List all product reviews.
- Classic Checkout - Presenting the classic checkout short code.
- Classic Shopping Cart - Presenting the classic shopping cart shortcode.
- customer account - Enable customer login and logout.
- Featured Categories - Highlight product categories and call-to-action terms (CTAs) to encourage timely response.
- Featured Products - Highlight the product or variant and the CTA.
- Activity Filter - Displays the currently active filter.
- Filter by price - Present the price range available to customers for filtration products.
- Filter by Inventory - Allows filtering of products by stock status.
- Filter by Attribute - Filter products by attributes such as size or color.
- Filter by rating - Enables customers to filter products by rating.
- Featured Products - Display a selection of products in a grid.
- Mini Shopping Cart - Provides a quick shopping cart view button.
- Store Notification - Displays customer-facing notifications generated by WooCommerce or other extensions.
- Best Sellers - A grid showing the best-selling products in your store's history.
- Product Category List - Displays all product categories as a list or drop-down list.
- Products by category - Displays a grid of products in the selected category.
- Product Family (Beta) - Displays the products in the specified series.
- New Products - Display the latest products in the grid.
- Promotional Products - Displays the current promotional items in a grid.
- Products by Label - Displays the products with the selected label in the grid.
- Top rated products - Showcase the highest rated products in the grid.
- Products by Attribute - Displays products with selected attributes in a grid.
- Comments by category - Displays product reviews for the specified category.
- Reviews by Product - Displays reviews organized by product.
- Single product --Demonstrate a single product.
- cart - Show shopping cart.
- pay the bill - Displays the forms available for customers to submit orders.
Now do you know what function each block roughly implements.
Using Product Grid Blocks in WooCommerce
Product Grid Block is a versatile tool for displaying store products in an organized grid format on your WordPress website. Here's how to add and customize Product Grid Blocks:
1. Navigate to the page or post where you want to display the product. Specify a title, such as "Products".
2. Click on the top navigation bar on the+ button to display all blocks. Scroll down to theWOOCOMMERCE section and selectAll Products. This action displays your products in a grid layout on the page.
![图片[3]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-808.png)
3. To configure this block, use the Block Settings panel on the right. The block can be configured by clicking the"Settings" icon (the second rightmost icon on the top navigation bar) to access the settings.
![图片[4]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-809.png)
Here, the layout, content and style of the grid can be customized:
- Layout Settings: Adjust the number of rows and columns. For example, set both to 2 for a balanced look.
- Content Settings: Decide if you want to add a Sort dropdown menu for your customers. This feature allows customers to sort products in the selected order. You can disable it if you wish.
- Advanced Styles: CSS classes can be added for more complex styling if desired.
4. Preview the page after completing the configuration to make sure everything is displayed as expected. Then, click"Release." button. This step allows you to access the page publicly, privately, or with password protection, depending on your preference.
![图片[5]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-810.png)
Add a featured product block to your page or post
The Featured Products block allows you to highlight products on a page or post. Products can be selected, their display settings customized, and added to content to draw attention to specific items you want to showcase.
Please follow the steps below to add a featured product block:
1. First navigate to the page or post where you want to showcase the product. Let's say you are designing a product grid and want to place the featured product at the top. Create a space in that location, and you'll notice on the left side there's a+Button. Or, if you have an existing block near the desired location, click on the three vertical points in order to bring up a menu. You can select the"Before adding" maybe"After adding"The
![图片[6]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-811.png)
2. Select the top navigation bar on the+ button to display all blocks and search forFeatured ProductsThe
![图片[7]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-812.png)
3. Select the product you want to display. Then, click"Finish."The
4. To provide a unique look and feel to the featured product block, click on the"Settings". From the Block Settings panel:
- Decide whether to display product descriptions and prices.
- Configure how your media (images and videos) are displayed.
- Specifies alternative text for the product image.
- Select the block overlay color.
- Adjusts the opacity of the block.
![图片[8]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-813.png)
5. Once you have completed all the necessary adjustments, you can publish the page or update it (if it is already live). You can view the running block and make sure it looks the way you want it to.
![图片[9]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-814.png)
Using Filter Blocks in WooCommerce
Filter blocks allow your customers to optimize product searches based on specific criteria, helping them quickly find products that match their preferences or requirements.
- Navigate to the page or post where you want to add the block. This guide uses the sameProduct Page.
- Select the location where you want to add the filter.
- Click on the top navigation bar in the+ button to display all blocks. Scroll down to theWOOCOMMERCEsection and then view the filter options for Price, Inventory, Attributes, and Ratings. For example, if you selectFilter by priceThe
Add filter by price block
By selecting this block, a price range field can be displayed allowing the user to filter the products displayed on the page based on the desired price range. The block settings on the right panel can be customized to suit your needs.
![图片[10]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-815.png)
Add Filter by Attribute Block
It is also possible to use"Filter by Attribute" block The
![图片[11]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-816.png)
Specific attributes can be selected, such asColor, and then configure the settings accordingly. For example, you can enable theDisplay the number of products to show the number of products available in each color.
Then, you can view the live page and test the functionality of the filter buttons.
![图片[12]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-817.png)
Following these steps will make it easy for customers to optimize their product searches based on various criteria. This way, customers can enjoy a smoother shopping experience and find the products they want more easily, thus boosting their satisfaction. With a few simple steps, you can make your customers happier and shopping easier!
Shopping cart and checkout pages
In order to ensure smooth shopping for your customers at your online store, the shopping cart and checkout features must be easy to understand and fully functional. For customers to have an awesome shopping experience, they have to be able to manage the items in their cart easily and the checkout process has to be simple and effortless. That way, customers will be more satisfied and more willing to repurchase again!
WooCommerce defaults to using the appropriate block to create thecart respond in singingpay the billPage. Customers can add products to the cart and access it through the navigation bar.
![图片[13]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-818.png)
After confirming the contents of the shopping cart, the customer can choose"Keep checking out." button, fill in the necessary details and place your order.
![图片[14]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-819.png)
How to create a customized store page
Knowing how to use certain WooCommerce blocks, the next step involves combining them to create customized user-friendly store pages using the following blocks:
- Product Search
- Filter by price
- product category
- Featured Products
- All Products
To create this custom store layout, create a new page and follow the steps below.
1. Enter "Shop" as the page title.
![图片[15]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-820.png)
2. Using the same steps as before for adding blocks, add the"Product Search" Block. Do not apply any configuration.
![图片[16]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-821.png)
3. AddProduct Category List Blocks.
![图片[17]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-822.png)
On the Block Settings screen, set theDISPLAY STYLEset toDropdownThe
![图片[18]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-823.png)
4. Next, add"Filter by price" block . Do not configure anything for this block.
5. AddFeatured Products block and select the products to display. Apply the same configuration as the featured products block you made earlier.
![图片[19]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-825.png)
6. AddAll Products Blocks.
![图片[20]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-826.png)
For the setup of this block, set theCOLUMNSrespond in singingROWS Set the value to 2 and deselectShow Sorting DropdownThe
![图片[21]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-827.png)
7. Publish the page and view the results.
![图片[22]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-828.png)
![图片[23]-WooCommerce Blocks(块): 将 WooCommerce 功能添加到WordPress 网站-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/04/image-829.png)
Preview the store page.
This article details the various features of WooCommerce blocks, such as how to add product grids and featured products, how to use the powerful filter block, and more. It also focuses on the importance of shopping carts and checkout counters as they are the key to a smooth shopping experience for customers.
Wanting a website to look both intuitive and appealing requires a clever combination of various WooCommerce blocks. This process involves carefully selecting, configuring, and arranging the various blocks to ensure that they meet the store's functional needs as well as customer preferences.
Link to this article:https://www.361sale.com/en/8439The article is copyrighted and must be reproduced with attribution.
No comments