VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: thenorman138 on November 07, 2021, 16:05:42 PM

Title: Trying to allow registered users to only see/add their own products
Post by: thenorman138 on November 07, 2021, 16:05:42 PM
I had the help of another member that led me to the ability to use this link in a front-end link ```?option=com_virtuemart&tmpl=component&manage=1&view=product&task=edit&virtuemart_product_id=0``` which would allow a logged in registered user to add products. This works perfectly for what it is

I had to alter some permissions so that I could also create a link where they can view products as well, but the issue is they can now view all products

How can I restrict both of these areas so that the logged in user can only add/view products associated with them (hopefully by store, if possible. If not, then just by  user)
Title: Re: Trying to allow registered users to only see/add their own products
Post by: Jörgen on November 07, 2021, 18:45:37 PM
Have you multi vendor activated ?
If You have then Your user settings are not correct.

Jörgen @ Kreativ Fotografi
Title: Re: Trying to allow registered users to only see/add their own products
Post by: thenorman138 on November 07, 2021, 22:04:01 PM
I'm not sure actually. Where would I see if that's enabled?
Title: Re: Trying to allow registered users to only see/add their own products
Post by: GJC Web Design on November 07, 2021, 22:20:08 PM
https://docs.virtuemart.net/manual/configuration-menu/configuration.html
Title: Re: Trying to allow registered users to only see/add their own products
Post by: jenkinhill on November 08, 2021, 11:06:08 AM
There is also  https://docs.virtuemart.net/manual/general-concepts/211-multivendor.html
Title: Re: Trying to allow registered users to only see/add their own products
Post by: Milbo on January 12, 2022, 13:15:12 PM
The rest is mainly done with the normal vm permissions. You can also allow them todo anything from Frontend. You can even allow them, to see only orders with their products.

Use the new core, then you do not need to set strange links. You can create them als menu items in joomla. But only with the new core https://dev.virtuemart.net/attachments/1297/com_virtuemart.3.8.9.10578_package_or_extract.zip