Skip to content
DiviMise

Documentation

Product Grid

The Product Grid module shows your WooCommerce products in a neat grid on any page you build with Divi 5. You choose which products to show, what to show on each product card, how the pages are split, and how everything looks.

All settings are found in the module's settings panel in the Visual Builder. They are split into three tabs: Content, Design, and Advanced.

Content Tab

General Settings

  • Card Layout: Pick the card style you like. You can choose from Card 1 to Card 7.
  • Background: Set a background color for the whole module.
  • Admin Label: Give the module a name to help you find it in the Builder. Visitors will not see this name.

Product Query

These settings decide which products appear in your grid.

  • Product Per Page: The number of products to show on each page.
  • Product Type: Choose which kind of products to show: Default, Latest, Featured, Sale, Best Selling, Top Rated, or Product Category.
  • Include Categories: Tick the categories you want to show. This appears only when Product Type is set to Product Category.
  • Exclude Categories: Tick the categories you want to hide. This appears only when Product Type is set to Product Category.
  • Search & Select Products: Search for products by name and pick the exact ones you want to show.
  • Exclude Product: Pick the products you do not want to show.
  • Offset: The number of products to skip from the start. For example, if you enter 3, the grid begins from the 4th product.
  • Sort By: Choose how to sort the products: Date, Modified, Title, ID, Slug, Random, or None.
  • Product Order: Show products in Ascending or Descending order.
  • Hide Out of Stock: Turn this on to hide products that are out of stock.
  • Thumbnail Size: Choose the size of the product image: Full, Large, Medium, Small, Thumbnail, WooCommerce Thumbnail, or WooCommerce Single.

Display Settings

Use these settings to choose what appears on each product card.

Buttons

  • Add to cart?: Show or hide the Add to Cart button.
  • Quick view?: Show or hide the Quick View button.
  • Wishlist?: Show or hide the Wishlist button.
  • Add to Compare?: Show or hide the Add to Compare button.

Product details

  • Show Title?: Show or hide the product name.
  • Show Category?: Show or hide the product category.
  • Show Price?: Show or hide the product price.
  • Show Rating?: Show or hide the star rating.
  • Show Badge?: Show or hide the product badges.

Badge text

  • Sale Badge Text: The text on the sale badge. Type {discountLabel} to show the discount percentage automatically.
  • Percentage Badge Text: The text on the percentage badge. Type {discountLabel} to show the discount percentage automatically.
  • Out of Stock Badge Text: The text on the out of stock badge.
  • New Badge Text: The text on the new product badge.
  • Low Stock Badge Text: The text on the low stock badge.

Images

  • Show Gallery Images?: Show or hide the product gallery images.
  • Show Variation Swatches?: Show or hide the variation swatches (for example, color or size options).

Turn the product images on each card into a swipeable slider.

  • Show Gallery Carousel?: Show or hide the gallery slider.
  • Arrow Navigation?: Show or hide the next and previous arrows on the gallery slider. This appears only when Gallery Carousel is on.
  • Navigation?: Turn the small dots under the gallery slider on or off. This appears only when Gallery Carousel is on.

Pagination

  • Pagination Type: Choose how visitors move through your products:
    • None: No pagination. Only the first page of products is shown.
    • Number: Page numbers, like 1, 2, 3.
    • Load More: A button that loads more products when clicked.
    • Infinity Scroll: More products load automatically when the visitor scrolls down.

Design Tab

Most design groups have the same basic controls. To keep this guide short, they are explained here once:

  • Font / Text: Change the font, size, color, and style of the text.
  • Background: Set a background color.
  • Spacing: Set the space inside (padding) and outside (margin) the element.
  • Border: Add a border, set its width and color, and round the corners.
  • Box Shadow: Add a shadow around the element.

Grid Layout

  • Columns: The number of columns in the grid. You can choose from 1 to 6.
  • Gutter Size: The space between products. You can enter a value from 0 to 100.

Pagination

  • Alignment: Place the pagination on the left, center, or right.
  • Background Color: Background color of the pagination buttons.
  • Active Background Color: Background color of the current page button.
  • Text Color: Text color of the pagination buttons.
  • Active Text Color: Text color of the current page button. This works for Number pagination only.
  • Border Color: Border color of the pagination buttons.
  • Active Border Color: Border color of the current page button. This works for Number pagination only.
  • Pagination Button: Change the font, border, and spacing of the buttons.

Product Card Style

  • Background: Background color of the product card.
  • Spacing: Space inside and outside the card.
  • Content Spacing: Space around the content inside the card.
  • Adjust Content: Move the card content up or down.
  • Border: Border of the product card.
  • Box Shadow: Shadow of the product card.

Product Title

  • Title: Font style of the product name.
  • Background, Spacing, Border, Box Shadow: Style the area around the title.

Product Category

  • Category: Font style of the category name.
  • Background, Spacing, Border, Box Shadow: Style the area around the category.

This group has three tabs.

Product Swatch tab (small images shown under the card image)

  • Image Width: Width of each swatch image.
  • Image Height: Height of each swatch image.
  • Object Fit: How the image fills its box. Cover fills the whole box and may crop the image. Contain shows the full image and may leave empty space.
  • Border: Border of the swatch images.
  • Box Shadow: Shadow of the swatch images.
  • Filters: Add image effects like blur, brightness, or contrast.
  • Alignment: Place the swatches on the left, center, or right.
  • Background: Background color of the swatch area.
  • Spacing: Space around the swatch area.

Carousel Gallery tab (swipeable product images)

  • Image Width: Width of each gallery image.
  • Image Height: Height of each gallery image.
  • Object Fit: How the image fills its box (Cover or Contain).
  • Border: Border of the gallery images.
  • Box Shadow: Shadow of the gallery images.
  • Filters: Add image effects to the gallery images.
  • Background: Background color of the gallery area.
  • Spacing: Space around the gallery area.

Pagination tab (dots under the gallery slider)

  • Normal Bullet: Color of the dots that are not active.
  • Active Bullet: Color of the active dot.

Price

Regular tab

  • Alignment: Place the regular price on the left, center, or right.
  • Regular Price: Font style of the regular price.
  • Background, Spacing, Border, Box Shadow: Style the area around the regular price.

Sale tab

  • Sale Price: Font style of the sale price.
  • Background, Spacing, Border, Box Shadow: Style the area around the sale price.

Rating

  • Alignment: Place the star rating on the left, center, or right.
  • Active Star Color: Color of the filled stars.
  • Review Count Color: Color of the review count text.
  • Background, Spacing, Border, Box Shadow: Style the area around the rating.

Add to Cart

  • Button Text: Font style of the button text.
  • Background: Background color of the button.
  • Spacing: Space inside and outside the button.
  • Border: Border of the button.
  • Box Shadow: Shadow of the button.

View Cart

The View Cart button appears after a visitor adds a product to the cart.

  • View Cart Button: Font style of the button text.
  • Background: Background color of the button.
  • Spacing: Space inside and outside the button.
  • Border: Border of the button.
  • Box Shadow: Shadow of the button.

Out of Stock

  • Out of Stock Text: Font style of the out of stock text.
  • Background, Spacing, Border, Box Shadow: Style the area around the text.

Compare

Button tab

  • Compare Button: Font style of the button text.
  • Background: Background color of the button.
  • Spacing: Space inside and outside the button.
  • Border: Border of the button.
  • Box Shadow: Shadow of the button.

Icon tab

  • Background: Background color behind the icon.
  • Icon Color: Color of the icon.
  • Icon Size: Size of the icon.
  • Border: Border around the icon.
  • Box Shadow: Shadow around the icon.

Wishlist

  • Background: Background color behind the icon.
  • Icon Color: Color of the icon.
  • Icon Size: Size of the icon.
  • Spacing: Space around the icon.
  • Border: Border around the icon.
  • Box Shadow: Shadow around the icon.

Quick View

  • Background: Background color behind the icon.
  • Icon Color: Color of the icon.
  • Icon Size: Size of the icon.
  • Spacing: Space around the icon.
  • Border: Border around the icon.
  • Box Shadow: Shadow around the icon.

Badge

There is one group for each badge type: Sale, New, Low Stock, and Out of Stock. Each group styles its own badge.

  • Sale Badge Text / New Badge Text / Low Stock Badge Text / Out of Stock Badge Text: Font style of the text on that badge.
  • Background: Background color of the badge.
  • Spacing: Space inside and outside the badge.
  • Border: Border of the badge.
  • Box Shadow: Shadow of the badge.

Module Level

These settings change the whole module.

  • Spacing: Space inside and outside the module.
  • Border: Border of the module.
  • Box Shadow: Shadow of the module.
  • Sizing: Set the width and height of the module.
  • Filters: Add visual effects to the whole module.
  • Transform: Scale, rotate, or move the module.
  • Animation: Add an animation that plays when the module appears on screen.

Advanced Tab

These are the standard Divi settings.

  • CSS ID & Classes: Add your own CSS ID and class names to the module.
  • Custom CSS: Add your own CSS to style individual parts of the module. You can style these parts: Product Title, Rating, Category, Regular Price, Sale Price, Image Swatch Wrapper, Image Swatch, Content Section, Single Card, Add To Cart, View Cart, Quick Action Wrapper, Quick Action Button, Badge Wrapper, Badge, Gallery Wrapper, Gallery Image, Gallery Image Wrapper, and Gallery Swiper Image.
  • Conditions: Show or hide the module based on rules you set.
  • HTML Attributes: Add custom HTML attributes to the module.
  • Visibility: Show or hide the module on desktop, tablet, or mobile.
  • Transition: Set how smoothly changes happen, such as on hover.
  • Position: Set the position type and offsets of the module.
  • Scroll: Add effects that react when the visitor scrolls the page.