Jump to content

[Solved] Where is located the TPL file for the ORDER LISTING in the BO ?


muksu

Recommended Posts

Hello

Where is located the TPL file for the ORDER LISTING in the BO ?
I want to modify the magnifier icon on the right of the screenshot attached to this post.
I want to remove the POPUP text from it
It bother us when we try to open multiple pages by using CTRL+CLICK to open a new tab (the popup prevent us to click on next line above)

Please help me to find the right TPL to modify it

Best regards

Screenshot 2025-01-28 at 22-55-39 Commandes • BILLEPOLYSTYRENE.FR.png

Edited by muksu (see edit history)
Link to comment
Share on other sites

In recent PS versions the backend is using twig, not Smarty anymore, you can find the files in src\PrestaShopBundle\Resources\views.

Anyway to increase the button size you only need some CSS, no twig modification.

The popup is a javascript

Link to comment
Share on other sites

The actions are compiled dynamically based on the grid definition

\src\PrestaShopBundle\Resources\views\Admin\Common\Grid\Actions\Row\link.html.twig

You shouldn't modify anything there. Easiest way is to use the JS above.

Link to comment
Share on other sites

Hello,

I do agree with JBW. This should be achieved through JS.

But if you do want to modify the source code, the class that you want to look into is src/Core/Grid/Definition/Factory/OrderGridDefinitionFactory.php - commenting out line 491 will remove the popup that's displayed on hover.

I tested the above with PS 8.2 - not really sure what PS version are you using, but it should work fine on 8 - assuming, of course, you do not have the grid code overridden.

Edited by Andrei H (see edit history)
Link to comment
Share on other sites

  • muksu changed the title to [Solved] Where is located the TPL file for the ORDER LISTING in the BO ?

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