-
Notifications
You must be signed in to change notification settings - Fork 69
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
Check that cart total is not zero before rendering express checkout #9691
Check that cart total is not zero before rendering express checkout #9691
Conversation
Test the buildOption 1. Jetpack Beta
Option 2. Jurassic Ninja - available for logged-in A12s🚀 Launch a JN site with this branch 🚀 ℹ️ Install this Tampermonkey script to get more options. Build info:
Note: the build is updated when a new commit is pushed to this PR. |
Size Change: +21 B (0%) Total Size: 1.34 MB
ℹ️ View Unchanged
|
…o-amount-after-coupon-discount
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @dmvrtx. Code changes look good to me and it works as expected (tested with GPay and Chrome)
🚢
…o-amount-after-coupon-discount
…o-amount-after-coupon-discount
…o-amount-after-coupon-discount
…o-amount-after-coupon-discount
…o-amount-after-coupon-discount
Fixes #9687
Changes proposed in this Pull Request
I've discovered a few other similar code flows, but those appear to be not affected by the case of coupons, as there is nowhere to enter the coupon code, e.g. on the product page.
Testing instructions
On a separate note, if we reapply coupon, we will get an error notice "Coupon has already been applied!", but the cart update will happen as it should.
npm run changelog
to add a changelog file, choosepatch
to leave it empty if the change is not significant. You can add multiple changelog files in one PR by running this command a few times.Post merge