Describe the bug
Remove search fields, search button, labels and bulk checkbox when listing are empty
Already migrated pages:
Not yet migrated pages:
Screenshots
Pages without empty state

Pages with empty state

@matks can we do it at once or does it require going through all the pages ?
@marionf It can be done in a single step when modifying the global system.
By the way, there was an attempt to do this task in https://github.com/PrestaShop/PrestaShop/pull/17456 however I had to revert it in https://github.com/PrestaShop/PrestaShop/pull/17547 because it broke e2e tests 馃槃 .
The issue was that there are 2 ways to have an empty listing:
In the 1st usecase, removing the "search" fields makes sense. In the 2nd if you do that, you cannot correct your bad search 馃槄
In the 2nd if you do that, you cannot correct your bad search sweat_smile
Ah yes, nice catch !
Good news if it can be done in a signle step, I add it for the 1.7.8
Most helpful comment
@marionf It can be done in a single step when modifying the global system.
By the way, there was an attempt to do this task in https://github.com/PrestaShop/PrestaShop/pull/17456 however I had to revert it in https://github.com/PrestaShop/PrestaShop/pull/17547 because it broke e2e tests 馃槃 .
The issue was that there are 2 ways to have an empty listing:
In the 1st usecase, removing the "search" fields makes sense. In the 2nd if you do that, you cannot correct your bad search 馃槄