How to handle Partial Payments/Bookings?
I am working on a project where a customer need not pay the entire price upfront. She can book the product by paying x% of the price and pay the rest later. I have a booking amount price field that calculates this. I also added it to my cart and checkout view. However, if the customer books multiple products then these prices need to be multiplied with the quantity and added.
For example: Customer decides to book two units of product A and 3 units of product B, then the booking amount should also be multiplied by the quantity at least and then also added.
How can these calculations be done in the view?
Any help will be appreciated. Thanks.