Jump to content

Extending backoffice templates in 1.7 in distributed modules


Recommended Posts

Hi all,

 

Alright so this is the quote in the official docs:

Overrides in PrestaShop are exclusive. This means that if your module overrides one of PrestaShop's behaviors, another module will not be able to use that behavior properly, or override it in an predictable way.

 

Therefore, overrides should only be used for your own local modules, when you have a specific need that cannot be applied without it.

It is not recommended to use an override in a module that you intend to distribute (for instance through the PrestaShop Addons marketplace), and they are forbidden in partner modules.

 

What I'm trying to do is add a column to the products overview and a field in the sidebar of a specific product (this field is not related to any database fields but generated as the page is loaded).

Now I'm looking to extend the backoffice templates, these are in smarty and it should be fine to extend those templates without breaking these requirements right? Because I'm looking to distribute my module when it's done.

 

Now for the second part of the question, are there any docs available for PS 1.7 explaining extending templates in the backoffice using a module?

Edited by Cstro (see edit history)
Link to comment
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
×
×
  • Create New...