Skip to Main Content

Divi tutorial: How to use the shop module

Divi: the easiest WordPress theme to use

Are you looking for the best WordPress themes and plugins?

Download the best plugins and WordPress themes on Envato and easily create your website. Already more than 49.720.000 downloads. [EXCLUSIVE]

Divi was designed to be compatible with WooCommerce. To integrate WooCommerce, you need to install the latest version of WooCommerce.

WooCommerce is the ecommerce plugin that we recommend because it has the nicest set of features, interface, and follows coding best practices. After activating the plugin, you will see two new sections “WooCommerce” and “Products” added to your WordPress dashboard. You can use these areas to adjust your e-commerce settings and post new products. You can find the documentation  complete on WooCommerce here .

Please note that even though the builder includes various WooCommerce modules, you can also use WooCommerce by itself without the builder just fine. You can create standard pages for Checkout, Shopping Cart, etc. as shown in their documentation. You can also link directly to your woocommerce categories, or use the Shortcodes WooCommerce in a Divi text module. It gives you the freedom to do just about anything.

How to add a store module to your page

Before you can add a store module to your page, you must first jump into Divi Builder. Once the Divi theme is installed on your website, you will notice a button Use Divi Builder above the post editor whenever you create a new page. Click on this button to activate Divi Builder and access all the Divi Builder modules. Then click on the button Use Visual Builder to start the generator in visual mode. You can also click the button Use Visual Builder when you browse your website in the foreground if you are connected to your WordPress dashboard.

divi builder

Once you have entered Visual Builder, you can click the gray plus button to add a new module to your page. New modules can only be added inside rows. If you are starting a new page, remember to add a row to your page first. We have great tutorials on using Divi's line and section elements.

shop module divi.png

Locate the shop module in the list of modules and click on it to add it to your page. The list of modules is searchable, which means you can also type the word "shop" and then click enter to automatically search and add the shop module! Once the module is added, you will be greeted by the module options list. These options are separated into three main groups: Contents , Design et Advanced .

Use case example: showcasing the most recent products on a homepage using the Shop module

For this example, I'll be using the shop module to display the most recent products on a home page.

Here is the page with the four products presented.

display products on an accel page divi.jpg

Let's start.

Use the visual builder to add a regular section with a full width row (1 column). Change the row parameter to make it fullwidth with a custom gutter width of 2.

zone option divi.png

Then add a shop module to the line.

insert the boutique module divi.png

Update the module settings as follows:

Easily create your website with Elementor

Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]

Content options

Type: Recent products
Number of products: 4

Design options

Icon Hover Color: # ea1d63
Title Police: Open Without
Title Font Size: 24px
Police Award: Open Without
Price Font Size: 20px

Advanced options (custom CSS)

Title:

text-align: center;
background: #fff;
margin-top: -10px! important;

Price:

text-align: center;
background: #fff;
upholstery-down: 15px;

That's all! Here is the final result.

product section divi.jpg

Shop content options

In the content tab, you will find all the content elements of the module, such as text, images and icons. All that controls what appears in your module will always be found in this tab.

Type

Choose the type of products you want to display in your product feed. You can choose from Recent Products which will display all of your products in chronological order, Featured Products, Sale Products, Top Selling Products, or Top Rated Products.

Number of products

Define the number of products you want to display. You will need to have products made for anything to appear in this module.

Include Categories

Choose the categories you want to include.

Number of columns

Choose the number of columns to display in your store module. 4 columns should be used for a row of 1 column. 3 columns should be used for a column that occupies 3/4 of row space. Column 2 should be used for a column that takes up 1/2 of the light's space. One column should be used for a column 1/4 of row space.

Rearrange By

Choose how you want your products to be ordered. Choose to sort by default Sort, Popularity, Rating, Date, Price low to high, Price high to low, oldest to newest, newest to oldest.

Admin Label

This will change the module label in the constructor for easy identification. When you use the WireFrame view in Visual Builder, these labels appear in the module block of the Divi Builder interface.

Divi: The best WordPress theme of all time!

With over 701.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]

Workshop design options

In the Design tab, you will find all the module styling options, such as fonts, colors, sizing and spacing. This is the tab you will use to change the appearance of your module. Each Divi module has a long list of design settings that you can use to change anything.

setting shop divi.png

Overlay icon

When you hover over an item in the Shop module, an overlay icon appears. You can adjust the color used for this icon by using the color picker in this setting.

Color of the overlay

When you hover the mouse over an item in the Shop module, an overlay color appears at the top of the image and below the shop title text and icon. By default, a semi-transparent white color is used. If you want to use a different color, you can adjust the color using the color picker in this setting

Selector Icon

Here you can choose a custom icon to display when a visitor hovers over the store items in the module.

Color of the sales badge

When an item is on sale, a sale badge appears on the product image. With this setting you can adjust the color used for the badge background.

Title font

You can change the font of your title text by selecting the desired font from the drop-down menu. Divi offers dozens of great fonts offered by Google Fonts. By default, Divi uses the Open Sans font for all the text on your page. You can also customize the style of your text using bold, italics, capitals and underline options.

Title Font Size

Here you can adjust the size of your title text. You can drag the range slider to increase or decrease the size of your text, or directly enter the desired text size value in the input field to the right of the slider. The input fields support different units of measure, which means you can enter "px" or "em" depending on your size value to change its unit type.

Title text color

By default, all the text colors in Divi appear in white or dark gray. If you want to change the text color of your title, choose the desired color from the color picker using this option.

Spacing of title letters

Letter spacing affects the space between each letter. If you want to increase the space between each letter in your title text, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the slider. The input fields support different units of measure, which means you can enter "px" or "em" depending on your size value to change its unit type.

Height of the title line

Line height affects the space between each line of your title text.If you want to increase the space between each line, use the range slider to adjust the space or enter the desired spacing size in the input field located to the right of the cursor. The input fields support different units of measure, which means you can enter "px" or "em" depending on your size value to change its unit type.

Price Policy

You can change the font of your price text by selecting your desired font from the drop-down menu. Divi comes with dozens of great fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all the text on your page. You can also customize the style of your text using bold, italics, capitals and underline options.

Price Font Size

Here you can adjust the size of your price text. You can drag the range slider to increase or decrease the size of your text, or directly enter the desired text size value in the input field to the right of the slider. The input fields support different measurement units, which means you can enter "px" or "em" depending on your size value to change its unit type.

Price text color

By default, all the text colors in Divi appear in white or dark gray. If you want to change the color of your price text, choose the desired color from the color picker using this option.

Spacing of price letters

Letter spacing affects the space between each letter. If you want to increase the space between each letter in your price text, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the slider. The input fields support different units of measure which means you can enter "px" or "em" depending on your size value to change its unit type.

Height of the price line

Row height affects the space between each row of your pricing text If you want to increase the space between each row, use the range slider to adjust the space or enter the desired spacing size in the input field located to the right of the cursor. The input fields support different units of measure which means you can enter "px" or "em" depending on your size value to change its unit type.

Easily create your Online Store

Download free WooCommerce, the best e-commerce plugins to sell your physical and digital products on WordPress. [Recommended]

Advanced options of the shop

On the advanced tab, you'll find options that more experienced web designers might find useful, such as custom CSS and HTML attributes. Here you can apply custom CSS to any of the module's many elements. You can also apply custom CSS classes and IDs to the module, which can be used to customize the module in your child theme's style.css file.

advance option boutique divi.png

CSS ID

Enter an optional CSS ID to use for this module. An ID can be used to create a custom CSS style or to link to particular sections of your page.

CSS class

Enter the optional CSS classes to use for this module. A CSS class can be used to create custom CSS styling. You can add multiple classes, separated by a space. These classes can be used in your Divi child theme or in the custom CSS style sheet that you add to your page or to your website using the Divi theme options or the Divi Builder page settings.

Custom CSS

Custom CSS can also be applied to the module and any of the module's internals. In the Custom CSS section, you will find a text field where you can add custom CSS style sheets directly to each element. CSS entries in these settings are already wrapped in style tags. So just enter the CSS rules separated by semicolons.

Visibility

This option allows you to control the devices on which your module appears. You can choose to deactivate your module on tablets, smartphones or desktops individually. This is useful if you want to use different mods on different devices, or if you want to simplify the mobile design by eliminating certain elements from the page.

Other Divi tutorials

This article features 1 comment

  1. Dear Bair,

    Thank you for your contribution.
    I have a question about the store module and would be very happy if you could answer it for me.
    And I would like individually selected products to be visible in my shop module. I thought this could be achieved by adopting “star products”. But after selecting this option, I can't find any way to select my desired products for the module. Am I missing something? Do you have an explanation?

    Sincerely, Frederik

Leave a comment

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

This site uses Akismet to reduce unwanted. Learn more about how your comments data is used.

Back To Top
12 shares
Share4
tweet2
Save6