Vendors vs Users

I am confused.
As far as I understand my needs, my directory listings are going to be local stores in my tri-county area. Only a store can be listed, not an item.
Only a store owner (or admin user) should be allowed to add their store/listing and I consider them to be vendors.

The ones who write listing reviews, send messages, and add to favorites are not the vendors, they are users.

Every one who uses the directory is a user, but only vendors can add listings. And therein lies my confusion, there is no concept of a user, as far as I can see. In my mind a user can be a vendor and a user who is a vendor can add listings, but for all other users, the [Add Listing] button should not even exist. Where is the distinction between a vendor and a user, established?

Hi,

In our extension, everyone registers through one form. However, users become vendors only when they have at least one published listing (or the direct registration for vendors feature is enabled). A vendor is essentially the same user but with the ability to publish listings. You can hide the add listing button for regular users using this PHP snippet: Hide the Add Listing button from regular users #hivepress #listings · GitHub, How to add custom code snippets - HivePress Help Center

​I hope this is helpful to you.

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