Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

Docs: CartButtonComponent #12

Open
Markus-MfN opened this issue Aug 16, 2018 · 3 comments
Open

Docs: CartButtonComponent #12

Markus-MfN opened this issue Aug 16, 2018 · 3 comments

Comments

@Markus-MfN
Copy link

Markus-MfN commented Aug 16, 2018

Related page: CartButtonComponent

It would be nice to have a button "Go to cash desk" ("Zur Kasse gehen"), which redirects to the cart and is only visible if there is already something in the cart.

It is not obvious for everybody to click on the cart button to start the checkout process. I first thought about modifying the cart button, but didn't go that way because it is also visible if the cart is empty.

@douglasward
Copy link

@maxseeger would need to take over to see if we can develop this.

Otherwise I would suggest writing a simple js function to check the cart items array in localStorage and use that to hide a "Zur Kasse gehen" button or the cart component button.

@maxseeger
Copy link

Hallo @Markus-MfN
Vielen Dank für die Anregung. Wir nehmen die Idee gerne mit in die langfristige Weiterentwicklung auf. Für den Anfang müsstet ihr mit der von Douglas vorgeschlagenen Lösung arbeiten.

@maxseeger
Copy link

Hallo @Markus-MfN,
konntest du mit der vorgeschlagenen Lösung voran kommen?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants