brys Posted September 14, 2019 Share Posted September 14, 2019 (edited) In Prestashop 1.7.5 I added in my module 3 fields type input: price, width and height which I display on the product page in the displayProductAdditionalInfo hook. Now I want to send them to the ProductController. In my javascript, after changing the values in the above fields, I call prestashop emit on the onchange event prestashop.emit('updateProduct', { reason: { price: price, width: width, height: height } }); This calls the product controller but only sends id_product and quantity - qty I would like to send my input: price, width and height? Edited September 14, 2019 by brys (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now