Posted: November 13, 2016 at 4:49 pm
It’s simple when there is only one type of ticket. The button changes from “ADD TO EVENT CART” to “VIEW EVENT CART” when the ticket is added to the cart.
But when there are several types of tickets (e.g. different prices for different types of delegate), then “VIEW EVENT CART” is not what is wanted… (1) The event cart does not allow you to change the TYPE of ticket, only the number of the ticket already selected, (2) the “VIEW EVENT CART” button DOES allow you to add tickets to the cart, but this is unclear to the user.
Currently the ticket selector submit button text changes if there are any tickets from the event within the cart, it is expected the user will select the number of each ticket they want before clicking to add the tickets to the cart.
You can change the text as its is filterable but the change is a global change meaning it will be the same text output for a single ticket and multiple tickets.
In otherwords you have text for no tickets in the cart, and text for any tickets from the event in the cart, you can change either of those but they apply regardless of the amount of tickets selected/available.
I can give you an example snippet to change the text, but what would you prefer it displayed?
“it is expected the user will select the number of each ticket they want before clicking to add the tickets to the cart”
It’s also expected that he may want to change his selection. The event cart allows this but only to an extent – it allows numbers to be changed but not ticket types. Would it not be possible to improve this? It is an unsatisfactory middle ground.
In relation to the button text, perhaps “amend cart” would be good. “View cart” is no good as it doesn’t cover what actually happens: perhaps a note is needed to explain that choices made at that point will be added to the cart and that this is the only way to add a new ticket type (without emptying it and starting from scratch).
Of course, I can create a ticket for our developers to investigate however with the current setup there is no quick fix so its not something we can provide a snippet to change.
To change the text you can use a snippet similar to this:
You can change $btn_text to any string you prefer.
Add that to either your themes functions.php file (preferably a child theme) or create a Custom Functions Plugin and add it there.
The support post ‘Multiple Event Registration – says "VIEW EVENT CART" when shouldn't?’ 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.