How to display discount message on product detail page

The Display Discount Message on Product Page feature lets you show a custom promotional or discount message directly on WooCommerce product pages. This helps customers clearly see offers such as seasonal discounts, limited-time promotions, or special pricing before they add a product to the cart.

You can also choose to show the message only for specific products, making it useful for targeted promotions like Black Friday deals or product-specific offers.

How to Display a Discount Message on the Product Page

Step 1: Enable the discount message option

Go to the plugin settings where the Display Discount Message option is available.

Enable the Discount Message checkbox to turn on product page discount messaging. Once enabled, additional message settings will appear.

Step 2: Add your discount message

In the Discount Message editor, enter the promotional message you want customers to see.

You can write a simple message such as a sale announcement, a limited-time offer, or a discount reminder. You can also format the content using the editor tools if needed.

Example:

🎉 Buy Now to Grab our Biggest Black Friday Deal — Get up to 40% OFF for a limited time!

Step 3: Customize the message design

Choose a Background Color and Text Color to match your store branding or highlight important offers.

This helps make the message more visible on the product page.

Step 4: Show the message only for selected products (Optional)

If you want the discount message to appear only on specific products:

  1. Enable the Only for specific products option.
  2. Search and select the products where you want to show the message.

This is helpful when running promotions for only selected products instead of your entire store.

Step 5: View the message on the product page

Open one of the selected product pages on your store to confirm the message is displayed correctly.

Customers will see the discount message directly on the product detail page, helping them notice promotions before making a purchase.

Shortcode:

Using Elementor, Beaver Builder, or custom product templates?

Some page builders or custom WooCommerce product templates may not support standard WooCommerce hooks. In that case, the discount message may not appear automatically on the product page.

You can manually display the message using this shortcode:

[wdpad_display_discount_msg]

Add this shortcode to your product template, shortcode widget, or custom product layout where you want the message to appear.

Tips

  • Keep discount messages short and easy to understand.
  • Use colors that make the offer noticeable but still match your brand.
  • Use the Only for specific products option to run targeted promotions.
  • Preview the product page after saving changes to confirm the message appears correctly.

FAQs

1. Why is the discount message not showing on my product page?

This usually happens when your product page uses a custom template or page builder, such as Elementor or Beaver Builder, that bypasses WooCommerce hooks.

Try using this shortcode inside your product template:

[wdpad_display_discount_msg]

2. Can I show the discount message only for selected products?

Yes. Enable the Only for specific products option and choose the products where you want the message to appear. The message will only display on those selected products.

3. Can I customize the look of the message?

Yes. You can change the background color and text color to match your store design or make offers more noticeable.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.