brandonklotz / margin-base Goto Github PK
View Code? Open in Web Editor NEWA Web POS System.
Home Page: https://brandonklotz.github.io/margin-base/
License: MIT License
A Web POS System.
Home Page: https://brandonklotz.github.io/margin-base/
License: MIT License
index.html is our product list and includes:
[+]next to each product to add to cart
[show cart] button to display cart
[checkout] button would display cart as well
on mouseover the item would expand to show more info
[checkout] at bottom pops up every time you add an item and prompts for checkout?
shopping cart
has default qty of 1 (we can change quantity later)
[-] next to each item in cart to delete, also will update cart subtotal
displays subtotal
[checkout] button expands the cart
to display subtotal, sales tax and grand total
[pay with cash] [pay with card]
if cash, only input is amount tendered and then calc change,
if card, inputs include card#, expiration, cvv, cardname
[complete payment] which would trigger the receipt
I have changed the items on the menu to be clickable. So clicking on the item will add it to the shopping cart (eventually).
So things I'm working on with the Menu Item:
Adding description and price below (later we can decide if we want a button to hide/show this additional info).
Clicking on the item name (for now) will add it to the shopping cart (for real).
I need your help for these issues:
How to display the menu item so the user knows it is clickable, like add a + button somewhere?
How to indicate that the menu item has been added to the shopping cart, change the + button to something else? But that would keep user from adding another. Display another button?
We also need HTML formatting for the description & price which I'm adding now!
I can add any HTML you like to the item list so get creative! And feel free to add a static item to the index.html for testing purposes. Works well for me because I can then copy your html into the code! THANKS!!
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.