Skip to main content

The Woo Product Add to Cart Module (Divi 5)

Learn how to use the Woo Add to Cart module in Divi 5 to create custom, conversion-focused buttons for your WooCommerce store.

Updated this week

The Woo Add to Cart module in Divi 5 lets you place fully customizable add-to-cart buttons anywhere on your product pages or layouts. You can control the button's text, style, and alignment to match your store's design while making it easy for customers to add products to their cart without relying on default WooCommerce templates.

Note: Before you can use the Divi Woo Product Add to Cart module, you'll need to have WooCommerce installed on your website.

Add The Divi Woo Product Add to Cart

  1. Click the Green Plus icon to insert a Row.

  2. Click the Gray Plus icon inside the Row, which will show the list of all available Divi modules.

  3. Open the WooCommerce folder.

  4. Find the Woo Product Add to Cart module and click on it to load it. Alternatively, you can use the Search option to find it.

Divi 5 - Add the Woo Product Add to Cart module

The Divi Woo Product Add to Cart Module Use Cases

  1. Custom Product Pages: Add the module to product templates built with Divi, so each item has a styled Add to Cart button that matches your brand.

  2. Landing Pages with Featured Products: Place the button alongside product details on a sales or promotional page, allowing users to add items to their cart without visiting the full product page.

  3. Product Bundles or Upsells: Insert add-to-cart buttons directly into custom layouts that showcase bundles or related products, encouraging quick add-ons at checkout.

Woo Product Add to Cart Module Settings Breakdown

Once you've added the Woo Product Add to Cart module, its settings will automatically appear. This is where this module's content and design styles are configured. These settings are organized into three groups via the tabs at the top of the module:

The Content tab

The Content tab allows you to add the module's text content, change its background styles, and more.

Divi 5 - Woo Product Add to Cart Module's Content tab

  1. Content - Choose to which Product the Add to cart button is assigned to.

  2. Elements - Choose to display or hide the following elements:

    • Show Quantity Field - Display or hide the quantity field.

    • Show Stock - Display or hide the stock designated product's stock information.

  3. Link - Make the entire Woo Add to Cart module clickable, creating a seamless way to direct users to another page, section, or external site.

  4. Background - Choose the Woo Product Add to Cart module's background styles.

  5. Order - Choose the Flexbox order of the module.

  6. Admin Label - Select the Woo Product Add to Cart module's label text to help you keep things organized and easy to understand in the Visual Builder.


The Design tab

All the design styles and options for the Woo Product Add to Cart module are in this tab.

Divi 5 - Woo Product Add to Cart Module's Design tab
  1. Field Labels(applies to variable product) - Choose the Label's text styles (position, font, font weight, text color, size, and much more).

  2. Text - Choose the overall text styles for the Woo Product Add to Cart module.

  3. Fields - Choose the Quantity Input field styles, such as Background color, font, font weight, text color, size, and much more.

  4. Dropdown Menus(applies to variable product) - Choose the styles for the dropdown variation selection.

  5. Button - Choose the Add to Cart button's styles.

  6. Sizing - Choose the Woo Product Add to Cart module's sizing.

  7. Spacing - Choose the Woo Product Add to Cart module's spacing.

  8. Border - Choose the Woo Product Add to Cart module's border styles.

  9. Box Shadow - Choose the Woo Product Add to Cart module's Box Shadow styles.

  10. Filters - Choose the Woo Product Add to Cart module's filters, including hue shifts, saturation adjustments, and blending modes.

  11. Transform - Choose the Woo Product Add to Cart module's advanced design effects, including scaling, rotating, skewing, and translating.

  12. Animation - Choose the Woo Product Add to Cart module's animation styles to add personality and interactivity while maintaining a polished, professional feel.


The Advanced tab

The Advanced tab provides tools for experienced designers, including options for adding CSS IDs and Classes, controlling visibility, managing transitions, adjusting element positions, and creating scroll effects.

Divi 5 - Woo Product Add to Cart Module's Advanced tab
  1. CSS ID & Classes - Allows you to assign unique CSS ID or reusable CSS classes, enabling advanced custom styling through your child theme's stylesheet or Divi's custom CSS settings.

  2. Custom CSS - Allows you to add custom CSS to the Woo Product Add to Cart module.

  3. Conditions - Allows you to create dynamic, personalized content, ensuring the right message reaches the right audience at the right time.

  4. Interactions: Create custom interactions, such as showing or hiding the Woo Product Add to Cart module, and many more.

  5. Visibility - Choose the Woo Product Add to Cart module's visibility according to different devices.

  6. Transitions - Choose how long the Woo Product Add to Cart's module animation takes, adding subtle and impactful animations that enhance the user experience and make your modules stand out.

  7. Position - Choose the Woo Product Add to Cart module placement and create dynamic, visually engaging designs.

  8. Scroll Effects - Control how the Woo Product Add to Cart module behaves and transforms during scrolling.


What's the next step?

Save your changes and exit the Visual Builder

To save the page design, you can type CMD + S on a Mac or CTRL + S on a PC.

You can also:

  1. Click on the Save button.

  2. Click on the Exit button.

Did this answer your question?