VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: ArchiB on February 05, 2019, 20:44:50 PM

Title: Adding a joomla group to a user that buys a product with Virtuemart?
Post by: ArchiB on February 05, 2019, 20:44:50 PM
Hi,

I would like to know if it is possible to link a joomla group to a product (or a product to a joomla group) in virtuemart, as to when someone buys a particular product, he gets the particular group added automatically to his account.  And then do the same thing with another product and another joomla user group.  Is this possible?

Thanks

Virtuemart = 3.4.2
Joomla = 3.9.1
php = 7.2.14
Title: Re: Adding a joomla group to a user that buys a product with Virtuemart?
Post by: jenkinhill on February 05, 2019, 22:46:57 PM
Do you mean Joomla user group of VM shopper group? These are different and unrelated groups.
Title: Re: Adding a joomla group to a user that buys a product with Virtuemart?
Post by: ArchiB on February 06, 2019, 00:02:02 AM
I mean a Joomla user group, not a VM shopper group.
Title: Re: Adding a joomla group to a user that buys a product with Virtuemart?
Post by: Studio 42 on February 06, 2019, 00:35:01 AM
This is possible with a product customfield plugin.
Of course the code do not exist.
You can contact me or VM team support or CJC breakdesign or other well know coder in the forum to do the work.
Title: Re: Adding a joomla group to a user that buys a product with Virtuemart?
Post by: ArchiB on February 07, 2019, 16:04:54 PM
Ah ok thanks!

Will look into this then.
Title: Re: Adding a joomla group to a user that buys a product with Virtuemart?
Post by: Milbo on February 11, 2019, 20:34:46 PM
Currently it looks like there is only a shoppergroup changer, but not for joomla groups https://extensions.virtuemart.net/marketing/promotions/shopper-group-changer-detail
Maybe ask the developers of this plugin.
Title: Re: Adding a joomla group to a user that buys a product with Virtuemart?
Post by: Milbo on February 12, 2019, 21:26:33 PM
Good old Kainhofer has a plugin,
https://open-tools.net/virtuemart/add-buyers-to-joomla-groups.html