There are times when you might want to disable coupon codes for a course or collection.
Restrict coupon codes can be applied from Settings page of a course/collection
To restrict coupon codes, tick the box next to it and save
Now when a user tries to apply any coupon code to this course
They will see a message stating that coupon code can’t be applied for this course