Support

Home Forums Event Espresso Premium Accordion shutting after adding to cart / Adding multiple events each day

Accordion shutting after adding to cart / Adding multiple events each day

Posted: March 26, 2014 at 10:29 am

Viewing 4 reply threads


melfisher

March 26, 2014 at 10:29 am

When I add a multiple [ESPRESSO_CART_LINK event_id=”1″ anchor=”CLICK HERE TO ADD TO ADD THIS EVENT TO YOUR CART- At checkout you will be able to fill in the number of guests in your party for individual events.”] to multiple events in same cart it wiped out other events on page. Also is there a way to change from “view cart” to “Event added to cart” Trying to make as foolproof as possible. The other question is if I have multiple times for an event but need to limit the amount of participants per time, is that possible? I can only find where it is for total event.


melfisher

March 26, 2014 at 2:00 pm

Here is the page I am having an issue with. Try clicking the add to cart button and it wipes out everything in the accordion. Could really use your help in this issue and other one I posted earlier today, have a deadline approaching.


melfisher

March 26, 2014 at 2:00 pm

http://www.melfisher.com/mfd/?page_id=2358


Lorenzo Orlando Caum

  • Support Staff

March 26, 2014 at 2:32 pm

Hello,

Using Google Chrome, I went to your page and clicked on the link for the first event and it worked. I then went to the second event and it also worked:

http://cl.ly/image/0r2u1L1m3X1H

I can also expand and minimize the accordion.

What browser are you running into this issue with?


Lorenzo


melfisher

March 27, 2014 at 7:59 am

Thank you for your response. I am using chrome as well, the problem is if the person clicks on the second event first (Example, July 13th) on the same date, it collapsed that whole thing where you can not see first event.

Thanks for your help


Tony

  • Support Staff

March 28, 2014 at 5:54 am

Hi,

To stop this the cart link needs to be wrapped within another element. As you are using custom cart links within the event description you’ll need to do this manually.

So you’ll need to edit the events where you are using the shortcode:

[ESPRESSO_CART_LINK event_id=”1″ anchor=”CLICK HERE TO ADD TO ADD THIS EVENT TO YOUR CART- At checkout you will be able to fill in the number of guests in your party for individual events.”]

Switch the editor to text mode. http://take.ms/bIDTI

Add ‘span’ tags (opening and closing as highlighted) around the shortcode, like this: http://take.ms/EGKpt

Then update the event.

You’ll need to do this for all the events as any cart link not enclosed within the span will cause the issue you mentioned.

Viewing 4 reply threads

The support post ‘Accordion shutting after adding to cart / Adding multiple events each day’ 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