All projects
Compre Alva
B2B portal where clients and sales reps build wholesale orders, with per-client storefronts, quotes and Omie integration.


About the project
Compre Alva is the B2B channel of Alva Personal Care. Wholesale clients, sales reps and the marketing team place orders through it, and every order flows into the Omie ERP to be invoiced.
Each client sees their own storefront, and the URL carries the storefront context. Operators can act as the client to build an order for them, quotes turn into checkouts and orders can stay as drafts until they are finished.
The Omie integration covers orders, customers, stock and products, with webhooks, a sending queue with replay and integration logs so the team can investigate failures without depending on me.
What shipped
- Per-client storefronts with the context in the URL and access groups
- Operators building the order on behalf of the client
- Quotes, drafts and an order summary exported as PDF
- Coupons, discounts and bonus items sent in the right order to invoice in Omie
- Required carrier at checkout and custom carriers per storefront
- Pre-registration with CNPJ validation and a server-side cart
- End-to-end tests, load tests and a product changelog
How it works
- B2B clients
- Sales reps
- Marketing
- Next.js
- Storefronts by slug
- Django API
- Integration queue
- Logs
- Omie (ERP)
- Asaas (payments)
- HubSpot (CRM)
- Live Shopping
Images
