Hi
When I have added events to Cart and go back and Add another event the number of tickets reverts back to 0 it loses the previous settings although the Total is correct, can this be changed as it would confuse Users? Also can the default be ‘1’ rather than ‘0’.
The cart totals are only saved when you hit the “Enter Attendee Information” button. If you really want the dropdowns to default to 1 instead of 0, you can go into includes/functions/cart.php and change line 934 to be:
for ($i = 1; $i <= $qty; $i++):
but I wouldn’t recommend it, both because you will lose the modification the next time you upgrade, and if you put more than one price on an event, both price levels will default to 1.
Alternatively, you could add a bit of jQuery to the shopping_cart.php template to accomplish the same thing. There’s some example code in this related thread:
Yes, you are a star! Great solution and great support – many thanks!
Viewing 4 reply threads
The support post ‘Cart Totals’ 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.