I have Added 2 text box in product page to recive height an width from user for each product.
I have used textbox input just like quantity in The buy-block Form.
Now I want to save this textboxs in Database and use them in cart page and order page for each cart and product.
I added 2 variable in cartcontroller.php like $qty in function preProcess() .
Now how can I save them in DB?
I have Added 2 text box in product page to recive height an width
Share
If I understand, you want your customers to submit custom values along the product they order.
In this case, you should look for “product customization” fetaure of PrestaShop :
http://doc.prestashop.com/display/PS15/Adding+Products+and+Product+Categories#AddingProductsandProductCategories-ManagingCustomization
You can add textbox on product page, customers will type values, these values wiil be displayed on cart and order detail.