Only allow "add listing" for vendors

I am allowing direct registration for vendors so they may become a vendor before adding any listings. That is working fine.

BUT when a customer books a listing, they register, get a profile, etc. In their account they have the option to Add a Listing. This is a confusing user experience for my site because if they booked a listing they are probably not interested in being a vendor and having listings of their own.

Is there a way to only show Add Listing on the account page IF a user has filled out the vendor registration form?

Hi,

Please use this PHP snippet How to add custom code snippets - HivePress Help Center :

1 Like

Thank you andril! This is almost working. It doesn’t allow the user to actually post a listing, but the Add Listing link still appears in their account. Is there a way to hide the link entirely?

Hi,

Please use this CSS snippet:

.site-header .hp-menu__item--listing-submit {display:none}