- Hairdressing and salon e-shop · B2B + B2C · CZ/SK
Monroo
- Nuxt 4, Vue 3.5, TypeScript (strict), Pinia, Zod, i18n, SCSS (BEM), Tailwind, Swiper, Vitest, pnpm monorepo
- Frontend developer
A hairdressing and salon e-shop serving both consumers and B2B customers on a Czech and a Slovak domain. It runs in a shared Nuxt monorepo but has its own logic.
Scope of work
- Bundle configurator including colour variants and composite bundles
- Credits mode: the customer turns it on in the cart and buys with credits; turning it off switches back to paying with money
- Multi-step B2B registration (billing, personal details, company, preferences). The form changes with the customer type
- Customer groups (B2B, manager, sub-distributor, employee) with different rights to credits, gifts, discount codes, sales and bundles
- Impersonation: a manager signs in as a customer; the cart is carried over on sign-in only from a guest, so items from an impersonation never move back into the manager's cart
- Variants on the product detail: the layout changes with type and count, with filtering and search right on the page
- Choosing a gift with an order
- Search by scanning barcodes with the camera
- Address validation with Foxentry
- Choosing the shipping country switches between the SK and CZ domain and carries over the session token, so the customer doesn't lose their cart
- Translations with i18n, each language on its own domain
- Form validation with Zod
- One-click purchase: a new order is prefilled with the shipping, payment and address of a previous order
- GLS and DPD pickup points through their map widgets; a B2B customer gets the delivery address preselected and payment by invoice offered
- B2B-only products: without signing in, a prompt to sign in shows in place of the price; sales representatives as a separate group with their own product visibility
- Credits in the account: statistics, earned credits and history; credit mode follows the country of the shop
- The category menu is cached on the server separately for each signed-in customer (keyed by a hash of the token, not the token), because categories depend on the permissions of their group; other data is cached per domain, language and currency
- Tests in Vitest



