VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: kiasati on July 03, 2016, 07:36:03 AM

Title: managing product's price in vm
Post by: kiasati on July 03, 2016, 07:36:03 AM
Hi
i wanna have 2 prices for a product,
and have two access levels named "user" and "coworker"
and show the first group one price and to the other one, the other price.
how can i do that?
Title: Re: managing product's price in vm
Post by: jenkinhill on July 03, 2016, 10:12:13 AM
Use shoppergroup specific pricing.  http://forum.virtuemart.net/index.php?topic=112802.0
Title: Re: managing product's price in vm
Post by: kiasati on July 04, 2016, 08:09:58 AM
I created two shopper groups named "user" and "colleague"

but when a user signs up in the site, it goes under "Registered" user group in joomla.
so how should i make it work?
Title: Re: managing product's price in vm
Post by: GJC Web Design on July 04, 2016, 09:36:07 AM
https://forum.virtuemart.net/index.php?topic=112240.0
Title: Re: managing product's price in vm
Post by: kiasati on July 09, 2016, 06:52:54 AM
Quote from: GJC Web Design on July 04, 2016, 09:36:07 AM
https://forum.virtuemart.net/index.php?topic=112240.0

this is a plugin.
i dont want to install additional plugins.
cant this be done on joomla itself?
i just dont know how to assign a user group in joomla to a user group in virtuemart.
Title: Re: managing product's price in vm
Post by: jenkinhill on July 09, 2016, 10:45:53 AM
Joomla groups and VirtueMart shopper groups are very different and are independednt from each other. Even if you control the Joomla group that newly registered users are allocated (eg with this plugin- http://extensions.joomla.org/extension/multi-usergroup-registration ) there is no way to assign automatically those user levels to specific VM shopper groups. So the only solution for automatic allocation I'm aware of is to use the plugin GJC referred to. Alternatively have all Joomla users registration vaildated by an admin who can then assign them to the relevant shopper group.
Title: Re: managing product's price in vm
Post by: kiasati on July 11, 2016, 08:50:32 AM
Quote from: jenkinhill on July 09, 2016, 10:45:53 AM
Alternatively have all Joomla users registration vaildated by an admin who can then assign them to the relevant shopper group.

How can i do that?!
Title: Re: managing product's price in vm
Post by: jenkinhill on July 11, 2016, 12:24:28 PM
Simple Joomla backend adminsitration. Starts here:  https://docs.joomla.org/Enabling_user's_registration_approval_by_admins
Title: Re: managing product's price in vm
Post by: kiasati on July 11, 2016, 16:27:10 PM
this is reasonable when i want to show a price to guests and another price to registered users.
but i don't want to show the prices to guests. and show two different prices to two different shopper groups.
Title: Re: managing product's price in vm
Post by: jenkinhill on July 11, 2016, 16:33:21 PM
Check the status of the site user and hide prices from non-logged in shoppers using template overrides. Has been discussed on this forum several times before.