Skip to content

Mini/sidebar shopping cart limit/count not implemented #4750

Closed
@jzahedieh

Description

@jzahedieh

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

  1. 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?

Metadata

Metadata

Assignees

Labels

Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions