Support

Home Forums Multiple Event Registration Add-on Multiple Event Registration not listing all sessions in cart

Multiple Event Registration not listing all sessions in cart

Posted: August 7, 2012 at 8:45 pm


Byron

August 7, 2012 at 8:45 pm

I am not sure what’s going on here, but I set up an event with three sessions (three events) and followed the example at: https://eventespresso.com/wiki/multiple-events-registration-use-add-to-cart-link-instead-of-default-registration-form/

When I first tested, viewing any of the events would bring up all three when I clicked “add to cart” link. Now only one or sometimes two will show, but not all three? I assumed that the direct_to_cart parameter had to be the same for each to make them all appear together.

Any idea on where to look for an answer?

  • This topic was modified 11 years, 8 months ago by  Josh. Reason: moving to Multi Event Registration forum


Josh

  • Support Staff

August 8, 2012 at 8:22 am

Hi Byron,

Is the shortcode including more than one event? If so, there is a bug in the current version. I can send you the latest build of 3.1.26 that we are testing. The new version addresses this issue.


Byron

August 8, 2012 at 6:30 pm

Josh,

After further testing I found that which events are displayed after I activate the ‘Add to Cart’ button, depends on which event I began registration from.

I created 3 events. Event 1 has the earliest start time. Event 2 is scheduled to start later than Event 1 but before Event 3.

If I begin registration by accessing Event 1, all three events display in the cart, for me to select the number of tickets. If I start from Event 2’s registration page, only Events 2 and 3 are available in the cart. And, as you would guess, if I start from Event 3, only Event 3 is displayed in the cart.

Is this normal behavior?

Will the newest version solve this issue?


Josh

  • Support Staff

August 11, 2012 at 6:04 am

It should, it’s available to download now from the account page.


Byron

August 12, 2012 at 10:37 am

Installed Version 3.1.26.P. Seems to offer no change. All related events are not displaying in the cart. It seems the number of events displayed in the cart depends on the start time of the event from which you access the cart. The later the start time, the fewer the number of events displayed.

Any other thoughts?


Josh

  • Support Staff

August 13, 2012 at 12:43 pm

Hi Byron,

Is there a copy of shopping_cart.php in /wp-content/uploads/espresso/templates?


Byron

August 13, 2012 at 8:09 pm

Josh,

My /wp-content/uploads/espresso/ folder only contained a templates-old folder which did contain a copy of shopping_cart.php. I changed the templates-old to templates, with no change in the behavior of the cart.


Josh

  • Support Staff

August 14, 2012 at 9:31 am

I recommend changing that back to templates-old, as having the older templates in /wp-content/uploads/espresso/templates will override the core Event Espresso templates and can potentially break things.

What are the cart-link shortcodes that you have set up for these events?


Byron

August 14, 2012 at 10:01 am

Josh,

For each event, they are the same.

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

I assume the “direct_to_cart=1” tells it which cart the events should be listed in? So if I had another group of active events (as sessions for an overall event) I would use another unique cart number. Is that correct?


Josh

  • Support Staff

August 14, 2012 at 4:53 pm

direct_to_cart=1 literally means “redirect to the cart page when clicked” To add additional events to the cart, you’ll need to use the event_id parameter:

[ESPRESSO_CART_LINK event_id=”1-2-3″ anchor=”Register for These Events”]
(Adds events with the event IDs of 1, 2 & 3 to the cart.)

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


Byron

August 15, 2012 at 5:56 am

Josh,

Thanks. That was the missing piece I needed for this event.

One quick follow up question. Is there only one cart? If I have more than one multi-sesson event planned, will all sessions for all events show up in the same cart? Or is there a way to have multiple carts, one for each multi-sesson event? In the testing I’ve done, it seems all events (sessons) for all scheduled events show up in the same cart once I include the event number in the “event_id=” .

Thanks for all your help on this .


Josh

  • Support Staff

August 15, 2012 at 12:12 pm

There is one cart per transaction.

The support post ‘Multiple Event Registration not listing all sessions in 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