Support

Home Forums Event Espresso Premium Seating Chart: a few questions to imlement it properly

Seating Chart: a few questions to imlement it properly

Posted: February 21, 2014 at 12:45 pm


Florian Werner

February 21, 2014 at 12:45 pm

Hi, please answer each of these questions:

1) how to use event defined prices

2) where to edit the prices after the initial seating configuration – I only see Edit, Trash, Section Alignment and View Chart links

3) which prices take precedence: seat defined price or event ?
all seats have same price for now, but the price for a given recurring event depends on whether it is an opening show or regular.

thanks
Florian


Josh

  • Support Staff

February 24, 2014 at 10:46 am

Hi Florian,

With #1 and #3, the seating chart price always overrides or takes precedence over a prices that’s set in the event editor.

With #2 there should be a “Seats” link when you hover over the seating chart’s name. If there’s not a seats link, then you can click the + Add Seat tab to add a seat.

When you click on Seats it will take you to a list of seats where you can click edit and edit the prices.

https://eventespresso.com/wiki/seating-chart/


Florian Werner

February 24, 2014 at 11:23 am

Hi Josh,

re: #2
this is what I see (no Seats link) and we do have Seats already configured: https://www.dropbox.com/s/gp4ubkh5dzp0w8s/Screenshot%202014-02-24%2013.19.31.png

re #1
I need Event diefined price to be the one to be taken into account. Currently there are no special seat pricing. Can I omit the Seat prices so it takes the Event defined prices ?

Finally:
can I edit the current event tempalte so that the View Seating Chart link is more explicit (blue underligned instead of black – and also make the seating chart like a button or so – because the links are really not obvious on that template. See here: http://theatrelacbrome.ca/registration/?ee=96

cheers
Florian


Josh

  • Support Staff

February 24, 2014 at 12:31 pm

Hi Florian,

You’ll need to make sure that JavaScript is enabled in your web browser in order to see the Seats link.

> Can I omit the Seat prices so it takes the Event defined prices ?

No. You’ll need to define the seat prices in the seating chart.

> can I edit the current event tempalte so that the View Seating Chart link is more explicit (blue underligned instead of black – and also make the seating chart like a button or so

I’d recommend styling this with CSS instead of editing the template. Something like this can be added to your stylesheet:

input.ee_s_select_seat {
background: url(link-to-your-button-image) no-repeat;
border: 0;
text-indent: 50px; /* make this the width of your button */
}

/* color the links blue and underline them */
.event_form_field > a {
color: blue;
text-decoration: underline;
}


Florian Werner

February 24, 2014 at 1:39 pm

thanks Josh,

You’ll need to make sure that JavaScript is enabled in your web browser in order to see the Seats link.

I am using firefox and Javascript works on my browser. So there is a bug somewhere because “Seats” link does not display anywhere – could it be due to some incompatible versions of the add-on versus core EE versions ?

re : seating price superseeding the event prices
that is not helpful – that means I have to define different seating charts if Matinee prices are different. Can I just leave price blank in seating chart so that it uses the the Event price ?
What’s the point in defining prices in the event page then ?

Florian


Florian Werner

February 24, 2014 at 1:42 pm

forgot: what about Early bird prices defined in the Events – if we use the seating chart ?
The logic here that you are describing does not make sense to me. It would be making it more flexible to use Event page defined pricing if we leave a particular seat price blank. Please submit this as a change request to EE for a future update. In the meantime – what can I do without having to spend too much time on this.
F


Josh

  • Support Staff

February 24, 2014 at 2:24 pm

It may be there’s a JavaScript error happening in the admin. Which could be a bug in your theme or another WordPress plugin. If you temporarily deactivate all non-EE plugins and temporarily switch to the twentyfourteen theme you may be able to find the plugin or the theme that is causing the seat link to not display. Here’s a screenshot that shows where the Seat link should be displayed.

>Can I just leave price blank in seating chart so that it uses the the Event price ?

No. The seating chart requires a price to be entered for each seat.

> What’s the point in defining prices in the event page then ?

Defining prices in the event editor is for events when you’re not using a seating chart.

The quick way to define different prices for different events while using the seating chart is to duplicate your original seating chart file, then do a find all and replace in your spreadsheet program to change the price and save. Then you can upload this new chart and assign the other events to that chart.


Florian Werner

February 26, 2014 at 12:26 pm

ok Josh,
I found the plugin causing the issue.
However, when I view the chart and hover my mouse, I don’t see the Seat number being displayed. That field is empty. Also the align right feature does not work.
I need to display the seat number.
please adivse.
Florian


Florian Werner

February 26, 2014 at 12:27 pm

(this is after I deactivated the plugin causing issue of aourse)


Josh

  • Support Staff

February 26, 2014 at 1:40 pm

Hi Florian,

When you go to edit the seats, is there anything filled out in the custom tag field? It will look like this

The value of that field will display in the ticket selector after where it says Seat:

With the section alignment not working, did you use it according to the documentation here:

https://eventespresso.com/wiki/seating-chart/#section-alignment


Florian Werner

March 6, 2014 at 8:52 am

Ok – I have done some styling and created several seating charts depending on the show type (and related pricing).
Now in the event registration page the text displays is:

“Price Range: 0$ – 36$”
I don’t have any 0$ seats (only placeholders)

I want it to say: “Seat Price: 36$”

What file to edit, and what to change to make it happen ?
thanks
Florian


Josh

  • Support Staff

March 7, 2014 at 9:00 am

Hi Florian,

Please don’t edit any of the plugin’s files. The function that displays the price can be unhooked by an action and then a modified function can be added to the same action. Here’s something you can add to your custom file add-on’s custom_functions.php file or in a custom snippet plugin

add_action( 'espresso_seating_price_select_action', 'my_custom_seating_chart_prices', 9, 2 );

function my_custom_seating_chart_prices( $event_id, $atts = '' ) {
	global $org_options;
	remove_action('espresso_seating_price_select_action', 'espresso_seating_price_select_action', 10, 2 );

	$price_range = seating_chart::get_price_range($event_id);
	$price = "";

	$price = '<span class="section-title">'.__('Seat Price', 'event_espresso').'</span>: '.$org_options['currency_symbol'] . number_format($price_range['max'], 2);
		
	echo $price;
}

Please note that the above code will only display the max price. So if there are any seats that cost less than $36 than it will not display a price range.

The simpler way to set this up without making any code modifications is to assign the same prices as real tickets to the placeholder seats.


Florian Werner

March 21, 2014 at 7:37 am

Thanks for that. I added the code in the file and uploaded to the correct path. It seems to work. I noticed there was some code already in the custom_functions.php file and I kept it there. Should I have removed that ?

Also, if I want to change the text that says: Add More Attendees? (click to toggle, limit 9) and add more space before the Submit button, what file and line numbers should I edit ?
thanks for your help.
Florian


Josh

  • Support Staff

March 25, 2014 at 6:53 am

Hi Florian,

I’ll follow up with each of your questions below:

I noticed there was some code already in the custom_functions.php file and I kept it there. Should I have removed that ?

If it’s the code that is already included with the custom_functions.php file that ships with the custom files add-on you can remove it if you’re not using it.

Also, if I want to change the text that says: Add More Attendees? (click to toggle, limit 9) and add more space before the Submit button, what file and line numbers should I edit ?

We generally advise to avoid changing core functions to change the wording of the text strings because it makes for more work than necessary when you update to the next version. Instead, please consider using a translation function like the example in our documentation:

https://eventespresso.com/wiki/how-to-change-wording-with-poedit/

The exact text string that displays the add more attendees link is as follows:

Add More Attendees? (click to toggle, limit %s)

You can add more space before the submit button by adding some extra margin or padding space with CSS. Here are a few resources that will help explain how to find the selectors to target:

http://css-tricks.com/video-screencasts/15-introduction-to-firebug/

http://htmldog.com/guides/cssbeginner/

The support post ‘Seating Chart: a few questions to imlement it properly’ 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