gocodebox / lifterlms

LifterLMS, a WordPress LMS Solution: Easily create, sell, and protect engaging online courses.
https://lifterlms.com
GNU General Public License v3.0
174 stars 134 forks source link

Remove the visibility settings in the Coupon section. #2640

Open alextonio12 opened 2 months ago

alextonio12 commented 2 months ago

Reproduction Steps

  1. Navigate to your WordPress dashboard.
  2. Go to Orders > Coupons or Orders > Vouchers
  3. Click Add New
  4. Locate the section in this screenshot: link to screenshot.

Expected Behavior

The visibility section isn't visible

Actual Behavior

The visibility section is visible, which has some unexpected results if changed.

  1. When set to "public" or "password protected," the coupon is accessible to students. However, with "password protected," it doesn't prompt for a password entry same on public.

  2. When set to "private," neither students nor instructors can use the coupon, only administrators and editors have access

Work the same with pages.

This issue has be recreated: