Posted: February 2, 2015 at 12:45 pm
|
Good afternoon, Please note before submitting this we tried to debug the code to fix the issue and at first we thought it would be easy to just add a conditional check in place for logged in users to see if they members or just general users and we did that successfully but when we submitted the form we found that, on next page again EE is showing member price for regular users. Upon further debugging of other pages we found that we cannot update price in one place and have it reflect everywhere but instead we have to find each and every page which contains this price logic. We also noticed the prices are coming from different functions with the help of hooks and some functions only returns the SQL string, so then we have to check all files where that function is being called. Our current member logic: When a company registers, they have to pay, so if any one registers with an email from that company’s domain they will be considered as paid member and if someone registers directly with any company that has not paid then they will be considered as unpaid member. So I just added a logic to see if the user belongs to any company or not, if it belongs to any company then show member price otherwise regular price We assume you have seen something like this many times before and there is an easy way to support / manage this and we are missing something. Your prompt guidance and assistance with this would be greatly appreciated.
|
|
Hi Cliff, WP User Integration (the members addon for EE3) bases membership discount on logged in users, it doesn’t separate out different levels of users. We have partially resolved this by creating an S2Member addon (available in the Pre Release channel) which allows you to set at which level the member ship discount actually kicks in. E.g. if you have Bronze Level and Silver level members, you can set it so only Silver level and higher get the discount. Of course, this will only work with S2Member. Documentation: https://eventespresso.com/wiki/s2member-integration/ |
The support post ‘Event Pricing (3)’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.