Support

Home Forums Event Espresso Premium Event Pricing (3)

Event Pricing (3)

Posted: February 2, 2015 at 12:45 pm


Cliff Almeida

February 2, 2015 at 12:45 pm

Good afternoon,
We have an urgent support request. Our website has EE installed on it and it has 2 price points. Members & Non members. Right now the non member pricing is working but member pricing is not. By this we mean that we have users who can register on the site but have to actually fill out an enrollment form & pay a fee to become a member (separate of EE) What is happening is general users who login in that have not become members are seeing and getting the paid members pricing. We are looking for the most efficient manner to ensure that only paid members received the discounted pricing and the others (non logged in or logged in non paid members are charged the general fee)

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.
Thanks,

  • This topic was modified 9 years, 3 months ago by  Cliff Almeida.
  • This topic was modified 4 years, 2 months ago by  Garth.


Dean

February 3, 2015 at 1:48 am

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.

Event Espresso