VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Ronny Buelund on August 16, 2016, 11:09:32 AM

Title: Member discount based on member number in community builder ?
Post by: Ronny Buelund on August 16, 2016, 11:09:32 AM
I need to know if the following is possible in Virtuemart or can be setup in some way:

I need a shop for a member site. The members have a membernumber stored in a community builder field. I a member buys something in the shop, the member must be able to enter their member number and based on that and their e-mail, they must get a discount - without having to login. Is that possible ?
Title: Re: Member discount based on member number in community builder ?
Post by: Milbo on August 17, 2016, 22:59:57 PM
You could write a plugin, which automatically synchronises the member number as coupon. Is not too much work for that idea, makes sense
Title: Re: Member discount based on member number in community builder ?
Post by: Ronny Buelund on August 18, 2016, 08:08:48 AM
Ahh perfect. Could you get me started. Which plugin trigger to us - which classes, methods ?

Regards
Title: Re: Member discount based on member number in community builder ?
Post by: Milbo on August 18, 2016, 11:30:22 AM
vmuserfield or vmextended, or maybe even as joomla system plugin, or as community builder plugin. Investigate there, take some time. Makes it easier later.