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

Disallow checkout if qty = 0 #11605

Merged
merged 1 commit into from
Aug 2, 2022
Merged

Conversation

snipe
Copy link
Owner

@snipe snipe commented Aug 2, 2022

This is kind of a janky fix, but since we use a link (not a button) for checkout, even though it's "disabled" in CSS, it's still clickable. While the visual cue should be enough to make folks not click on it, it currently does let you click on it. This changes it to a disabled button with no destination, so it's truly disabled.

Consumables is going through a bit of rework right now so I don't want to mess with it too much, but eventually will need some good UI love.

@snipe snipe merged commit 8d8c502 into develop Aug 2, 2022
@snipe snipe deleted the fixes/really_disable_consumable_checkout branch August 2, 2022 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant