Looks like OFBiz has most of the core pieces you need to pull this off without too many headaches, but as usual with OFBiz, you’ll need to tweak it some. :-)
OFBiz has support for unique product codes per promotion. These can be generated automatically by not passing the code to the service. In the demo trunk look here: <home url>/catalog/control/EditProductPromoCode Looks like you can tie the unique promo code to a specific party and/or email as well. From there, it looks fairly trivial to customize to exclude a party from a code. Ofbiz promotions themselves have a ridiculous amount of rules and conditions available OOTB, including the ability to exclude/include certain categories or products. More importantly, you can easily call a custom service to do things like add points. I know someone started adding loyalty points system into OFbiz but I’m not sure how much of it’s fleshed out OOTB. On a side note for anyone else watching this thread - any news on getting the demo trunk up? I refer to it often for testing things. :-) --Paul On May 28, 2014, at 9:49 AM, Scott. <[email protected]> wrote: > Hello All, > > We have a need for a refer a friend feature that will generate a unique code > for X% off their purchase which would automatically expire after a set > number of days. We would also like to keep track of which customer referred > who and even extend it to a point by awarding X number of loyalty points to > the referrer when one of the referee's make a purchase using the unique > code. A few rules would also have to be in place such as the inability to > refer themselves and the ability to include or exclude certain categories of > product. > > Has anyone done this before that can offer any pointers. I'm pretty sure > it's not possible OOTB but I would appreciate any advice. Thanks. > > > > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/Unique-Discount-Codes-tp4651218.html > Sent from the OFBiz - User mailing list archive at Nabble.com.
