Support

Home Forums Multiple Event Registration Add-on Add to cart for for multi event issue

Add to cart for for multi event issue

Posted: June 9, 2022 at 1:18 pm

Viewing 6 reply threads


kevin l

June 9, 2022 at 1:18 pm

When we add a ticket to the cart and return to the ticket page to buy more, the “add to cart” button no longer shows. Only when the cart is empty

https://gaversfdn2022.flywheelsites.com/events/barndance-tickets/

Cart empty: https://i.imgur.com/s2cKxgf.png
Item in the cart: https://i.imgur.com/aKewKEj.png

How can we keep the add to cart button active on the ticket pages so people can go back and add different ticket options and items to the cart?


Tony

  • Support Staff

June 9, 2022 at 4:15 pm

Hi there,

The ‘Add to Event Cart’ button actually changes its text to be ‘View Event Cart’ once a ticket submission has been made, the reason for this was to prevent the need an additional button just to go to the cart.

The user can actually select more tickets and click the ‘View Event Cart’ button again to add those to the cart.

Or click the button without setting any additional qty’s and view the cart.


kevin l

June 9, 2022 at 4:17 pm

Is there a way to change this text in the button? Its very confusing for our test audience and im sure it will be for most customers when launched to know the view cart also acts as an add to cart button


Tony

  • Support Staff

June 9, 2022 at 4:20 pm

Sure, what would you like to change the text to? I’ll give you an example snippet to do it.


kevin l

June 9, 2022 at 4:26 pm

Maybe “Add/View Cart”


Tony

  • Support Staff

June 9, 2022 at 4:43 pm

For that you can use a snippet like this:

https://gist.github.com/Pebblo/00e163c2882e41741d6a86e42b543cc1

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/


kevin l

June 9, 2022 at 4:47 pm

Thank you!

Viewing 6 reply threads

The support post ‘Add to cart for for multi event issue’ 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