The store in detail
What is live today, and everything your AI needs to add a shop, a cart and checkout to your DW Alliance website, copied from a live store.
DW Alliance builds, maintains and extends the technology that lets clients’ AIs build their dream websites. The store is part of that: a shop on the client’s own domain, with the catalog, cart, checkout, inventory, shipping, tax and customer accounts already in the app.
The first live tenant store is mingapothecary.com/store/. The kit below is the same setup that runs that shop. Hand it to your AI with your product list and photos. It creates your categories and products through the DW Alliance app, builds the store pages in your site’s own look, and publishes them to your domain.
What is live today
Products and variants
A catalog with categories, photos, search, and sizes or options. Creating a product creates a default variant in the same step. Hide a product without losing its order history.
Cart and checkout
A cart that remembers what the customer picked. At checkout they see a quote for shipping and tax, then place the order. Each checkout creates an invoice with a copy of the addresses as they were at the time.
Customer accounts
Sign-up and sign-in with a code sent to their email. No passwords. Saved shipping addresses, past orders, and a delete-account option. Deleting an account removes their sign-in, phone numbers, saved addresses and open carts; orders stay in the store’s records.
Shipping and tax, per store
Each store sets a flat shipping rate and an optional free-over threshold. Tax rules are per store. For example, Hawaii GET can apply only to Hawaii shipping addresses, and not to shipping itself, unless the store chooses otherwise.
Order emails
When an order is placed, a confirmation is emailed to the customer and a copy is emailed to the store owner.
Inventory
Locations (a default “Main” location is created when it is first needed), a movement history that is never overwritten, and staff actions to receive, adjust, check stock or rebuild balances from the history. A sale movement is written at checkout.
Each store connects its own PayPal account. The payment link on the checkout page isn’t on yet, so no charge is made automatically. Today a customer places the order, and you confirm shipping and collect payment with them directly. Then you or your AI mark the order paid and add tracking in the app.
What’s in the kit
- Page templates: shop front, product page, cart, checkout and order history (including delete account).
- Two scripts:
store.jsfor live prices, stock and search, andcart.jsfor the cart, customer sign-in, shipping and tax quotes, and checkout. - One stylesheet with a few colours and fonts to match your brand.
- A config file for your domain, categories, products, photos and stock.
- A runbook for your AI covering every step, from creating products and receiving inventory to checking the live site, plus a go-live checklist.
Download the kit
Download these files, or point your AI at them:
- AGENT.txt: the step-by-step runbook (start here)
- ENDPOINTS.txt: every store call your AI may use
- STATUS.txt: what works today and what’s coming
- CHECKLIST.txt and CRM.txt
- tenant.example.json: the config to fill in
- Shop front, product, cart, checkout and orders templates
- store.js, cart.js and store-kit.css
- build.py, publish.py and verify_public.sh helper scripts
Hand it to your AI
Tell your assistant: “Follow https://dwalliance.com/store-kit/AGENT.txt to set up my store. Show me a preview before anything goes live.” Give it the session code from your email only when it asks, and never paste it into a page or a chat.