Posted: 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?
|
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. |
|
|
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? |
It should, it’s available to download now from the account page. |
|
|
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? |
Hi Byron, Is there a copy of shopping_cart.php in /wp-content/uploads/espresso/templates? |
|
|
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. |
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? |
|
|
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? |
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”] https://eventespresso.com/wiki/shortcodes-template-variables/#add-to-cart |
|
|
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 . |
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.