@fobarros/faststore-replenishment-lists
v0.0.6
Published
Replenishment Lists plugin for FastStore My Account
Maintainers
Readme
@fobarros/faststore-replenishment-lists
Community App — Not supported by VTEX Open-source, community-maintained. Not an official VTEX product. No SLA or warranty.
Replenishment Lists plugin for FastStore 3.x My Account. Lets authenticated buyers build persistent lists of SKUs with preferred quantities, validate availability and pricing, and push approved items into the cart — turning repeat purchasing from "search and rebuild" into "review and approve."
Requirements
- Existing FastStore 3.x project (
@faststore/cli ≥ 3.97.0) discovery.config.jsat project root withenableFaststoreMyAccount: truevtex.replenishment-serviceinstalled on the target VTEX account (BFF)
Install
yarn add @fobarros/faststore-replenishment-listsThe postinstall stitcher runs automatically and adds to your project:
| What | Where |
|---|---|
| Page: list index | src/pages/pvt/account/replenishment-lists.tsx |
| Page: new list | src/pages/pvt/account/replenishment-lists/new.tsx |
| Page: from orders | src/pages/pvt/account/replenishment-lists/from-orders.tsx |
| Page: list detail | src/pages/pvt/account/replenishment-lists/[listId].tsx |
| Page: review session | src/pages/pvt/account/replenishment-lists/[listId]/review.tsx |
| API proxy route | src/pages/api/replenishment-gql.ts |
| My Account nav entry | merged into src/myAccount/navigation.ts |
| Homepage section | merged into src/components/index.tsx |
Uninstall
yarn remove @fobarros/faststore-replenishment-listsRemoves all stitched files and reverts navigation/component merges automatically.
Full setup guide
See docs/onboarding/new-account.md for the complete runbook: BFF installation, Discovery credentials, env vars, and CI secrets.
License
MIT
