Skip to content

Uncaught TypeError: this._triggerEvent is not a function #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ahkmunna opened this issue Jul 9, 2018 · 1 comment
Open

Uncaught TypeError: this._triggerEvent is not a function #11

ahkmunna opened this issue Jul 9, 2018 · 1 comment

Comments

@ahkmunna
Copy link

ahkmunna commented Jul 9, 2018

Got this error when updating the quantity or remove an item from the cart. Any idea how to solve this?

@hafizubikm
Copy link

Issue has been resolved. I have changed this code
From this._triggerEvent("itemRemoved", [itemRemove]); To mi._triggerEvent("itemRemoved", [itemRemove]); at line 291

AND
this._triggerEvent("quantityUpdated", [mi.cart[i], qty]); To mi._triggerEvent("quantityUpdated", [mi.cart[i], qty]); at line 318

Deejay-Ste pushed a commit to tete-chercheuse/smart-cart that referenced this issue Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants