The use of Divi 5’s Loop Builder To Construct A Dynamic WooCommerce Class Web page

by | Jan 30, 2026 | Etcetera | 0 comments

WooCommerce magnificence pages often look the equivalent out of the sector, alternatively Divi 5 changes that. With the Loop Builder, you’ll have the ability to redesign how products appear, using dynamic content material subject material that pulls product data like titles, featured pictures, and prices for each and every products in a category. Pair it with Divi 5’s CSS Grid, and likewise you get entire regulate over the construction.

In this tutorial, you’ll learn how to create a custom designed magnificence internet web page that robotically updates with products from the most efficient magnificence, no code or further plugins required previous WooCommerce.

How To Create A WooCommerce Magnificence Internet web page

Will have to you’ve ever organize a WooCommerce store, what the default magnificence pages appear to be: products arranged in a basic grid with an image, establish, value, and Add to Cart button, all following the equivalent template without reference to which magnificence you’re viewing.

default WooCommerce category page

Switch matter issues, and the development relatively changes. Your “New Arrivals” magnificence turns out very similar to your “Sale” magnificence, which turns out very similar to “Apparatus,” despite the fact that each magnificence serves a fully different purpose in your store.

It’s sensible enough to get a store working, alternatively it doesn’t give you the design flexibility you need for a branded purchasing groceries enjoy. You might have considered trying your New Arrivals magnificence to truly really feel editorial, with large product pictures and generous white space, while your Sale internet web page prioritizes discounts with a tighter construction that puts pricing front and center.

The ones ingenious alternatives typically require custom designed code or a developer who can keep watch over your theme data, turning what’s going to need to be a design job proper right into a technical enterprise. Divi 5 incorporates two choices that artwork together to help you to design magnificence pages visually: the Loop Builder and CSS Grid.

Use CSS Grid To Keep watch over The Layout

CSS Grid provides you with regulate over how products are arranged on the internet web page. You define the number of columns in your construction, the spacing between rows and columns, and the way in which the development adapts right through different units.

Chances are high that you’ll organize 4 columns on a desktop for a browsable grid view, drop that to two on drugs where show space is tight, and move to a single column on cellular for easy thumb scrolling. All of this may occasionally get configured in one place relatively than writing separate layouts for each device.

See also 

Keep an eye on the gaps between items to create an airy truly really feel, or tighten them up for a compact, catalog-style presentation. You’ll have the ability to even offset positive product taking part in playing cards using Grid Offset Rules to create magazine-style staggered layouts that break up the monotony of a very good grid.

Grid handles the spacing, rhythm, and responsive behavior, so that you’ll have the ability to assemble the whole thing from minimal editorial layouts to dense product sales pages that pack in products while maintaining visual hierarchy.

Be informed The whole thing About Divi 5’s Grid Machine

Use The Loop Builder To Assemble Custom designed Magnificence Pages

The Loop Builder populates your CSS Grid construction with actual product content material subject material and makes it artwork right through different categories. It acts as a template engine. You design one product card construction (the image, establish, value, and button affiliation), and Divi robotically repeats that design for each and every product throughout the magnificence the buyer is viewing.

When any individual lands in your Shoes magnificence, the Loop Builder pulls in the entire shoe products and displays them using your card design. When they switch to Apparatus, it does the equivalent with accessory products, without you development separate layouts for each magnificence.

This transforms your Grid construction proper right into a dynamic system. You’re now not manually striking individual product packing containers into your development; you’re creating a template that responds on your store’s live inventory and updates robotically each time products are added, removed, or modified.

Be informed The whole thing About Divi 5’s Loop Builder

Assemble Your Dynamic Magnificence Internet web page (Step By means of Step)

We’ll assemble a WooCommerce magnificence construction that looks like this: a modern grid of products underneath a bold title, with each products styled as an individual card that comes with rounded corners, clean typography, and ambitious CTA buttons.

layout preview

Throughout the steps ahead, you’ll design a single loop construction on your product card, wrap it in a responsive grid, and assign it on your WooCommerce magnificence template so it robotically populates for each and every magnificence.

1. Set Up Your WooCommerce Magnificence Template

Get began thru making a loyal template on your WooCommerce magnificence pages. From your WordPress dashboard, move to the Divi > Theme Builder and click on on Add New Template.

add new template

Make a selection Assemble New Template.

build new template

Make a choice Products in Specific Categories and make a choice the category you want to turn your construction in (the ones are your WooCommerce product categories).

choose category

As quickly because the template turns out throughout the builder, click on on Add Custom designed Body and make a choice Assemble Custom designed Body.

add custom body

This opens the Visual Builder, where you’ll design the construction.

divi builder

2. Add A Grid Development For Your Products

The template starts blank. Let’s import a pre-designed magnificence internet web page construction to speed up the process. Search for Product and choose from somewhat numerous product templates:

See also  WP FixAll – WordPress Safety: Preserving Your Georgia Website online Secure…

Add a brand spanking new 2-column Multi-Row.

choose grid row

Define the number of columns you want on desktop. You’ll have the ability to moreover alternate the development template to try other layouts.

3. Turn The Grid Into A Dynamic Product Loop

Now that the grid development is in place, turn this construction proper right into a dynamic product report. Delete the extra columns and pass away a single column. This column becomes your product card template from which the other taking part in playing cards inherit their designs.

Make a choice the Column within your Grid and open its settings. Throughout the Content material subject material tab, move to Loop and make allowance the toggle. Make a selection Products for the reason that Publish Type, then make a choice your product magnificence underneath Most efficient Include Posts With Specific Words.

This tells Divi to duplicate the content material subject material of this column for each and every product returned thru your loop query.

home category

At this degree, the loop is vigorous, alternatively no longer anything else turns out however given that column remains empty. In the next step, you’ll design the product card (the template that repeats for each and every products throughout the magnificence).

4. Style The Product Card Template

Get started thru together with a 25px Border Radius to the column.

add border radius

The entire other items throughout the loop change robotically. You design once, and all style changes apply to others robotically.

Add Product Featured Image

Next, loop the product image throughout the background to provide our card development. Transfer to Content material subject material > Background > Image and hover over and click on on on the Dynamic Content material subject material risk. Click on on and make a choice Loop Product Featured Image.

Most efficient the images of products from the Space magnificence will populate. Now, add a 2-column Row throughout the column.

insert row

Add a black background color to concentrate on the row.

add black color

Add 80% absolute best and 10% bottom Margin and 20px left and correct Padding. The ones spacing values be sure that the product image remains clearly visible right through the rounded card and prevents it from touching the edges, in particular on darker backgrounds.

add padding and margin

Add 25px Border Radius to the Row to provide it a relentless glance.

add row border radius

Add Product Identify

Next, add a Heading module throughout the first column throughout the inserted row and loop the product’s title in it. First, customize the Heading module. We moreover added 12px absolute best and bottom Padding.

added H2

Loop the Product title. Transfer to Content material subject material > Text and hover over the Heading field. Click on on on the Dynamic Content material subject material icon and make a choice Loop Product Identify.

loop product title

The similar product titles inside of respective fields populate robotically.

looped product title

(Divi moreover lets you loop additional than just the title. You’ll have the ability to pull in dynamic fields like value, sale value, stock status, scores, transient description/description, custom designed fields, and additional. This lets you create detailed product taking part in playing cards that robotically change each time the product data in WooCommerce changes. You’ll have the ability to loop additional fields; for our construction, we’ll keep it simple.)

Add An Add To Cart Button

Add a Button module in the most efficient column and style it to check the design.

See also  WPMUDEV Club Plans And Pricing | Unlocking WordPress Energy: Your…

add a button

To make it dynamic, open Content material subject material > Link, click on at the Dynamic Content material subject material icon, and make a choice Loop Product URL. This connects the button straight away to each product throughout the loop. We moreover looped the product link to the Heading module.

Now, each and every card includes a button that links to the product internet web page, eliminating the desire for manual updates when your products alternate.

5. Customize The Grid Development

The category internet web page is able. So that you can upload quite of style to how your taking part in playing cards appear on show, switch to each different pre-designed Grid row development.

Or use the Grid Offset editor so that you could upload a custom designed rule. Transfer to Design > Layout > Add Offset Rule. Proper right here, we added a Column Span rule thinking about each and every third products throughout the grid.

If you want to design your own Grid development, watch this video:

Subscribe To Our YouTube Channel

6. Check out Responsiveness And Put up

Be certain your product taking part in playing cards look very good on desktop, tablet, and cellular. Grid settings are responsive, so take a look at that the spacing, text dimension, and buttons truly really feel natural on smaller displays.

If the whole thing turns out correct, return to the Theme Builder and click on on Save. Move out, and make sure to spot All Changes Saved quicker than leaving the builder.

all changes saved

Your custom designed magnificence internet web page is now live, and WooCommerce will robotically populate it with products from the category you assigned. Each and every time inventory changes, the construction updates on its own.

Take a look at The Loop Builder In Divi 5 These days

A default WooCommerce magnificence internet web page is sensible, alternatively it rarely feels custom designed. By means of combining Divi 5‘s Loop Builder with CSS Grid, you’ve created a construction that looks custom designed, works on each and every device, and updates itself as inventory changes. The product card, spacing, and button styling are yours, alternatively the content material subject material stays dynamic.

From proper right here, copy the construction for various categories, adjust the grid presets for more than a few aesthetics, or add additional dynamic fields like sale value, scores, or stock badges.

The put up The use of Divi 5’s Loop Builder To Construct A Dynamic WooCommerce Class Web page seemed first on Chic Topics Weblog.

WordPress Web Design

[ continue ]

WordPress Maintenance Plans | WordPress Hosting

read more

0 Comments

Submit a Comment

DON'T LET YOUR WEBSITE GET DESTROYED BY HACKERS!

Get your FREE copy of our Cyber Security for WordPress® whitepaper.

You'll also get exclusive access to discounts that are only found at the bottom of our WP CyberSec whitepaper.

You have Successfully Subscribed!