ecommerce-shopping-cart icon indicating copy to clipboard operation
ecommerce-shopping-cart copied to clipboard

handelAddToCart function not found

Open 99Nistha opened this issue 4 years ago • 4 comments

99Nistha avatar Jun 19 '20 12:06 99Nistha

I guess the issue is there is a typo in handelAddToCart.

basir avatar Jun 20 '20 05:06 basir

yes sir, the issue is resolved thank you so much

On Sat, Jun 20, 2020 at 10:53 AM Bassir Jafarzadeh (Coding Teacher) < [email protected]> wrote:

I guess the issue is there is a typo in handelAddToCart.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/basir/ecommerce-shopping-cart/issues/9#issuecomment-646943786, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALDK4BYMOQFGPTVKIHO7RZLRXRBUHANCNFSM4OCWA4RQ .

99Nistha avatar Jun 20 '20 05:06 99Nistha

how its resolved

sindhubc1 avatar Aug 03 '20 07:08 sindhubc1

change the onClick of Add to Cart button. It should be: onClick={(e) => this.props.addToCart(this.props.cartItems, product)}

swati1707 avatar Sep 13 '20 10:09 swati1707