Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Update Cart.js checkout button #264

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SirChristianWilliam
Copy link

Previously, the checkout button was always enabled, even if there were no items in the cart. The added code conditionally renders the button as either disabled or enabled, so when there are no items in the cart it will not be able to be clicked.

Previously, the checkout button was always enabled, even if there were no items in the cart. The added code conditionally renders the button as either disabled or enabled, so when there are no items in the cart it will not be able to be clicked.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant