djpaul Posted March 7, 2012 Share Posted March 7, 2012 Hello, I found this tweak on this link but i think it's made for an older version of prestashop. Now i'm dealing with 1.4.7 and it works almost. Only thing is when i want to add a new product, it gives an error, namely: An error occurred while creating object. product So i think there has been some changes in the product class that gives me this error. Does anybody kows where this is coming from or how to fix this? Thanks! Paul Link to comment Share on other sites More sharing options...
djpaul Posted March 8, 2012 Author Share Posted March 8, 2012 Well, found the solution. I made 1 mistake, the database field was a varchar(45) instead of date. After that it still won't work so i changed: $fields['date_available'] = pSQL($this->date_available); To: $fields['date_available'] = $this->date_available; And then... it works! Greetz! Paul Link to comment Share on other sites More sharing options...
tivicrdotcom Posted August 1, 2012 Share Posted August 1, 2012 When it didn't work what happened? Did the screen went blank? That happened to me 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