Skip to content

When adding a product to shopping cart, it is not added to mini cart, but it is in /checkout/cart/ #5946

@jaimestuardo

Description

@jaimestuardo
  1. Magento 2.1.0
  2. PHP 5.6.23

Steps to reproduce

  1. Load the catalog in frontend and add a product to shopping cart. No product are actually added to minicart
  2. If loading /checkout/cart/, products added are there.

Expected result

  1. To increase number in mini cart and when click on it, shopping cart layer should be displayed

Actual result

  1. Nothing displayed in mini cart and when clicked on it, a blank layer is shown

When inspecting JavaScript in Google Chrome developer tools, I found this when I load the catalog:

Uncaught TypeError: Unable to process binding "css: function (){return { empty:cart().summary_count == 0} }" Message: cart is not a function

in knockout.js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: FrontendComponent: CheckoutFixed in 2.1.xThe issue has been fixed in 2.1 release lineFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedbug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions