Coupon Display Guide

Display discount codes with one-click copy functionality in your announcement bars and popup campaigns. This guide covers coupon configuration, styles, WooCommerce integration, and best practices.

Note: Features marked (PRO) require HashBar Pro. All other features are available in the free version.

Setting Up a Coupon Display

  1. Open the Announcement Bar or Popup Campaign editor.
  2. Go to the Coupon tab.
  3. Toggle Enable Coupon to On.
  4. Enter your Coupon Code (e.g., “SAVE20”).
  5. Optionally add a Label (e.g., “Use code:”) and Description (e.g., “Get 20% off your order”).
  6. Choose a Coupon Style.
  7. Save your changes.

Coupon Settings

SettingDescription
Enable CouponToggle coupon display on or off
Coupon CodeThe discount code visitors will see and copy
LabelText displayed above the coupon code (e.g., “Use code:”)
DescriptionText below the code explaining the offer
Copy ButtonShows a button for one-click copy to clipboard
Copy Button TextText on the copy button (default: “Copy”)
Copied Feedback TextText shown after copying (default: “Copied!”)
Auto-Copy on Click (PRO)Copies the code when the coupon area is clicked (no button needed)

PRO Feature: Auto-Copy on Click allows visitors to copy the coupon code simply by clicking anywhere on the coupon area, without needing a separate copy button.

Coupon Styles

StyleDescriptionBest For
SimpleClean text with solid borderMinimal designs, announcement bars
DashedDashed border around the codeTraditional coupon look
Ticket (PRO)Voucher/ticket design with perforated edgesPremium feel, popups
Gradient (PRO)Modern gradient backgroundEye-catching, modern designs

PRO Feature: Ticket and Gradient coupon styles are available with HashBar Pro for a more visually impactful coupon display.

Styling Options

SettingDescription
Background ColorCoupon box background fill
Text ColorCoupon code text color
Border ColorBorder color around the coupon
Border StyleSolid, Dashed, or Dotted
Code Font SizeSize of the coupon code text
Label Font SizeSize of the label text
Button Background ColorCopy button fill color
Button Text ColorCopy button text color

WooCommerce Integration (PRO)

Link your coupon display to an existing WooCommerce coupon. When enabled, you can select a WooCommerce coupon directly from a dropdown, and the coupon code is auto-filled. Available for Popup Campaigns only.

How to Set Up WooCommerce Integration

  1. Create a coupon in WooCommerce > Coupons (or Marketing > Coupons).
  2. In the HashBar Popup Campaign editor, go to the Coupon tab.
  3. Scroll to the WooCommerce Integration section.
  4. Toggle Link to WooCommerce Coupon to On.
  5. Select your coupon from the Select WooCommerce Coupon dropdown.
  6. The coupon code is automatically filled in from WooCommerce.

Tip: WooCommerce must be installed and active for the integration to work. The dropdown lists all available WooCommerce coupons for easy selection.

Best Practices

  1. Keep codes short and memorable. “SAVE20” is better than “SUMMERSALE2026DISCOUNT”. Short codes are easier to copy and share.
  2. Combine with countdown timers. A coupon code next to a ticking countdown dramatically increases urgency and conversion rates.
  3. Use descriptive labels. Instead of just showing the code, add context: “Use code:” or “Your exclusive discount:”.
  4. Add a clear description. Tell visitors exactly what the coupon does: “Save 20% on all orders over $50”.
  5. Use WooCommerce Integration (PRO). Link directly to your WooCommerce coupons so the code is always in sync and auto-filled.
  6. Match coupon style to your design. Simple/Dashed for announcement bars. Ticket/Gradient for popups where you want visual impact.

Related Guides

That’s it! You now have everything you need to display coupons effectively with HashBar. If you need additional assistance, feel free to contact our support team.

Last updated on March 10, 2026

Was this article helpful?

PREVIOUS

Use Cases & Recipes

NEXT

Countdown Timer Guide

Powered by Support Genix
Scroll to Top