Support

Home Forums Event Espresso Premium Customize Event Prices according to user roles

Customize Event Prices according to user roles

Posted: August 28, 2013 at 12:59 am


Adrian Mazzocchetti

August 28, 2013 at 12:59 am

I have three user roles “author”,”contributor” and “subscriber”.
if the user login as a “author or contrubutor or subscriber” to purchase events then i need to provide some discounts for these users according to roles. i see this plugin provide a discount for members for each events but i don’t need it. i only need that if a user login as a “author” then event price should be decrease to a certain amount.
if it is possible then kindly suggest us how to do this.

please reply us as soon as possible. due to this my site looks very unprofessional..


Jonathan Wilson

August 28, 2013 at 11:22 am

Hello Adrian,

Something like hit may be possible using the s2member add-on that is in pre-release channel.

See here for the pre-release channel guide: https://eventespresso.com/wiki/pre-release-channel-guide/


Adrian Mazzocchetti

August 29, 2013 at 2:15 am

Here I am using Wishlist premium membership plugin. but there is no option to solve this problem. if any help then tell us…


Adrian Mazzocchetti

August 29, 2013 at 2:25 am

Also can you please tell me the core file name from where all event prices are generated.
can you tell me which variable generated a event price and which function is used and where i got it. i am looking in pricing.php but nothing happens. tell me please.


Dean

August 29, 2013 at 4:19 am

Hi Adrian,

There isnt a specific file that deals with that. Mostly the data is pulled from the database on an as needed basis depending on exactly what the plugin is trying to do at the time.

That being said, you should probably take a look at the template files outlined below, as they pull the pricing data for registration and will check at thaqt point if WP User Integration (Members) is active:

event_list.php
event_list_display.php
registration_page.php
registration_page_display.php

I would also check out the plugin Jonathan mentioned as though its for a different plugin (S2Member) it will be focusing on the data that you need.

The support post ‘Customize Event Prices according to user roles’ 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