HOCO B2B
Team tasksAnis

WEB-20 — V2 — Reseller web loyalty & packs

Loyalty and rewards, packs, return requests on the web.

FieldDetails
Task codeWEB-20
PhaseP4 — V2 evolutions
Product scopeV2
StatusPlanned
StartWed 17 Feb 2027
DueThu 18 Feb 2027
ResponsibleAnis — Full-stack developer
Co-responsible—
Effort1.5 person-day(s) planned · 3 from scratch · size S
Area · appReseller web · web
Depends onDSH-21
UnblocksDQA-12
MilestonesV2 delivered

Summary

Loyalty and rewards, packs, return requests on the web.

Description

This V2 task brings loyalty and packs to the reseller web (RW-15; LOY-03, LOY-04, PRM-06), on top of SRV-30, SRV-31 and the back-office pages of DSH-21: points balance and level with progress to the next level, transactions history, rewards catalogue and redemption, vouchers applied at checkout, and packs listing with add-to-cart as one unit. Return requests themselves are V1 since the 17 Oct decisions and are already delivered in WEB-04; here the return views only gain the V2 loyalty effects (points reversed on received returns). Out of scope: mobile loyalty screens (Imad).

Subtasks

#SubtaskOwner
1RW-15 loyalty page: balance, level badge, progress to next level, expiry noticeAnis
2Transactions history with LoyaltyTransactionType labels and links to orders and returnsAnis
3Rewards catalogue and redemption flow with confirmation and resulting voucherAnis
4Voucher field and applied voucher display in the V1 checkoutAnis
5Packs listing and detail with pack price, saving and « Ajouter le pack »Anis
6Points reversal shown on returned orders and in the return detailAnis
7Design QA of RW-15 and the pack viewsAkram

Deliverables

  • apps/web/src/app/[locale]/(account)/loyalty/{page.tsx,rewards/page.tsx,history/page.tsx}
  • apps/web/src/app/[locale]/packs/{page.tsx,[packId]/page.tsx}

Acceptance criteria

  • The balance and level match the back-office loyalty tab for the same reseller (LOY-03)
  • Redeeming a reward deducts the points once and shows the voucher, which applies once at checkout (LOY-04)
  • Adding a pack creates one cart line at the pack price for the reseller's customer type (PRM-06)
  • A received return shows the reversed points in the history

Requirements covered

RequirementTitleRelease
LOY-03Levels Bronze, Silver, Gold, VIP over a period with client-validated thresholdsV2
LOY-04Rewards catalogue (voucher, free delivery, discount, gift, early access) and redemptionV2
PRM-06Profitable packs: bundles of references at a pack price, added to cart as a unitV2

Screens

ScreenNameApp
RW-15Loyalty, rewards & packsRW

API surface

Test measures

  • Playwright e2e: redeem reward → voucher at checkout
  • Playwright e2e: add pack → checkout → order shows pack line

KPI

  • Delivered by Thu 18 Feb 2027 within 1.5 person-day(s).
  • Every acceptance criterion above demonstrated before hand-off; linked requirements' acceptance criteria pass.
  • Zero open critical defects, permission gaps or data-integrity regressions at sign-off.

Generated from content/plan/tasks.json by scripts/generate-team-tasks.mjs. Dates are computed by the scheduler (Sunday–Thursday weeks, holidays excluded) — change the plan, not this page.

On this page