Support

Home Forums Event Espresso Premium Register Event not displaying member prices

Register Event not displaying member prices

Posted: August 9, 2014 at 7:20 am


Steve Byrne

August 9, 2014 at 7:20 am

I have installed the Members add-on for V3. When an event is set up with a members price, this price is not displayed ion the event register info when logged in as a member. However, the correct price is displayed when the member is on the next page where personal information is added.

Can you shed some light on how to resolve this?


Lorenzo Orlando Caum

  • Support Staff

August 9, 2014 at 5:34 pm

Hi, do you have standard prices and member prices set for your events?

Also, have you done any modifications to your event templates?


Lorenzo


Steve Byrne

August 13, 2014 at 8:32 am

Hi Lorenzo

Yes I have a standard price of £5 and £2 for members. If you view the ‘adavnced’ tab this page as a member, the price displayed is £5 rather than £2.

http://c7281944.myzen.co.uk/bagpipes/#toggle-id-1

I have not made any modifications to the template.

Do you want login to investigate?

Steve


Tony

  • Support Staff

August 13, 2014 at 9:00 am

Hi Steve,

Can you tell me what is the version number of the WP Members Add-on you currently have installed?

Also It looks like the site is running W3 Total Cache. Have the EE3 critial pages been added to the ‘do not cache’ list?


Steve Byrne

August 13, 2014 at 9:16 am

Hi wp memebers addo is Version 3.4.4.1

w3 total cache deactivated, but still error persists

steve


Lorenzo Orlando Caum

  • Support Staff

August 13, 2014 at 10:46 am

Only the advanced option is appearing on that page:

http://cl.ly/image/2z3V2S0V1Z1r

Could you go to the site as a logged in member in one browser and then open an alternative web browser (not logged in) and go to the page again?

The different browsers should show the different pricing options.


Lorenzo


Steve Byrne

August 14, 2014 at 6:09 am

Hi Lorenzo

the non-members pricing is correct (£5), but price displayed for members (£2) is not, see screengarbs

http://c7281944.myzen.co.uk/wp-content/uploads/2014/08/step1-member.gif
http://c7281944.myzen.co.uk/wp-content/uploads/2014/08/step2-member.gif


Tony

  • Support Staff

August 14, 2014 at 7:07 am

If you go to Your Account Page you’ll fine the WP User Integration 1.9.8 Add-on (also known as WP_Members)

Do you currently have that Add-on installed?


Steve Byrne

August 19, 2014 at 3:11 am

Hi Lorenzo

yes, V’e reinstalled WP User Integration 1.9.8

still not displaying members price


Dean

August 19, 2014 at 4:41 am

Hi,

I have confirmed this issue locally.

I have raised a ticket to look into the problem.

If you want to fix it now and don’t mind editing a file you can do the following:

Edit the event-espresso/templates/event_list_display.php file.
On line 82 find

event_cost; ?>

Change that to

do_action( 'espresso_price_select', $event_id, array('show_label'=> TRUE, 'label'=> 'Price: ') );

Only issue is that the styling will be different, and there isn’t much that can be done about it currently apart from working with the CSS to make it look better.


Steve Byrne

August 19, 2014 at 7:31 am

Tried replacing code, but this didn;t work either.

do you want ftp details to investigate?


Tony

  • Support Staff

August 19, 2014 at 9:29 am

Hi Steve,

Line 82 is actually when the event is Free. If the price is 0.00 Event Espresso would ouput ‘Free Event’.

Here is how it should look from line 77 to 82

event_cost != '0.00' ) {
		do_action( 'espresso_price_select', $event_id, array('show_label'=> TRUE, 'label'=> 'Price: ') );
} else { ?> 
		

Which will output the correct price although with some extra styling, to make it look similar to the original output just add something like this:

.event-list-display .event_price_label {
width: auto;
}

We recommend using either the My Custom CSS or Reaktiv CSS Builder plugins to add custom styles such as these.

A fix for this has been included within the next version of EE3.


Steve Byrne

August 27, 2014 at 3:25 am

Thanks Tony,

members price now displaying…

regards

Steve


Dean

August 27, 2014 at 3:49 am

Hi Steve,

Can we mark this as resolved?

The support post ‘Register Event not displaying member prices’ 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