Modified checkout_trolley to return total price