Skip to content

Mini Cart return no items #6265

Closed
Closed
@sstar297

Description

@sstar297

I have a bug with magento 2.1 but i think it is from base. when i add to cart from product detail: ajax is loaded and everything is good, mini cart show 1 item but the bug appear when i add to cart from homepage or extension have button not ajax. minicart does not update and return "No items"

Now, miniCart have a trigger call function load minicart after add to cart by ajax so if i code a button add to cart not run ajax but product is added, no wrong. the trigger is not called so minicart return wrong.

Can you help me to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CatalogFixed 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 failedIssue: 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