How to Default the Coupon Code Field on Registration to be Open
When you check the "Enable Coupon Field on membership registration forms" option in the MemberPress → Settings → Account tab, the coupon field in the registration form will be hidden by default. Users will have to click the "Have a Coupon" link at the bottom of the registration form to open this field and enter coupon code. In order to have a coupon field initially open, please add the code below to the Appearance → Customize → Additional CSS section of your WordPress Dashboard:
.have-coupon-link { display: none; } .mp-form-row.mepr_coupon { display: block; }
That should make the coupon code instantly visible.