prestashop get product category code example
Example 1: prestashop get product id
$p_id = (int)Tools::getValue('id_product');
Example 2: prestashop get all products
$all_products=Product::getProducts($id_lang, $start, $limit, $order_by, $order_way, $id_category = false, $only_active = false, Context $context = null);