public function getProducts($searchQuery = null)
 {
     $product = new Product();
     $res = $product->getProductsByIdShop(intval($_GET['records']));
     while ($row = PDOQuery::getInstance()->next_row($res)) {
         $this->smarty_products[] = array('id_product' => $row['id_product'], 'product' => $row['product'], 'reference' => $row['reference'], 'stock_available' => $row['stock_available'], 'price' => $row['price']);
     }
     $this->context->smarty->assign("productList", $this->smarty_products);
     $this->context->smarty->assign("pagination", $product->pagination_render);
 }