1. Home
  2. Knowledge Base
  3. WooCommerce Discount Manager
  4. FAQ

How to display information about your discounts

The WooCommerce Discount Manager plugin provides several ways to display information about your discounts.

Options for displaying discounts in the front end

  • For simple discounts, the main price is crossed out and the discounted price shown alongside. This happens everywhere that the price is shown, including on the shop page, category pages, product pages, related products, and so on.
    WooCommerce Discount Manager simple discount sale price
  • Simple discounts have a checkbox which you can use to enable a 'Sale' label on affected products. This label is the same as the one that your theme displays for products which have sale prices.
  • You can add some content which appears on the product page for any type of discount. Either enter the content and select the location where you want it to appear when you create the discount, or use a shortcode (see below).
  • For bulk discounts, you can tick a box to display a table listing the pricing tiers on the product page.
    WooCommerce tiered pricing table
  • The cart shows the amount saved.
  • You can also add a cart notice which appears at the top of the cart page.
    WooCommerce discount cart notice

Shortcodes

WooCommerce Discount Manager comes with 2 shortcodes for displaying information about a discount.

These gives you more flexibility, as you can use them to display discount information in locations which are not available in the plugin by default. For example, you might want to insert the information in other product page locations, on pages built using page builder plugins like Elementor or Divi Builder, and so on. You can also use it to display the discount information away from the single product page.

[wdm_discount_content]

The [wdm_discount_content] shortcode displays the information that you added to the Product page content field for a discount.

To tell the shortcode which discount to display the content for, you must enter the ID of the discount like this: [wdm_discount_content id="123"]

Replace "123" with the correct ID for the discount. To find the discount ID, go to Marketing → Discounts and hover over the discount name.

[wdm_discount_bulk_table]

The [wdm_discount_bulk_table] shortcode displays the tiered pricing table for a bulk discount.

To tell the shortcode which discount to display the content for, you must enter the ID of the discount like this: [wdm_discount_bulk_table id="123"]

Replace "123" with the correct ID for the discount. To find the discount ID, go to Marketing → Discounts and hover over the discount name.

Showing discounts on the order confirmation page

The total amount saved is displayed as a separate row called "Total savings" on the checkout page, order confirmation page, and on the order in the customer account area. The savings are also displayed in the order confirmation email to the customer.

WooCommerce discount cart notice

Displaying discounts in the WordPress admin

The name of the discount is displayed on the 'Edit Order' page in the WordPress admin. That way, store managers and admins can see which discount the customer used.

Discount on admin order page

Related Articles

If searching the knowledge base hasn't answered your question, please contact support.