Magento2: Mini/sidebar shopping cart limit/count not implemented

Created on 27 May 2016  路  7Comments  路  Source: magento/magento2

Steps to reproduce

  1. Install Magento from version 2.0.6 (enterprise) branch with sample data.
  2. Set store configuration Maximum Display Recently Added Item(s) to `2
    (_Located under Sales > Checkout > Shopping Cart Sidebar_)
  3. Clear caches
  4. Add 3+ separate items to basket.
  5. Assert limited to two in mini cart / checkout sidebar

    Expected result

  6. Assert 2 items are displayed in mini cart and checkout sidebar

    Actual result

No limit implemented (from what I can tell)

[Screenshot - Sidebar]
sidebar

[Screenshot - Minicart]
minicart

Code Search

I have also had a nosy around the code,

checkout/sidebar/display has been assigned to a constant in
vendor/magento/module-checkout/Block/Cart/Sidebar.php:18

But I can't find any reference for the configuration option checkout/sidebar/count, has this been implemented?

Ready for Work bug report

All 7 comments

I have upgrade to 2.0.7 EE and the issue persists

@jzahedieh Thank you for reporting this issue. We have created an internal ticket MAGETWO-53793 to investigate and fix the problem.

I see a few commits in relation to the fix were included in 2.1, could you please confirm that the issue is fixed because I can still add infinite products to both my minibag and checkout side bar, if so I will update with more formal bug report.

Thanks.

Hi, the issue is still present in 2.1, and we plan to have it fixed in one of the following patches. We will update the ticket once it becomes available. However, the issue have been fixed for 2.2, thus closing the ticket.

The fix has been released as a part of 2.0.9.

The issue has been released in 2.1.1.

Thank you for raising this issue @jzahedieh.

I can confirm this issue is fixed on 2.1.1

screen shot 2016-10-12 at 14 34 37

screen shot 2016-10-12 at 14 36 20

Was this page helpful?
0 / 5 - 0 ratings