zunxunz Posted February 23, 2023 Share Posted February 23, 2023 I need to add multiple custom db fields, to multiple objects, that should be accessible through the ORM. If I should not do this by using overrides, then how should I accomplish this in Prestashop 1.7+? Link to comment Share on other sites More sharing options...
Daresh Posted February 23, 2023 Share Posted February 23, 2023 Depends on your application. Maybe you only think that you need the fields accessible through the ORM, while it can also be avoided. Link to comment Share on other sites More sharing options...
zunxunz Posted February 23, 2023 Author Share Posted February 23, 2023 Thank you for your reply, but please assume that I'm a pro-developer and have dev experience with Prestashop for over 10 years, and that the question that I asked is exactly what I need to know. The Prestashop documentation claims that overrides should be avoided in PS1.7+, yet, there is no documentation to be found how to add custom fields to objects that can be accessed through the ORM. So, how would I accomplish this without overrriding the base code? Link to comment Share on other sites More sharing options...
Daresh Posted February 23, 2023 Share Posted February 23, 2023 You can't. 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