Show the store logo in the footer and as the browser tab icon
- Footer: the logo replaces the store name in the "columns" layout and sits above the text in the others
- Tab icon: a roughly square uploaded logo becomes a 180px PNG (also the phone home-screen icon), made at upload time
- Otherwise the tab shows the store's initials on its main colour, so stores never show our own icon
- The dashboard keeps the AI Commerce icon
- Logo box: "In the browser tab" preview
- Fix an Overview test that failed on the 1st of each month
Add store logos: upload, ready designs or drawn by Claude
- Logo box in the Design tab; the logo belongs to the store and shows on the live store right away
- Upload PNG, JPG or WebP (up to 2 MB), resized and saved as WebP with transparency kept; SVG uploads refused
- 8 ready designs drawn from the store's name, fonts and colours, following the store's look
- Claude draws 3 logos per try, 3 lifetime tries per store (AI_LOGO_LIFETIME_TRIES); failed tries are not counted
- Claude's SVG is rebuilt by LogoSvg: simple shapes and text only, no scripts, links or outside files
- Logo shown in the store header; uploaded logos also top the order emails
- New stores.logo, stores.logo_drafts and stores.ai_logo_tries (run php artisan migrate)
- "Get paid" card in Settings: connect Stripe, finish setup, Stripe checking, connected with payouts status
- Payment pages and discount coupons are made in the merchant's own Stripe account; we take no cut
- Checkout is closed ("not taking orders yet") until Stripe approves the store
- FPX is requested and switched on for shoppers once the merchant finishes Stripe's form
- Second webhook for payments on merchants' accounts (STRIPE_CONNECT_WEBHOOK_SECRET)
- Overview: "Connect Stripe" step and a warning for live stores that cannot take payments
- Terms and privacy pages say how merchants are paid
- New stripe_accounts table and orders.payment_account (run php artisan migrate)
EOF
- Store "Email for shoppers" in Settings: order emails come under the store's name, replies go to the store
Add automatic discounts and AI product descriptions
- Discounts with no code: min items or spend, all or chosen products, dates
- One discount per order: the better of code and automatic discount
- Cart nudge, product page note, name on order, Stripe and email
- Chat commands can create automatic discounts and write product descriptions
- Discounts tab: percent or fixed off, min spend, dates, usage limit
- Code box in cart; discount on products only, not shipping
- Orders save code and amount; Stripe shows it as a coupon
- Use counted only when the order is paid
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.
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>