Skip to main content

Search Divi Plus Documentation

Search for answers or browse our knowledge base.
Explore Divi Plus's Live Demo

Print

Coupon

Overview of the Coupon module

This page shows you how to add the Coupon module to your page and explains every setting in its Content, Design and Advanced tabs, with screenshots. The Coupon module shows a coupon code with an offer, and visitors can reveal or copy the code with one click. For more details, view the demo.

Coupon module on the frontend
The Coupon module on the frontend.

How to add the Coupon module to your page

  1. Open your page in the Divi Visual Builder.
  2. Click the gray (+) icon inside a row to add a new module.
  3. Search for DP Coupon in the module search box.
  4. Click the module to insert it. Its settings open on the right.
Adding the Coupon module in the Divi Visual Builder
Search for DP Coupon in the Insert Module window.

Content tab settings

The Content tab holds the module’s own settings, grouped in the toggles below. Link, Background and Element Label are the standard Divi options.

Coupon Content tab
Coupon: Content tab.

Content

Coupon Content settings
  • Title: Enter the title for coupon code.
  • Coupon Code: Enter the coupon code.
  • Description: Input the description to be used for coupon code.
  • Enable Copy Coupon Code: Choose whether or not visitors can click the coupon code to copy it to their clipboard.
  • Show Expiry Date: Choose whether or not to display the expiry date for the coupon code.
  • Expiry Date: This is the expiry date the coupon code is based on your timezone settings in your WordPress General Settings.
  • Expiry Date Format: If you would like to adjust the date format, input the appropriate PHP date format here.

Display

Coupon Display settings
  • Layout: Select the layout for the coupon.
  • Show Offer Discount: Choose whether or not to display the offer discount.
  • Offer Discount: Enter the discount for the coupon code, for e.g. 50%.
  • Offer Discount Label: Enter the discount label for the coupon code, for e.g. Coupon.

Design tab settings

The Design tab lets you style each part of the module:

  • Title: styling options for the title.
  • Description: styling options for the description.
  • Coupon Code: styling options for the coupon code.
  • Offer Discount: styling options for the offer discount.
  • Expiry Date Message: styling options for the expiry date message.
  • Sizing, Spacing, Border, Box Shadow, Transform, Animation: the standard Divi design options for the whole module.
Coupon Design tab
Coupon: Design tab.
Coupon Title design settings
Title settings.
Coupon Description design settings
Description settings.

Advanced tab settings

The Advanced tab has the standard Divi options: Attributes (add a CSS class or ID), CSS, HTML, Conditions, Interactions, Visibility, Transitions, Position and Scroll Effects.

Coupon Advanced tab
Coupon: Advanced tab.
Table of Contents