Support

Home Forums Multiple Event Registration Add-on Return to Events Calendar from Cart

Return to Events Calendar from Cart

Posted: July 14, 2015 at 11:39 am

Viewing 4 reply threads


Philip DePalo

July 14, 2015 at 11:39 am

When a person adds a class to their cart and are taken to the event where they can select number and type of ticket. I want to display link on that page that returns them back to the Events Calendar so they can continue to add more classes. How do I do this?

Also how do i add a specific link to the cart in my menu? If someone leaves the events section, there is no easy way to get back to the cart without going back to the same event and clicking view cart. I want a “view cart” link in the same dropdown menu as the event listings.


Lorenzo Orlando Caum

  • Support Staff

July 14, 2015 at 12:19 pm

Hi Philip, here is an example that you can use in a site specific plugin or your child theme’s functions.php to change the URL:

https://gist.github.com/joshfeck/e51ac13a3d9fd345ad40#file-change_event_list_url-php


Lorenzo


Philip DePalo

July 14, 2015 at 12:42 pm

I don’t have a back to list button, As an example visit: http://www.easternwatersports.com/class-registration/ click on any event on calendar then choose the Register button. You are now on the “shopping cart.” I want a link on this page that allows the user to go back to the list. I have added a link above and below the shortcode as a temporary fix, but I would like something that is part of the shortcode cart that loads.


Philip DePalo

July 14, 2015 at 12:43 pm

Also if you happen to give some suggestions on how to shrink the calendar a bit so they can see the whole thing on the page without scrolling. Same with the registration page, its HUGE!


Josh

  • Support Staff

July 14, 2015 at 2:10 pm

Hi Philip,

RE:

I would like something that is part of the shortcode cart that loads.

The template that loads the EE3 cart is in /templates/shopping_cart.php. You can add a link to the template code and then copy the template to /wp-content/uploads/espresso/templates and it will load from there.

Re:

how to shrink the calendar a bit so they can see the whole thing on the page without scrolling. Same with the registration page, its HUGE!

Your WordPress theme sets the width and padding for the page content. You can set Event Espresso 3 content to have a narrower width on medium to large sized screens by adding something like the following to your custom stylesheet:

Viewing 4 reply threads

The support post ‘Return to Events Calendar from Cart’ 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