Documentation
Pro

Shopping behavior

The connected flows help you design a storefront. They do not create real customers, orders, payments or memberships.

Bag and checkout

assets/js/store.js owns shared cards, local bag and dialogs. assets/js/commerce.js owns the full cart and checkout presentation. Select a size before adding a sized item. Test removing the final line and recovering from an empty bag.

WELCOME10 is a 10% demonstration discount. Standard delivery is €5, free from €100 after discounts; express is €12. Configure your live policy through the commerce provider instead of relying on browser calculations.

Saved and compared products

Wishlist saves product IDs locally. Comparison supports a maximum of three products. Browsing history keeps up to 12 deduplicated product IDs. These are browser-local demonstrations, not synchronized customer-account services. Test clearing, empty states and unavailable storage.

Shopping assistant

assets/js/assistant.js provides a deterministic local guide to the fixture products and policies. It does not call an AI model. Messages are not saved or sent. To add a live assistant, implement a server-side service, review its data access and keep credentials outside the browser.

Customer forms

Authentication, social buttons, memberships and review entry show interface states. They do not connect to providers. Account, contact and checkout examples avoid persisting personal details. Use fictional input when testing.

Follow the cart and checkout walkthrough.