Support

Home Forums Multiple Event Registration Add-on Add to Cart – Multi event plugin and more

Add to Cart – Multi event plugin and more

Posted: August 21, 2013 at 5:17 am


Robert White

August 21, 2013 at 5:17 am

We have a variety of tickets available to buy for a single event and a user can buy multiples of these. In addition users have optional add-ons like hotel rooms, meals etc which I have accomplished using questions and question groups. the problem I am having is the add to cart function.

The form is embedded on a page using the shortcode but I would like the user to be able to select a ticket and any of the other add ons using the questions part and then ‘add to cart’ where they will then add multiples of any of the tickets and/or add ons.
Is this possible?
http://www.salsadance.co.uk/end-of-year-weekend-at-the-radisson-blu-edwardian-hotel-london-heathrow/

Secondly, which bit of the css do I need to change to make the question selections wider, they are dropping a line after too few characters.

Thanks


Dean

August 21, 2013 at 6:23 am

Hi Robert,

You will need to change how you are displaying the event slightly.

What I would do would be to perhaps hide the registration form on the event and add the following shortcode to the event description, which will show an add to cart link which will redirect the user on click.

[ESPRESSO_CART_LINK event_id=”add_event_id_here” direct_to_cart=1 moving_to_cart=”Redirecting to cart…”]

The user will then select the number of tickets required and then be sent to fill out their details including the Price Modifier questions and proceed to the payment screen

https://eventespresso.com/wiki/shortcodes-template-variables/#add-to-cart

I think that will do what you are wanting but if not please advise.

This CSS should sort the checkbox width out for you, add it to the bottom of your style.css or via a plugin like My Custom CSS

.options-list-check label {
width: 500px;
}


Robert White

August 21, 2013 at 9:47 am

Hi there I’ve done that but all you get is an enter coupon box and then a button which read ‘enter attendee information’ which doesn’t work?

There is no option to select tickets or enter registration info?


Sidney Harrell

August 21, 2013 at 3:33 pm

For the event id, you’ll want to use the number on the event overview page under ID for that event, and not the unique event identifier on the event editor page.


Robert White

August 22, 2013 at 2:02 am

I’ve done that and it now shows the cart thanks. BUT the attendee registration button is dead?

ANy ideas?


Josh

  • Support Staff

August 22, 2013 at 8:10 am

Usually if a button stops working it’s from either something like an unclosed div or a conflicting script running from another plugin or the theme.

You can rule these out one by one:
1) A theme conflict. You can rule this out by temporarily switching to the default WordPress theme.
2) A plugin conflict. You can rule this out by temporarily deactivating any other installed WordPress plugins.
It may also help to turn on debug mode. You can set wp_debug to true by editing the wp-config.php file.
You can use an [FTP client][1] and [a text editor][2] to access change this line to the site’s wp-config.php file:
define(‘WP_DEBUG’, true);
[1]: http://codex.wordpress.org/FTP_Clients
[2]: http://codex.wordpress.org/Editing_Files#Acceptable_External_Editors

The support post ‘Add to Cart – Multi event plugin and more’ 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