Jump to content

PS 1.7 how override classes/pdf from module


Recommended Posts

In modules overrides are not implemented automatically. You have to copy the overriden class manual to /overides/* or implement copying it in your install method. Only one module can implement it's changes this way.

If required changes are local to your module consider inheriting a module class from PDFCore (and PDFGeneratorCore) and include and use that class in you module.

See also https://devdocs.prestashop.com/1.7/modules/concepts/overrides/

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More