Go to the 'Settings' tab of any course or collection

Tick the box next to Restrict coupon codes

Once you restrict coupon codes for a course or collection, the users will see the following message if they try to apply a coupon code

Did this answer your question?