Jump to content

How ta add a grid to a form tab in the backoffice?


Recommended Posts


I've managed to add my grid to the backoffice catalog -> product form panel and it's working but messes up the html. This because of the <form> in <form> tags when I include the grid in essentials.html.twig with:

{{ include('@PrestaShop/Admin/Common/Grid/grid_panel.html.twig', { 'grid': my_custom_grid} ) }}

This is because the grid_panel.html.twig has also forms included which messes up the html markup.

What is the best way to include a grid into a form? Is this possible or am I missing something?

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

  • Create New...

Important Information

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