Jump to content

Writing Product Data To The "inventory" Table Of The Db

Guest CaseyC

Recommended Posts

I have added three new input fields to the "Inventory" table of the CC db. I have also added the code to /admin/products/index.php to display the title and input box for each new field. I am able to input data into the input box and, if I manually enter data in the table through phpMyadmin it will display in "Edit Products". However, the data is never written to the data base when I click the button to update the product. What do I have to do to have these three items included in the table update?


Klaus Cook

Houston, TX USA

Link to comment
Share on other sites

You need to add the new fields to the $record function. Do a search and you should find a section that records all the information to the database. Simply add the fields you added and it should solve the problem.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...