VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: zhumar on November 27, 2012, 16:07:39 PM

Title: Disable pricing and purchasing per user group?
Post by: zhumar on November 27, 2012, 16:07:39 PM
Our client wants to have a catalog for Registered users and a store for Agent users. These are both user groups defined in Joomla. Basically, a standard user can view all products without pricing information and with no option to buy. An Agent user can view prices and can also purchase items like a normal store. Is there a way I can set this up?
Title: Re: Disable pricing and purchasing per user group?
Post by: bytelord on November 27, 2012, 16:19:44 PM
Hello,

Use shopper groups to do not show prices for specific users, basically you will have three shopper groups anonymous, default with not prices, agent with prices...

Regards
Title: Re: Disable pricing and purchasing per user group?
Post by: zhumar on November 27, 2012, 17:02:53 PM
Can you automatically assign shopper groups to users based on their Joomla user group? It'd be pretty lame if we had to add each user manually.
Title: Re: Disable pricing and purchasing per user group?
Post by: bytelord on November 27, 2012, 17:05:38 PM
Hello,

basically all registered users will be added to the default group you have. After that you could upgrade them to agents or create a script for that, automatically cannot be done ... may be if you run some sql queries from the backend to assign them initial to the shopper groups you want ...
Title: Re: Disable pricing and purchasing per user group?
Post by: zhumar on November 27, 2012, 17:51:23 PM
Alright, we should be able to handle a sync to get the correct users into the correct shopper groups automatically. I just didn't know if a feature was already in place for this. Thanks!
Title: Re: Disable pricing and purchasing per user group?
Post by: bytelord on November 27, 2012, 18:26:48 PM
Great,

Keep in mind next release will also introduce multiply prices :)