I want to adjust the number of products displayed in cart popup list in prestashop. If I bought too much products. The popup menu will be very long. I already disable the pics. Like below:
[![enter image description here](https://i.stack.imgur.com/qRtLk.png)](https://i.stack.imgur.com/qRtLk.png) [![Add a new product without refresh](https://i.stack.imgur.com/ejaKn.png)](https://i.stack.imgur.com/ejaKn.png)

And if I add a new product, its pic is still there. After I refresh the page the pic is gone.

All I have done is to disable the code in blockcart.tpl

```
    {*<a class="cart-images" href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category)|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'cart_default')}" alt="{$product.name|escape:'html':'UTF-8'}" /></a>*}

```

So I have 2 problems:

How to limit the number of products displayed in cart list in prestashop?

How to solve the bug in the cart?