LDC Store Built for L Site
LDC Shop is an open-source virtual goods store project built for the Linux DO ecosystem. This article introduces the project itself; the old demo store on this site is no longer in service.
The old store no longer accepts GPTMail Key purchases.If you need GPTMail API quota, please go tothe latest GPTMail API documentationto get it. The open-source code is still available atchatgptuk/ldc-shopto view; for deployment instructions, refer to the repository README. The feature introduction below is retained from when the project launched and does not mean the old demo site is still operating.
Original record (retaining the context at the time)
I've made a new version, deployed on Vercel, at: https://store.chatgpt.org.uk
You can use L Site points to purchase items in the store, with automatic delivery.
Open-source repository:https://github.com/chatgptuk/ldc-shop
Features:
- Linux DO Integration: Built-in OIDC login and EasyPay payment.
- Store Experience:
- 🔍 Search and Category Filtering: Instant client-side search and category filtering.
- 📢 Announcement Bar: Configure and display announcements on the homepage.
- 📝 Markdown Descriptions: Products support rich text display.
- 🔥 Popular and Discounts: Supports popular tags and original/discounted price display.
- ⭐ Ratings and Reviews: Purchasing users can rate/review; ratings are shown in listings.
- 📦 Stock/Sold Display: Real-time display of available stock and units sold.
- 🚫 Purchase Limits: Limits purchases based on the number of paid orders.
- 🏷️ Custom Store Name: Supports a custom store name displayed in the title and navigation bar.
- Orders and Delivery:
- ✅ Payment Callback Signature Verification: Signature and amount validation.
- 🎁 Automatic Card Key Delivery: Card keys are automatically issued after successful payment; if out of stock, the order is marked as paid and pending processing.
- 🔒 Stock Locking: Stock is locked for 5 minutes after entering the payment page to prevent concurrent overselling.
- ⏱️ Timeout Cancellation: Orders unpaid after 5 minutes are automatically canceled and stock is released.
- 🧾 Order Center: Order list and detail pages.
- 🔔 Pending Payment Reminder: Homepage banner reminds users of unpaid orders to prevent missed orders.
- 🔄 Refund Requests: Users can submit refund requests; administrators review and process them.
- admin panel:
- 📊 Sales Statistics: Today/this week/this month/total.
⚠️ Low Stock Alerts: Configurable low-stock threshold and alert notifications.- 🧩 Product Management: Create/edit/list/unlist/sort/purchase limits.
- 🏷️ Category Management: Add, edit, and delete categories, set icons, and sort.
- 🗂️ Stock Card Key Management: Batch import and delete unused card keys.
- 📦 Total Stock Display: Homepage stock display includes "available + locked" to prevent users from mistakenly thinking items are sold out due to locked stock.
- 💳 Orders and Refunds: Pagination/search/filtering, order details, mark as paid/shipped/canceled, two-step refund process.
- 🧹 Order Cleanup: Supports batch selection and batch deletion.
- ⭐ Review Management: Search and delete reviews.
- 📦 Data Export: Export orders/products/reviews/settings, with support for full JSON and D1 SQL.
- 📣 Announcement Management: Homepage announcement configuration.
- 💾 Data Export: Supports exporting orders, products, and reviews as CSV/JSON, as well as exporting all data as D1-compatible SQL.
- ⚙️ Settings: Change the store name as you like.
- 👥 Customer Management:
- View a list of all customers, including points, order count, registration time, etc.
- Search customers (supports ID and username).
- 🚫 Block/Unblock: Can prohibit specific users from logging in and purchasing.
- Administrators can manually adjust customer points.
- ✨ Daily Check-in and Points Settings:
- Enable/disable the daily check-in feature.
- Customize the number of reward points for daily check-in.
- Points System:
- 📅 Daily Check-in: Users check in daily to earn points.
- 💰 Points Deduction: Points can be used to offset the amount when purchasing products (partial or full deduction supported).
- 🎁 Points Payment: If points are sufficient to pay in full, the transaction completes directly without redirecting to a payment platform.
- Multilingual and Themes:
- 🌐 Chinese/English switching。
- 🌓 Light/Dark/Follow System。
- ⏱️ Automatic Updates (Upstream Sync): Provides a GitHub Actions script; Fork users can enable automatic syncing of the latest upstream code and trigger Vercel deployment.
评论与讨论
还没有评论,欢迎留下第一条讨论