prestashop 1.7 get product by id code example Example: prestashop get product id $p_id = (int)Tools::getValue('id_product');