← All 34 tasks · Navigation · Category taxonomy
NAV-1Chat ASophieData laneP1done

Website category naming (COVA → Dutchie → Website)

Element: Shop filter sidebar category list + footer SHOP list + transformDutchieProduct category map
Source: Sophie Nagano · Jun 11, 4:08 PMTarget build: v234 (shipped)Depends on: Feeds NAV-3 + NAV-4

● Current state — verified on live v230

LIVE /v230/shop sidebar shows raw Dutchie names: Flower, Pre-Rolls, Edibles, Vaporizers, Concentrates, Tinctures, Topicals, Accessories, Merchandise. Footer already shows 'Oils & Capsules' — so naming is inconsistent between shop and footer.

◎ Target outcome

Single website taxonomy: Vaporizers→Vapes, Orals→Oils & Capsules, Seeds→Flower, Edibles/Concentrates/Topicals consolidated. 22 cannabis + 22 accessory COVA types mapped to website category names.

✓ Output — closed & verified

CLOSED & VERIFIED. Shipped v233 → v234. Website category names live in BOTH the Shop dropdown and the shop sidebar — Vaporizers→Vapes, Tinctures→Oils & Capsules (taxonomy.js WEBSITE_CATEGORY + FilterSidebar). Verified on /v234/shop.

Assets, colours & references

Reference: Sophie's Website Product Mapping sheet (44 rows — see the mapping table on the index) + the Shop-dropdown mockups Sophie attached in her email.

Technical steps to achieve it

  1. Add a CATEGORY_MAP constant (COVA/Dutchie slug → website label) sourced from Sophie's sheet.
  2. In useProducts.js transformDutchieProduct(), set product.website_category via the map (keep Dutchie category for API calls).
  3. Drive the shop sidebar + footer list off the website label, not the Dutchie name.
  4. Collapse Tinctures into Oils & Capsules; route Seeds under Flower.

Files to change

src/hooks/useProducts.js (transformDutchieProduct)src/config/taxonomy.js (NEW — CATEGORY_MAP)src/components/shop/FilterSidebar.jsxsrc/components/Footer.jsx

Testing

  1. Unit: map every COVA type → expected website label (snapshot).
  2. Canary: sidebar reads Vapes / Oils & Capsules; no 'Tinctures'.

Milestones

Spec'd from feedback
Source located
Code change
Local test (vitest + vite preview)
Canary verify + ship v234 (shipped)

Verify live

Progress URL updates here when this task ships to its target /vN/. Current column always points at the live baseline.

← FOOT-1indexNAV-2 →