How to add form values to cart in odoo 12

36 Views Asked by At

I have a custom selection box and 2 textboxes. The selection box has a product name(Test-Product) loaded in it from product.template while the 2 textboxes are for quantity and price. The quantity has a default hidden value of 1. What I want to do is to add the selection box, quantity and price to cart.

​I tried to get some idea from the link below but when click add to cart button nothing happens. Add product to cart on a non shop page

My screenshot: https://pasteboard.co/ikyZ5uPfsj1y.png

0

There are 0 best solutions below