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/.
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"]');?>
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).
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.