VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: fabioweb on March 28, 2018, 14:34:51 PM

Title: Stock for a specific user management 3.2.X
Post by: fabioweb on March 28, 2018, 14:34:51 PM
Hello forum, I have to show only to a specific user the alert "notify me" instead of "add to cart"
In short, the product can be ordered by all users except a specific registered user.
How can I do?
Thank you
Title: Re: Stock for a specific user management 3.2.X
Post by: Studio 42 on March 29, 2018, 01:17:02 AM
Check for Joomla user ID and modify code.
But if the user is not logged in, you cannot prevent "add to cart"