Support

Home Forums Event Espresso Premium Using Multi Event Registration Card template as single event page?

Using Multi Event Registration Card template as single event page?

Posted: October 21, 2012 at 4:43 pm


Nick Putman

October 21, 2012 at 4:43 pm

Hi,

At the moment I have a single event page which has the code to redirect users to the Multi Event Registration form. As I have a separate page with all of the details of my event I am wondering if it is possible to bypass the single event page and go straight from the alternate page I have set up for describing the event to the Multi Event Registration page/form? The single event page with the “Add to Cart” link is rather superfluous.

Thanks,

Nick


Josh

  • Support Staff

October 22, 2012 at 8:01 am

Hi Nick,

What you can do is hide the superfluous page from the site’s navigation (either by using the WordPress menu manager, or the exclude pages from navigation plugin). Then you can place the add to cart link directly on your alternate page. Note that you’ll need to include the event id in the shortcode on the alternate page. So as an example, if the event’s ID is 1, the shorcode would look like this:

[ESPRESSO_CART_LINK event_id=”1″ anchor=”Register for This Event”]


Nick Putman

October 22, 2012 at 8:21 am

Hi Josh,

I tried adding that shortcode and it simply replaced the content of my alternate event page with a link entitled ‘View Booking’ which then took me to the Cart page. I was hoping to be able to go to the Cart page directly.

Also, I would still like to have a link to go straight to the Cart page in my navigation menu. Is this possible? If not, I will have to stick to the single event page and the Cart page in addition to my alternate event page.

Nick


Josh

  • Support Staff

October 22, 2012 at 8:30 am

Hi Nick,

I forgot to add that you’ll need to wrap the shortcode in a <div> or it might end up causing some display issues.

The actual link to the cart page can be placed in a nav menu, the only thing is, someone will have to add the event to the cart before anything will display in the cart. So the URL would be the link to the page that has the [ESPRESSO_EVENTS] shortcode on it + ?regevent_action=show_shopping_cart. Example:

http://example.com/event-registrration/?regevent_action=show_shopping_cart


Nick Putman

October 22, 2012 at 8:39 am

Thanks again Josh. I got the navigation item working, but the shortcode on my alternative event page, now wrapped in a div still isn’t linking directly to the Cart page, as per my previous post. I could of course use the same URL that I am using in the navigation item, but were you expecting the shortcode to link directly to the Cart page?


Josh

  • Support Staff

October 22, 2012 at 8:52 am

Hi Nick,

What’s the URL of the page where this is happening?

Also, some background info will help: What is the shortcode on the alternate event page? What is the URL to the page that has the [ESPRESSO_EVENTS] shortcode on it?


Nick Putman

October 22, 2012 at 9:01 am

Hi,

Here is the URL of my customised event page:

http://openparadigmproject.com/brighton-seminar/

It doesn’t contain any shortcode, other than the one you posted, which I was hoping would link directly to the Cart Page, i.e. [ESPRESSO_CART_LINK event_id=”1″ anchor=”Register for This Event”] I’d like to have a link at the top and bottom of this page to the Cart page, at the moment there is just one at the bottom, which isn’t redirecting there.

I don’t have an [ESPRESSO_EVENTS] page, just a single event page, which is the one I was hoping to bypass:

http://openparadigmproject.com/book-on-seminar/

Nick


Josh

  • Support Staff

October 22, 2012 at 9:25 am

Hi Nick,

When I view this page:
http://openparadigmproject.com/brighton-seminar/

The link at the bottom of the page takes me to:
http://openparadigmproject.com/event-registration/?regevent_action=show_shopping_cart

Which would indicate that the [ESPRESSO_EVENTS] shortcode is set up on this page:
http://openparadigmproject.com/event-registration/

Can you confirm?


Nick Putman

October 22, 2012 at 9:28 am

Yes, that is correct. It’s not a page I set up – presumably one of the ones automatically generated by the plugin.


Josh

  • Support Staff

October 22, 2012 at 9:38 am

Yeah, Event Espresso sets this page up automatically when you install the plugin, and it needs that page to be published in order for it to function.

So where is the issue that you’re having?


Nick Putman

October 22, 2012 at 9:43 am

I’d like the link at the bottom of the alternate event page to go straight to the Cart page:

http://openparadigmproject.com/brighton-seminar/

I thought that the shortcode from your first answer would do this:

[ESPRESSO_CART_LINK event_id=”1″ anchor=”Register for This Event”]

But when you click on it you can see that it doesn’t do this. I could of course use the URL that you have now suggested instead, i.e.:

http://example.com/event-registration/?regevent_action=show_shopping_cart

But I was wondering if there is a way of using the ESPRESSO_CART_LINK shortcode, with the animated image ‘Redirecting to Cart’ message, etc.


Josh

  • Support Staff

October 22, 2012 at 10:11 am

So instead of having to click “View Booking”, it would automatically redirect to the cart page? If that’s the case, you could add the redirect and moving to cart parameters:

[ESPRESSO_CART_LINK event_id=”1″ anchor=”Register for This Event” direct_to_cart=1 moving_to_cart=”Redirecting to cart…”]


Nick Putman

October 22, 2012 at 2:42 pm

Thanks Josh. That works nicely.

Nick


cflores

October 23, 2012 at 3:52 pm

I dont think is the a solution…. Cant this be done dynamically? How do I add the short code to a template with PHP not individually like you are suggesting.

The support post ‘Using Multi Event Registration Card template as single event page?’ 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