See how a Magento-style admin is built: add custom products, and build condition-tree ("Conditions") cart pricing rules by category, SKU, product quantity, and total cart item count. Everything stays in your browser (localStorage) - the server only "sees" it for the duration of a request.