Posted: 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 ? thanks |
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. |
|
|
Hi Josh, re: #2 re #1 Finally: cheers |
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; } |
|
|
thanks Josh,
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 Florian |
|
forgot: what about Early bird prices defined in the Events – if we use the seating chart ? |
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. |
|
|
ok Josh, |
|
(this is after I deactivated the plugin causing issue of aourse) |
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 |
|
|
Ok – I have done some styling and created several seating charts depending on the show type (and related pricing). “Price Range: 0$ – 36$” I want it to say: “Seat Price: 36$” What file to edit, and what to change to make it happen ? |
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. |
|
|
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 ? |
Hi Florian, I’ll follow up with each of your questions below:
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.
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/ |
|
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.