shop module

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

WooCommerce is the e-commerce plugin we recommend because it has the nicest set of features, interfaces, 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 full documentation 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 WooCommerce Shortcodes in a Divi text module. It gives you the freedom to do just about anything.

shop module

How to add a shop module to your page

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

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.

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: Content, Design, and Advanced.

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

For this example, I’m going to use the shop module to display the most recent products on a home page.

Let’s get started.

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.

Then add a store module to the line.

Update the module settings as follows:

Content Options

Type: Recent products
Number of products: 4

Design options

Icon Hover Color: # ea1d63
Title Font: Open
Untitled Font Size: 24px
Font Price: 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;
padding-bottom: 15px;

That’s all!

Store content options

In the content tab, you will find all the content elements of the module, such as text, images, and icons. Everything 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.

Shop floor design options

In the Design tab, you will find all the styling options for the module, such as fonts, colors, sizing, and spacing. This is the tab that 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.

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.

Overlay color

When you hover the mouse over an item in the Store module, an overlay color appears at the top of the image and below the store 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.

Sale badge color

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, capital letters, 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.

Title letter spacing

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.

Title row height

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, capital letters, and underline options.

Read more: Divi Tutorial: How to use the Price Tables module

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 units of measure, 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.

Price letter spacing

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 price 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.

Advanced store options

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.

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 website using the Divi theme options or the settings on the Divi Builder page.

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.

 

For website maintenance service contact us.

Leave a comment

echo "";