How do I calculate total price while using the Ticket Purchases widget?