Skip to content

How to Create WooCommerce Custom Product Loop in Elementor?

Table Of Content

Do you want to show your WooCommerce product in a custom layout? The default WooCommerce product layout is not very customizable, so your online store may look similar to others that use WooCommerce. Creating a custom product loop allows you to stand out from the rest with your custom design.

With the Product Listing widget from The Plus Addons for Elementor, you can easily design a custom loop for your WooCommerce product in Elementor.

To check the complete feature overview documentation of The Plus Addons for Elementor Product Listing widget, click here.

Requirement  – This widget is a part of The Plus Addons for Elementor, make sure its installed & activated to enjoy all its powers.

Before You Start

  • Edition: Pro — the Woo Product Listing widget is part of The Plus Addons for Elementor Pro. It does not appear in the widget panel of the free plugin.
  • WooCommerce installed and active, with some published products.
  • Elementor Pro for the Dynamic Tags used in this example. To build the card without Elementor Pro, use The Plus Addons Woo Builder widgets instead — see create a custom product skin.
  • Advanced Custom Fields only if you want extra fields like the ones below. It is optional.
  • Widget to enable: Woo Product Listing, switched on under ThePlus Settings > Widgets.

To do this, make sure you’ve added some products to your WooCommerce store, then follow the steps – 

Youtube video

First, you have to create a custom product template using Elementor. For instance, we will be creating this custom product layout design.

Product listing custom skin preview

For this design, we will need the Advanced Custom Fields (ACF) plugin for adding some custom fields and Elementor Pro plugin for fetching dynamic data.

Note: The Advanced Custom Fields (ACF) plugin is only required if you want to add additional fields but it is not mandatory to use. You can also create a custom product loop using other widgets.

Add Custom Fields to WooCommerce Product Listing

We’ll create a couple of custom fields for background color and rating.

1. To do this from the Dashboard, go to ACF > Field Groups and click on Add New button. 

2. Add a name to the field group.

3. Then click on the +Add Field button to add a field for the product background color. Add a field label, field name and select color picker as the field type.

Acf product color

4. Again, click on the +Add Field button to add a rating field. Add a field label, field name and select number as the field type.

5. Once done, from the Location section, we’ll set the location to Product under Rules.

Acf custom field location

6. Once done, click on the Update button.

7. Then you have to add value in the custom fields on each product.

Add value in product custom fields

Create a Custom Product Template for WooCommerce

1. To do this from the Dashboard, go to Templates and click on Add New, then select Section as the template type, give a name to the template, then click on Create Template button.

Create elementor product template

2. We’ll add a Container and then add the TPAE Row Background widget to add the product background color. Select Solid Color from the Select Option dropdown. 

Then click on the background color field and click on the Dynamic Tags, then select the custom field under ACF.

Dynamic product background color

3. Add a heading widget to add the product tag and style it accordingly.

4. To add the product image, we’ll use the TPAE Creative Image widget, in the Choose Image field, click on the Dynamic Tags and select Product Image under WooCommerce.

Dynamic product image

Style it according to your requirement.

5. To add the add to cart button, we’ll use the TPAE Advanced Buttons widget. Select Button Type as CTA Button, then select the appropriate style and add button text. 

Now to make the button link dynamic, click on the Dynamic Tags in the Link field and select Add To Cart under WooCommerce.

Dynamic product button link

Style it further according to your requirement.

6. To add the product title, we’ll use the Elementor Heading widget and to make it dynamic, click on the Dynamic Tags in the Title field and select Product Title under WooCommerce.

Dynamic product title

Style it further according to your requirement.

7. Now, to add the product rating we’ll use the Elementor Star Rating widget, to make it dynamic click on the Dynamic Tags in the Rating field and select the custom field under ACF. 

Dynamic product rating

Style it further according to your requirement.

8. Then, to add the product price, we’ll use the Elementor Heading widget, and to make it dynamic, click on the Dynamic Tags in the Title field and select Product Price under WooCommerce.

Dynamic product price

Style it further according to your requirements.

9. Once done, publish the template.

Note: Following this process, you can use different widgets to create the layout as well and make them dynamic using the Dynamic Tags of Elementor Pro.

Use the Template With the Product Listing Widget

Once you have created your custom product layout, use it with the Product Listing widget.

1. Add the Product Listing widget on a page or template, and select the appropriate listing type.

2. Then select Custom Skin from the Style dropdown.

3. Now, you have to select your template from the Select a template dropdown.

You can turn on the Multiple Loops toggle to use multiple layout designs together for your listing. You can use up to 5 templates together.

Note: In order to use Multiple Loops, you have to create separate custom templates for each loop template.

If you are using multiple loops, you can arrange the templates in reverse or random order from the Template Order dropdown.

4. Then, you have to select the appropriate layout type from the Layout dropdown.

Note: For using Masonry and Metro layout, you have to design your templates accordingly.

Now your products will show in your custom layout.

Also, read How to Create a WooCommerce Product Archive Page in Elementor.

Settings Reference

SettingWhereOptionsDefault
StyleContent > Content LayoutStyle 1 to 3, Custom SkinStyle 1
Select a templateContent > Content Layout (Custom Skin)Your saved templatesNone
Multiple LoopsContent > Content Layout (Custom Skin)Show / HideHide
Loop Template 2 to 5Content > Content Layout (Multiple Loops)Your saved templatesNone
Template OrderContent > Content Layout (Multiple Loops)Default, Reverse, RandomDefault

Limitations

  • Pro only. The Woo Product Listing widget is not in the free plugin.
  • Static widgets show the same content on every card. Every product-specific value must come from a Dynamic Tag or a Woo Builder widget.
  • Up to five templates with Multiple Loops.
  • Masonry and Metro need templates designed for them, since tile sizes vary.

Troubleshooting

Every card shows the same product

The template uses fixed text or images. Switch those fields to Dynamic Tags, or use Woo Builder widgets.

My template is not in Select a template

Save it under Templates > Saved Templates as a Section or Container, then reload the editor.

Related Docs

Related Frequently Asked Questions

Related Docs