Multiple Seat & Price Categories

[ad_1]

Hi Franky,

I’m having a minor issue when customising the Front-End Submit form. The site is still in development so I can’t link it now.

The client has three consistent seat and pricing options/tiers for every single event, so I would like to have three separate inputs. They would then put the number of seats and the price for each option separately, instead of using the double pipes. (‘||’)

I have included the following code in the template file for the seats:

<div class="input">
			<label for="event_seats(1)"><?php _e('Seats 1','events-made-easy-frontend-submit'); ?></label><br />
			<?php EMEFS::field('event_seats(1)'); ?>
			<?php EMEFS::error('event_seats(1)'); ?>
		</div>

        <div class="input">
			<label for="event_seats(2)"><?php _e('Seats 2','events-made-easy-frontend-submit'); ?></label><br />
			<?php EMEFS::field('event_seats(2)'); ?>
			<?php EMEFS::error('event_seats(2)'); ?>
		</div>

        <div class="input">
			<label for="event_seats(3)"><?php _e('Seats 3','events-made-easy-frontend-submit'); ?></label><br />
			<?php EMEFS::field('event_seats(3)'); ?>
			<?php EMEFS::error('event_seats(3)'); ?>
		</div>

And then the following code for the pricing:

<div class="input">
			<label for="price(1)"><?php _e('Price 1','events-made-easy-frontend-submit'); ?></label><br />
			<?php EMEFS::field('price(1)'); ?>
			<?php EMEFS::error('price(1)'); ?>
		</div>

        <div class="input">
			<label for="price(2)"><?php _e('Price 2','events-made-easy-frontend-submit'); ?></label><br />
			<?php EMEFS::field('price(2)'); ?>
			<?php EMEFS::error('price(2)'); ?>
		</div>

        <div class="input">
			<label for="price(3)"><?php _e('Price 3','events-made-easy-frontend-submit'); ?></label><br />
			<?php EMEFS::field('price(3)'); ?>
			<?php EMEFS::error('price(3)'); ?>
		</div>

On the form, the fields show exactly as I’d like them to, but when submitting the following error is shown:

“By using #_SEATS{xx}, you are using multiple seat categories in your RSVP template, but you have not defined a price for each category in your event RSVP settings. Please correct the event RSVP settings.”

I would appreciate any assistance or insight you can offer on this.

Thanks very much for your work – it’s excellent and useful beyond words!

Thanks,
Ash.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer