title: Prestashop - Field 'quantity' is deprecated
body: <p>I need to display the quantity but when I implement it, it tells me that the field is obsolete, I do not understand the error</p>
  <p>My code :</p>
  <pre class="lang-php prettyprint-override"><code>$id_lang = (int)Context::getContext()-&gt;language-&gt;id;
  $start = 0;
  $limit = 100;
  $order_by = 'id_product';
  $order_way = 'DESC';
  $all_products = Product::getProducts($id_lang, $start, $limit, $order_by, $order_way);
  foreach ($all_products as $products) {
      $this-&gt;output .= $this-&gt;objOutput-&gt;getObjectRender()-&gt;renderNodeHeader('product', 'product');
      $this-&gt;output .= $this-&gt;objOutput-&gt;getObjectRender()-&gt;renderNodeHeader('id', 'id');
      $this-&gt;output .= $products['id_product'];
      $this-&gt;output .= $this-&gt;objOutput-&gt;getObjectRender()-&gt;renderNodeFooter('id', '/id');
      $this-&gt;output .= $this-&gt;objOutput-&gt;getObjectRender()-&gt;renderNodeHeader('id_category_default ', 'id_category_default ');
      $this-&gt;output .= $products['id_category_default'];
      $this-&gt;output .= $this-&gt;objOutput-&gt;getObjectRender()-&gt;renderNodeFooter('id_category_default ', '/id_category_default ');
      $this-&gt;output .= $this-&gt;objOutput-&gt;getObjectRender()-&gt;renderNodeHeader('name', 'name');
      $this-&gt;output .= $products['name'];
      $this-&gt;output .= $this-&gt;objOutput-&gt;getObjectRender()-&gt;renderNodeFooter('name', '/name');
      $this-&gt;output .= $this-&gt;objOutput-&gt;getObjectRender()-&gt;renderNodeHeader('price', 'price');
      $this-&gt;output .= $products['price'];
      $this-&gt;output .= $this-&gt;objOutput-&gt;getObjectRender()-&gt;renderNodeFooter('price', '/price');
      $this-&gt;output .= $this-&gt;objOutput-&gt;getObjectRender()-&gt;renderNodeHeader('description', 'description');
      $this-&gt;output .= $products['description'];
      $this-&gt;output .= $this-&gt;objOutput-&gt;getObjectRender()-&gt;renderNodeFooter('description', '/description');
      $this-&gt;output .= $this-&gt;objOutput-&gt;getObjectRender()-&gt;renderNodeHeader('quantity', 'quantity');
      $this-&gt;output .= $products['quantity'];
      $this-&gt;output .= $this-&gt;objOutput-&gt;getObjectRender()-&gt;renderNodeFooter('quantity', '/quantity');
      $this-&gt;output .= $this-&gt;objOutput-&gt;getObjectRender()-&gt;renderNodeFooter('product', '/product');
  }
  </code></pre>
  <p>Thank you for helping me</p>