Skip to content
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

customer apply a Coupon not existed in database #420

Open
mosamadi opened this issue Mar 17, 2020 · 2 comments
Open

customer apply a Coupon not existed in database #420

mosamadi opened this issue Mar 17, 2020 · 2 comments
Labels
bug Confirmed or very likely to be a bug. hacktoberfest

Comments

@mosamadi
Copy link

when customer apply a coupon that not exist in database and submit in the applyCoupon function you get error because you don't handle non-object returned from model. you can see in the below image.
screencapture-demo-avored-com-cart-1584446653755 (1)

@indpurvesh indpurvesh added the bug Confirmed or very likely to be a bug. label Mar 18, 2020
@indpurvesh
Copy link
Member

I think i know what is happening there. Will fixed soon.

Thanks @mosamadi

@AbdullahFaqeir
Copy link

This seems to be fixed, needs to be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed or very likely to be a bug. hacktoberfest
Projects
None yet
Development

No branches or pull requests

3 participants