Tfloyd Posted June 28, 2017 Share Posted June 28, 2017 Hi, I'm trying to add a field on the Attribute class. Actually I already managed to add one, everything is working fine. But I would like this field to be updatable depending the selected store. And I can't do that. I of course have added my field in the attribute_shop table. I also added 'shop' => true in the Attribute class definition for my new field, but it seems it's not enought. When I save it tells me an error occured while saving the Attribute object. Is this doable and if yes what am I missing ? Thanks ! Link to comment Share on other sites More sharing options...
Tfloyd Posted June 29, 2017 Author Share Posted June 29, 2017 Well, finally it was a small thing missing. I did all I have to do but I had to add the same new column in the attribute table too. I indeed deleted it because I thought it only had to exist in the attribute_shop table. 1 Link to comment Share on other sites More sharing options...
Scully Posted June 30, 2017 Share Posted June 30, 2017 Both tables are your frieds to make it work ! 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