Hide List a Service button from non vendor memberships

Hi,

I have several membership plans set up, some for users and one for a vendor. I have set the Listing submission limit on the user plans to 0 and for the vendor plan it is 100. However, the users are still able to see the “Submit a listing” button. How would I be able to hide the submit listing button from those who are not on the vendor membership plan?

Best,
Arju

Hi @Arju,

What you describe will take some customisation. By default, everyone registers as a regular user, and can then ‘become a vendor’ by clicking the add listing button.

Ihor explains it in more detail here.

Cheers,
Chris :victory_hand:

Hi,

What would be the variable used to identify a users membership when they are logged in i.e an ID number/name. I can then try to write some custom code which would allow for this.

Although I have limited the number of listings for non vendor memberships to 0, it seems they can still submit listings.

Thanks!
Arju

Hi,

If you’re familiar with coding, please refer to this thread with a code snippet to fetch the current membership, which can further be used to rewrite the template part with the button.

Hope this helps

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.