I am completing the design of a mini shopping cart.
My question is, how to make clicking a button change the title and price of two divs. And another, how to change the payment button according to the product and the values selected by the user?
Prototype link: link