How to Use the Products by Attribute WooCommerce Block

by | Dec 16, 2021 | Etcetera | 0 comments

As your WooCommerce store grows, so will the number of merchandise that you just be offering. One of the most easiest techniques to categorize other pieces is through the usage of options reminiscent of colour or dimension. The Merchandise through Characteristic WooCommerce block allows you to show merchandise that have compatibility particular traits. That manner, shoppers can to find the precise sizes and styles that have compatibility their wishes.

On this article, we’ll display you how one can upload the Merchandise through Characteristic block in your posts and pages. We’ll speak about how one can configure the component, and pass over a number of guidelines for the usage of it successfully.

Let’s get began!

Methods to Upload the Merchandise through Characteristic WooCommerce Block to Your Publish or Web page

The Merchandise through Characteristic block permits you to make a choice from all of the product traits for your WooCommerce retailer. As soon as you choose an characteristic, the component will show a product grid that showcases all pieces with that function.

For instance, you’ll be able to use the Merchandise through Characteristic block to show clothes pieces in a selected dimension or colour. You may additionally represent merchandise through logo or subject material.

To make use of the block, open the Block Editor and make a choice the + button. Then, kind “merchandise through characteristic” into the quest bar:

Adding a Products by Attribute block in WooCommerce

Notice that two blocks percentage very identical names. Then again, the Clear out Merchandise through Characteristic component works in a different way from the only we’re the usage of. With that block, customers can see an inventory of to be had attributes and make a choice those they wish to browse.

When you insert the Merchandise through Characteristic block, WooCommerce will display you an inventory of the attributes to be had on your merchandise. Notice that you’ll be able to at all times upload or edit traits in case you’re now not glad together with your present choices:

See also  How To Add Lazy Loading To WordPress

A list of product attributes.

As soon as you choose an characteristic, the block will grow to be right into a product grid. That grid will show the entire pieces with that function.

Within the screenshot under, you’ll be able to see a product grid for the Blue characteristic in our take a look at retailer:

A product grid for the blue attribute

That pink hoodie additionally is available in blue, but it surely’s now not the colour we selected for its featured symbol. That’s one thing to bear in mind when including the Merchandise through Characteristic block inside of your retailer.

Merchandise through Characteristic WooCommerce Block Settings and Choices

The Merchandise through Characteristic block features a huge vary of formatting and configuration choices. If you choose the component, you’ll see a formatting menu seem above it. That menu accommodates choices for (1) converting the block’s width and (2) enhancing your number of characteristic(s):

The Product by Attribute block's formatting settings

Settling on the block and clicking at the equipment icon within the top-right nook of the display will open its configuration menu. The Format choices (1) assist you to alternate the choice of columns and rows within the block’s product grid. You’ll be able to additionally use the Align Closing Block surroundings (2) to align the Upload to basket buttons inside the grid:

Changing the layout for the Product by Attribute block in WooCommerce

Transferring on, the Content material phase permits you to select which parts will seem inside the Merchandise through Characteristic block. By way of default, every product contains its name (1), value (2), ranking (3), and an Upload to basket button (4):

Choosing what elements to display within the Products by Atrribute block

Proceed to scroll down the block’s settings menu, and also you’ll see a tab known as Clear out through Product Characteristic (1).This phase allows you to edit your number of attributes. In the end, Order By way of (2) can alternate the order by which merchandise seem:

See also  Understanding the Unique Security Features Included in Divi Hosting by Cloudways

Changing the order in which products appear within your block

When you’re proud of the format of the Merchandise through Characteristic block and the weather it contains, you’ll be able to save your put up or web page. If you happen to view the block from the entrance finish, you’ll see a product grid consisting of all pieces with the attributes you selected. Then again, there’s nonetheless some paintings to do if you wish to be sure that the format is as user-friendly as imaginable.

Guidelines and Highest Practices for The use of the Merchandise through Characteristic WooCommerce Block

The Merchandise through Characteristic block allows you to upload a customized product grid any place to your WordPress web site. Then again, the component doesn’t come with a header that describes the kinds of pieces within the grid.

To steer clear of confusion, we advise adding a Heading block that explains your preferred attributes:

A Products by Attribute block with a descriptive heading

Additionally, the Merchandise through Characteristic block will have to come with all of the identical parts as the opposite product grids for your retailer. That implies each and every merchandise will have to show its value, name, and an Upload to cart button. Moreover, if you select to turn scores for different merchandise, you’ll be able to additionally show them within the Merchandise through Characteristic block.

Incessantly Requested Questions In regards to the Merchandise through Characteristic WooCommerce Block

Hanging and configuring the Merchandise through Characteristic block is modest. Then again, in case you nonetheless have any questions on the usage of the component, this phase goals to respond to them.

How Many Attributes Can I Select With the Merchandise through Characteristic Block?

The Merchandise through Characteristic block permits you to make a choice as many attributes as you need. Then again, opting for more than one traits could be complicated for customers, until the attributes are quite similar to one another.

See also  Understanding WooCommerce Roles and Capabilities

How Can I Upload New WooCommerce Attributes?

Possibly you’re now not proud of the number of attributes that you just see whilst you use the Merchandise through Characteristic block. If that is so, you’ll be able to upload new choices at any time. Then again, after adding new WooCommerce attributes, be sure you replace the goods that fall underneath the ones classes.

The place Must I Position the Merchandise through Characteristic Block?

The Merchandise through Characteristic block is an ideal have compatibility for store house pages. By way of exhibiting the component on your house web page, you’ll be able to power consideration to trending merchandise, and exhibit pieces that would possibly now not get a lot consideration another way.


WooCommerce blocks give you more than one techniques to show customized product grids inside of your retailer. For instance, the Merchandise through Characteristic block allows you to display pieces that meet particular traits, reminiscent of sizes, colours, and some other choices to be had for your store.

You’ll be able to configure the Merchandise through Characteristic block to show as many attributes as you need. The component additionally will provide you with whole keep an eye on over its format and show settings, together with product costs, scores, and Upload to cart buttons.

Do you will have any questions on the usage of the Merchandise through Characteristic WooCommerce block? Let’s speak about them within the feedback phase under!

Featured symbol by means of ProStockStudio /

The put up How to Use the Products by Attribute WooCommerce Block gave the impression first on Elegant Themes Blog.

WordPress Maintenance Plans | WordPress Hosting

read more


Submit a Comment