Add shipping fees, mark as shipped and WhatsApp links
Step 7 part 1:
- Store Settings tab with WhatsApp number and flat shipping fees for
Peninsular and East Malaysia, plus optional free shipping.
- Shipping fee behind a ShippingProvider interface; added at checkout,
sent to Stripe as its own line, shown on the thank-you page and email.
- Mark as shipped with courier and tracking number; the shopper is
emailed once, in the store language.
- WhatsApp chat button on the store and wa.me links on order pages.
- Checkout and cart messages in Bahasa Malaysia; Malaysian-only phone
numbers for WhatsApp.
- Fix live-store menu links on pages other than home.
Step 5:
- Publish, publish changes and take offline, with a panel on the store
page showing the live address.
- Live stores open at <store name>.<domain> with no login. Shoppers see
a saved copy of the design (published_plan); products stay live.
- One Storefront class decides live or preview, so the same controllers
and pages serve both.
- On a store's address only store pages exist; the dashboard and login
give "not found".
- More reserved store names; STOREFRONT_DOMAIN setting.
Each cart line is now a card with the photo, name, unit price, line
total, quantity stepper and a Remove button with an icon. Fixes the
list stretching to the height of the summary card.
Add cart, Stripe checkout, orders and order confirmation email
Step 4 part 2:
- Session cart per store with stock limits and self-correction.
- Checkout: shopper details, order snapshot, Stripe hosted payment page
behind a PaymentGateway interface, return-page and webhook confirmation.
- Orders tab for the merchant and a confirmation email in the store language.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Add multi-page store plans, products and storefront shop pages
Step 4 part 1:
- Store plan version 2: shared header and footer plus a list of pages,
with an upgrader and a data migration for existing stores.
- Products with photos, prices in sen, stock and draft/active status.
- Storefront Shop page and product page; the home page product section
shows real products with a View all link.
- AI prompts and chat edits updated for the new format.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>