prestatent Posted September 16, 2013 Share Posted September 16, 2013 Prestashop 1.5.4.1 Hi I've added a new field to the store, but when I'm trying to add a new record, I get the following error: An error occurred while creating an object. store (Field 'id_vip' doesn't have a default value I know this is not the correct way to do these things, but I've amended AdminStoresController.php to include the new field, but I'm obviously missing something. Anyone have ideas about this? Thanks. Link to comment Share on other sites More sharing options...
PascalVG Posted September 16, 2013 Share Posted September 16, 2013 Hi Prestatent, I helped some two weeks ago someone with adding a field to the manufacturer table. Maybe have a look at the general idea how to do it. http://www.prestashop.com/forums/topic/271622-add-manufacturer-new-data-into-database/?view=findpost&p=1361139 Hope this helps, pascal Link to comment Share on other sites More sharing options...
prestatent Posted September 16, 2013 Author Share Posted September 16, 2013 Excellent. Thanks PascalVG, I'll have a look now. 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