Skip to main content
Question

ECommerce/eLearning Transaction: removing Coupon option in Checkout

  • April 7, 2026
  • 2 replies
  • 8 views

Does anyone have a proven code that will remove the Coupon option at the checkout using Stripe for eLearning transactions?

2 replies

Moshe.Machlav
Helper III
Forum|alt.badge.img+1

To save you some headaches: Docebo doesn't have a native toggle to turn off the coupon field for specific payment gateways or content types. The shopping cart UI is global, meaning you cannot conditionally hide it just for Stripe or specific transactions out-of-the-box.

If you absolutely need to remove it, the only proven method is hiding the element globally using Custom CSS. You can do this by navigating to Admin Menu > Advanced Settings > Branding, Look & Feel > Custom Styles.

You'll need to use your browser's Developer Tools (F12) on the shopping cart page to grab the specific CSS class for the coupon container, and add a rule to your Custom Styles like this:

CSS

 

.your-coupon-container-class {
display: none !important;
}

(Note: I highly recommend inspecting your live instance to get the exact current class name, as Docebo occasionally updates their frontend element architecture).

The big gotcha here: Because the custom CSS applies globally, this completely removes the ability for any user to enter a coupon for any purchase across your entire platform.


Thank you. Let me run this by my group...