Template
Shop Cart 7.2 - Totals Redo
Shopping Cart Totals Redo
This app demonstrates how you can create a discount system inside your app.
A key core skill is demonstrated in this app:
- List Dereferences
- Using a list-deref in conjunction with a SUM() is how the sub-total is achieved
Knowing how to do this sort of derivative stuff is KEY to creating an efficient app
---------------------------------------------------------------------------------------------------------------------------------
Build Video:
Loading...
Also see:
tablet mode & fullscreen mode
How we built this app
The purpose of this app is to correct some flaw in the original design - mainly that I completely missed product prices!
1) Product/Customer Product Pricing
- Product Pricing Type (by weight or per item)
2) Discounts
- Individual line-item discounts
- Discount for the whole order
3) Smoother (no-qty delete)
- Previously if you didn't fill in a qty for a product you tapped on, a popup would appear asking if you wanted to delete the entry you just made.
- But since you actually didn't intend to do anything, it's odd to get this popup
- I've created an "Auto Delete" action for the OrderDetails, and that's what's used instead
4) Locked down order & order-detail editability after order = complete
- After an order is marked as complete, you can no longer modify any of the details of the order & order items
------------------------------------------------------------------------------------------------------------
This is a preview of the data sets used in the app.
Data
This is a high-level model of both the data entities and the UI elements in the app.
Loading...