Support

Home Forums Multiple Event Registration Add-on "Add to Cart" No Longer Available

"Add to Cart" No Longer Available

Posted: May 15, 2013 at 10:45 am

Viewing 4 reply threads


ksavoie

May 15, 2013 at 10:45 am

I have recently been informed by a client that the “Add to Cart” link is not available on their events any longer, which essentially blocks users from registering and purchasing tickets to multiple events at once.  The users are having to register for all events separately and pay for each one separately as well.  I most recently (couple months ago) had a lengthy support thread on here regarding multiple day recurring events.  Would that have caused the Multiple Event Registration addon to stop working?  For reference, here is the URL to that thread: https://eventespresso.com/topic/choose-date-to-attend-during-purchase/.

WordPress Version 3.5.1

Event Espresso Version 3.1.32.2.P

Multi-Event Registration Addon Version 1.0.4

Recurring Events Addon Version 1.1.7

Ticketing Addon Version 2.0.10

Calendar Addon Version 2.0.5.1


Josh

  • Support Staff

May 15, 2013 at 11:33 am

Hi there,

It looks like you’re using custom templates for the event list. The [ESPRESSO_EVENTS] shortcode and [EVENT_LIST] shortcodes will use the custom event_list.php and event_list_display.php templates, which do not have the add to cart links. If you switch to use the default event_list templates the add to cart links will be available.

Alternatively, you can add this to the registration_page_display.php template and the registration page will make an add to cart option available there:

<?php echo do_shortcode('[ESPRESSO_CART_LINK event_id="'.$event_id.'" anchor="Add this event to the cart"]');?>


ksavoie

May 15, 2013 at 11:36 am

I’d like to try your alternate option.  Where is that file located, and where in the file should I add the code snippet?  Thanks.


Josh

  • Support Staff

May 15, 2013 at 11:45 am

It’s in wp-content/plugins/event-espresso/templates, and you’d place the shortcode wherever you want the link to display.

Once you’re done, you can copy registration_page_display.php into your active theme’s directory and it will load from there (and not get overwritten on an update).


ksavoie

May 15, 2013 at 12:22 pm

Works perfect, thanks again Josh.

Viewing 4 reply threads

The support post ‘"Add to Cart" No Longer Available’ 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