Jump to content

override backoffice order view...


Recommended Posts

Hi there!

I am trying to add some extra information at the top of an order view in the BO.. I want to do in the correct way, creating a module and overriding as explained here: https://devdocs.prestashop-project.org/1.7/modules/concepts/templating/admin-views/

I ve created a simple "dummy" module with this file:

/public_html/modules/foo/views/PrestaShop/Admin/Sell/Order/Order/view.html.twig

Inside it I ve only this line:

{% extends '@PrestaShop:Admin/Sell/Order/Order/view.html.twig' %}

But all the time this error is thrown:

Template "PrestaShopBundle:Admin/Sell/Order/Order/view.html.twig" is not defined in "@PrestaShop/Admin/Sell/Order/Order/view.html.twig" at line 1.

What I am doing wrong? thanks in advance ;)

Link to comment
Share on other sites

  • 8 months later...

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...