Support

Home Forums Event Espresso Premium Display multiple prices

Display multiple prices

Posted: April 16, 2014 at 1:46 am

Viewing 6 reply threads


Daniele Pavinato

April 16, 2014 at 1:46 am

Hi,

i need to enable the multiple displaying option.

For example:
Standard price: $100,00
Member price: $75,00
Specialist price: $50,00

I don’t find where can I enable it or how to display it

Any one help?


Tony

  • Support Staff

April 16, 2014 at 4:39 am

Hi Daniele,

Do you use the WP User Integration Add-on (Also known as WP_Members) currently?


Daniele Pavinato

April 16, 2014 at 4:42 am

Yes


Tony

  • Support Staff

April 16, 2014 at 5:16 am

Currently you set a standard price, and a member price to override that. So non-logged in users see one price, logged in members see another (which can actually be the same price).

Event Espresso allows you to set multiple pricing options within the event – http://take.ms/Il1iK (just click the ‘Add A Price’ button – http://take.ms/UbkOf)

Which will them be displayed within a dropdown on the event -http://take.ms/PhcoL

However when using the Members add on a ‘Member price’ must also be set for each pricing option which will override the standard pricing for that ticket – http://take.ms/SJWh4

So if you set multiple ticket prices, you must also set the Member pricing for each of those.

So for this case you would need 3 prices as shown in the screenshots. The user would then need to select which pricing option they would like to use.

Does that help?


Daniele Pavinato

April 16, 2014 at 6:10 am

Thank you. My need is how to enable the dropdown menu option within the prices


Tony

  • Support Staff

April 17, 2014 at 8:06 am

By default this would be displayed within the Registration form although as you have heavily modified this template it would appear the functionality has been removed.

Unfortunately we can not support custom templates although I can show you the original code within the original template. If you open event-espresso/templates/registration_page_display.php

On lines 112 – 128 you should fine:

if ($display_price_dropdown == TRUE) {
	$price_label = '<span class="'.espresso_template_css_class('section_title','event_price_label', false).'">'.__('Choose an Option:', 'event_espresso').'</span>';
	?>
	<p class="event_prices">
		<?php do_action( 'espresso_price_select', $event_id, array('show_label'=>TRUE, 'label'=>$price_label) );?>
	</p>
<?php
} else {
?>
	<p class="event_prices">
		<?php do_action( 'espresso_seating_price_select_action', $event_id );?>
	</p>
	<?php
	// Seating chart selector
	do_action('espresso_seating_chart_select', $event_id);
							
}						
?>

You’ll likely be most intrested with

<p class="event_prices">
	<?php do_action( 'espresso_price_select', $event_id, array('show_label'=>TRUE, 'label'=>$price_label) );?>
</p>

Which is used to output the default dropdown.

Does that help?


Daniele Pavinato

April 23, 2014 at 6:26 am

Yes, thank you very much.


Tony

  • Support Staff

April 23, 2014 at 10:26 am

You are most welcome 🙂

Viewing 6 reply threads

The support post ‘Display multiple 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