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