Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > membership and discount levels View modes: 
User avatar
Member
Member
matt-awg - 1/28/2013 11:32:06 AM
   
membership and discount levels
is there a way to make a membership linked to a discount level? I know that I can create memberships and then add products to the site that enable customers to purchase those memberships, but is there a way that while your membership is active on the site, you can get a discount on items?

I thought a simple way would be linking the membership to a "discount level" (the one implemented already at the custom level). I don't see any way to do this out of the box but is there an easy way to link the two? I don't want to just add a customization that when someone buys a membership, it sets the correct discount level on their customer - because then what happens when the membership expires, there would have to also be some mechanism for removing the discount level when it expires. Seems like too many chances for errors or customers not renewing and keeping their discount.

I also can create custom SKUInfoProvider and check the membership status there I guess but then it would not be linked to the "discount level" to apply a discount, it would just be changing the price without really showing the customer that their membership got them a discount. Also, discount level lets you specify departments it applies to so they can limit it to certain products.

Any ideas on the best way to do this?
Thanks,
Matt

User avatar
Kentico Consulting
Kentico Consulting
richards@kentico.com - 1/31/2013 7:43:41 AM
   
RE:membership and discount levels
Hello,

unfortunately there is no way of doing this easy way. For this scenario you need to create custom code.

The way you could do this is by using Custom event handler which would fire when a user is updated. There you would need to check which membership he acquired and based on that you would set the Discount level. You would also need to check when the membership is removed from the user and remove the discount level.

Custom handler are described in our dev guide at http://devnet.kentico.com/docs/devguide/index.html?event_handlers_overview.htm

More information regarding e-commerce custom coding is described devnet.kentico.com/Blogs/Petr-Vozak/October-2011/E-commerce-6-New-customization-model.aspx and devnet.kentico.com/Blogs/Petr-Vozak/October-2011/E-commerce-6-New-customization-model.aspx

Best regards,
Richard Sustek

User avatar
Member
Member
matt-awg - 1/31/2013 7:55:22 AM
   
RE:membership and discount levels
Thanks Richard! I thought so. I will look into some ideas I have for custom code to achieve this.
Thanks,
Matt