giantmonkey / gomus-components-doc Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://giantmonkey.github.io/gomus-components-doc/
Home Page: https://giantmonkey.github.io/gomus-components-doc/
Related page: CartComponent
I'm not familiar with Angular Templates. I would like to show the cart beneath the TicketComponent on the same page. How would a template for the CartComponent look like where the cart is only displayed if it is not empty? And how can I display a message like "your cart is empty" if the cart is empty and dislplay the cart if it is not? Thank you.
Related page: UserLoginComponent
I use the UserLoginComponent on it's own page. I cannot redirect the user after login. I guess it should be
<go-user-login options='{"action": {"mode": "url", "login_url": "<url to redirect to>"}}'></go-user-login>
but this and all variations I tried always redirect to <shop domain>/checkout
.
If I select a date, the button for opening the area to select a ticket does not show anymore. It used to work, didn't change a thing. Did you change anything?
Here is my code:
<go-tickets options='{"date": {"enable_month_selector": "false"}}'> <go-tickets-breadcrumbs> <ng-template let-date="date" let-time="time"> {{date?.text}} <button [go-tickets-breadcrumbs-item]="date">Datum ändern</button> </ng-template> </go-tickets-breadcrumbs> <go-tickets-time> <ng-template let-item="item"> <button [go-tickets-time-item]="item">Tickets für diesen Tag auswählen</button> </ng-template> </go-tickets-time> <go-tickets-type></go-tickets-type> </go-tickets>
This documentation is just an introduction or a very basic demo.
What is missing
Basic explanation and examples on how components and go~mus instance work together. Where are configuration options stored? How to define for instance what kind of tickets are available?
More complex use cases and explained code examples to show how to use components in a customized way.
Use cases and explained code examples using sub level components.
Page "Getting Started"
Demo code does not work anymore if I set domain to my custom domain in _gommusOption.
Setting options='{"types": ["day"]}' in step 4. seems to have no effect.
Related page: UserGuestComponent, UserRegistrationComponent
I've customized the UserGuestComponent to be able to provide a link to our general terms and conditions. I've used the code of Example 2. Now it is possible to order with unchecked box for general terms and conditions. No error appears. Ticket is send via e-mail.
I did the same with the UserRegistrationComponent and with unchecked box for general terms and conditions there is also no error showing, but registration finishes.
Related page: TicketsComponent
(1) After loading the page the date of today is selected in the calender. To get the breadcrumb for selecting tickets for today you have to first deselect the date and then select again. The breadcrumb should appear immediately after the first click.
(2) One should not be able to go to months in the past in the calender.
Related page: UserToolbarComponent
I have separate pages for Login and Registration. How can I configure different URLs for the login and the register button?
Related page: CheckoutComponent
Could you please give a general description of the checkout process and how to implement it?
As far as I understand it by now, it works like this:
(1) Implement the "CheckoutComponent" on its own page (e. g. checkout.html), let "CartComponent" link to it:
<go-cart options='{"action": {"mode": "url", "url": "checkout.html"}}'></go-cart>
(2) On checkout.html:
<go-checkout options='{"user_url": "<Payment-Service-Provider-URL>"}'> <ng-template #goCheckoutSuccess let-item> <h3>Ihr Einkauf war erfolgreich!!</h3> <p>Ihre Bestellbestätigung und Rechnung wurden per E-Mail an Sie geschickt.</p> <button go-checkout-success-action>Weiter Einkaufen</button> </ng-template> <ng-template #goCheckoutPending let-item> <p>Der Status der Bezahlung ist noch schwebend...</p> </ng-template> <ng-template #goCheckoutFailure let-item> <h3>Ihr Einkauf war nicht erfolgreich!!</h3> <button go-checkout-failure-action>Zurück zum Warenkorb</button> </ng-template> </go-checkout>
(3) You need to be informed about the <Payment-Service-Provider-URL>
, so you can configure the redirecting of the payment service provider's answers to the corresponding state of the "CheckoutComponent" .
Thanks!
Related page: CartButtonComponent
CartButtonComponent shows "Invalid date".
Related page: UserPasswordResetComponent
Is there a way to show a message to the user saying that an email has been sent and he should click on the link to reset his password?
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.
Related page: UserNewPasswordComponent
Is this the component for password reset?
I added a page with only this component. I go to the login form and send an "forgot passwort" email. Clicking on the password reset link in the emails takes me to the added page with the UserNewPasswordComponent. I fill in a new passwort and press submit. It says "User not found" ("Benutzer nicht gefunden").
Related page: UserRegistrationComponent
Is there a way to show a message to the user saying that an email has been sent and he should click on the link to complete the registration process?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.