title: How to get product id on Product Editing page in BackOffice Prestashop 1.7
body: <p>I am trying to get the product id of the product that is being edited in BackOffice (products page). The controller used there is AdminProducts. I tried to get the value by using Tools class as we do to get the product id on the front office but that doesn't work here. This is the link that I get on that page and after analyzing you can see there is no product id here. Although 1 is the product id meaning not specified like is done in prestashop 1.6. I am using prestashop 1.7. Any idea how I can get the product id in prestashop 1.7 on the products editing page? Also everything else works like if you use Tools class to get the controller name it will give you AdminProducts, only the product id is not there that is being edited.</p>
  
  <p><a href="http://localhost/prestashop/admin14pm/index.php/product/form/1?_token=eVl4wEOMTc2Jo#tab-hooks" rel="nofollow noreferrer">http://localhost/prestashop/admin14pm/index.php/product/form/1?_token=eVl4wEOMTc2Jo#tab-hooks</a></p>