Case: a shop with a cart and payment
A catalog, a product page, a cart in the app memory, payment through your merchant account.

- A Products table:
title,price(number),image,description,inStock(yes/no),category(select). - The catalog. A two-column grid holding a repeater over Products, with a Product card inside using substitutions.
- The cart. A
carttable withtitle,priceandimagecolumns and the “Everyone writes their own” permission. The “Add to cart” button gets Add a record: tablecart, fieldstitle={{item.title}},price={{item.price}}. - The badge. A Cart item in the bottom menu with the badge
{{cart.count}}. - The cart screen. A repeater over
cart; each row has Remove a record with{{item}}as “which record”, and a Total component at the bottom: tablecart, fieldprice. - Payment. Connect your merchant account and give the Pay button Take payment with the total as the amount. Follow it with Clear my records on the
carttable and navigation to a Done screen.