View Product Page

Coupon notification

Step 1 – Add a new notification

Click button add new

By clicking on the “+ Add notification” button a popup will open and we will select the notification we want to create. In this case, we want to add a ‘Coupon’ notification for a ‘summer sale’.

Select notifiction - coupon

Step 2 – Notification name

The name you give in here, is for admin use only. The customer will not see this name, this is simply the title you give to the notification, it is a mandatory field.

Name of notification

Step 3 – Notification content

First we start by adding the text of the notification content. As you can see in the example below, you can edit the font, the size etc.

coupon content text

  • Notification text: You can use the available placeholder %couponcode%.
  • Coupon code: Here you can insert the WooCommerce coupon code that you have previously created.

On the right side you see a preview of the notification you are creating in real-time. It changes dynamically as you are editing the notification.

Step 4 – Image options

Now we decide to add a custom image to the notification, by enabling the “Add image” option.

coupon content image

  • Upload image: choose a custom image that you want to show.
  • Image position: Decide to show it above, left, right or under the text.
  • Image alignment: Depending on the position, decide the horizontal/vertical alignment.

In this example we choose to show an image above the text in the center.

For more information on the image position and alignment, check this page here.

Step 5 – Button options

For this notification we decide to add a button, to copy the code directly.

coupon content button

  • Button text: The text you want to show on the button.
  • Button colors: Set several colors for the button.
  • Border radius (px): Decide to have square or rounded edges (0 for square).
  • Button action: Decide what happens when the customer clicks on the button:
    • Copy the code: The code is copied, they only have to paste it in the dedicated ‘coupon code’ field.
    • Apply the code automatically: The code is automatically applied on the cart page.
    • Redirect the user to a specific page: Add the URL you can redirect the customer to, when clicking on the button. For example a conditions page.

Step 6 – Style

Moving on to the ‘Style’ tab where we can manage the colors, padding, background etc. of the notification.

Simple style

  • Width (px): Width of the notification.
  • Background colors: Default color, and color on hover state.
  • Add background image: Decide to show and upload a custom image as a background, instead of a color.
  • Border radius (px): Decide to have square or rounded edges (0 for square).
  • Padding (px):  Decide the amount of space around the content.
  • Shadow: Add a shadow color to the notification.

Again, on the right hand side, you can see the changes you apply directly in the preview.

Step 7 – Display options

The ‘Display options’ allow us to override the default options we have set, with regards to displaying the notification.

simple display options position

  • Override default position: decide to change the default position of the notification.
  • Select a position: decide where on the page to show the notification:
    • Top left
    • Top right
    • Bottom left
    • Bottom right

simple display options display

  • Override default display options: Decide to change the default display options for the notification.
  • Show this notification to: Show it to all users, only guest users, only logged in users.
  • Additional geolocation filter: Decide to hide or show notifications to users from certain countries.

Override geolocation in notification

  • Notification visibility on pages: Decide to show the notification on all pages or only specific pages.
  • Notification visibility on product pages: Either show on all product pages, specific product pages or specific product categories.
    • Decide to show or hide the notification on selected products or categories.

For example, we want to show this notification to users from Spain, although by default, these users do not see notifications. Because in the general ‘Display options’ settings, we have excluded that country. 

Step 8 – Final result

On the frontend, the notification would look like this:

example coupon notification