Jump to content

Save additional field from product page in database


Recommended Posts

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?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...