Files
vmall/openspec/changes/add-shop-coupons/specs/frontend-shop-admin/spec.md
T
Chengdong ZhangandCursor 53548196f8 docs(openspec): plan shop coupons, accounts, points, flash sales, and group buying
Capture exclusive promotion composition, empty-group cancel, and mall surface scope so the five marketing changes can be implemented without stacking or lifecycle ambiguity.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 17:32:08 +08:00

735 B

ADDED Requirements

Requirement: Merchant coupon management

Shop users SHALL manage only their shop's coupon templates from shop-admin, including localized title, amount and threshold in minor units, currency, claim stock, active window, and enabled state. Shop-admin SHALL expose a coupons navigation entry beside existing shop operations.

Scenario: create an active template

  • WHEN a shop owner creates a valid coupon template
  • THEN the template is available for eligible customers to claim during its active window

Scenario: coupons appear in shop navigation

  • WHEN an authenticated shop user opens shop-admin
  • THEN a coupons management entry is reachable without leaving the shop-scoped console