แดนเลือกโปรโมชันเป็นเมนูที่ 5 ของ ShopTabBar
- โมดูลเปิด/ปิดแบบ loyalty (admin allow + shop enable)
- หน้า /s/[slug]/promotions สำหรับลูกค้า
- ร้านจัดการโปรได้
- ShopTabBar สูงสุด 5 ถ้าเกินใช้แท็บ «เพิ่มเติม»
- staging ก่อน; prod รอ OK
DONE staging:
- Branch feat/shop-customer-promotions @ 9831f76
- PR https://github.com/danya0365/easy-order-nextjs/pull/18
- Migrated shop_promotions + gates on staging Turso; barakis enabled + 2 sample promos
- Deployed easy-order-dev Version 10d3cc73-8e2d-4358-95cd-43da9f78c3ec
- HTTP: /s/barakis/promotions 200 (titles seeded); home tabs include /promotions; demo has no promotions tab; demo /promotions soft-404 via notFound
- Prod: wait for แดน OK
โน้ต
SHA 9831f76 · staging verified HTTP 200 · box Shell was down so implement/deploy from Mac clone using box wrangler OAuth + staging Turso; stash on box still holds unrelated WIP (clone-shop/R2). Sync box worktree when Shell recovers: git fetch && checkout feat/shop-customer-promotions.