The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.
TypeScript b2b-marketplacecomposable-commerceecommerceenterpriseheadless-commercemarketplacemedusamedusajsmulti-vendortypescript
Update store guides and docs.json theme (#905)
mintlify[bot]7cf937dd6551
diff --git a/apps/docs/docs.json b/apps/docs/docs.jsonindex 066789909..1e78d41af 100644--- a/apps/docs/docs.json+++ b/apps/docs/docs.json@@ -1,7 +1,7 @@{"$schema": "https://mintlify.com/docs.json",- "theme": "mint",- "name": "MercurJS documentation",+ "theme": "aspen",+ "name": "MercurJS Documentation","description": "Mercur is an open-source AI-native marketplace framework built on MedusaJS v2. It provides block-based architecture for building multi-vendor marketplaces with seller management, commissions, order splitting, payouts, admin panel, and vendor portal. Code is copied directly into your project — full ownership, no black-box dependencies.","logo": {"dark": "/logo.svg",@@ -9,9 +9,9 @@},"favicon": "/favicon.png","colors": {- "primary": "#000000",+ "primary": "#090909","light": "#ffffff",- "dark": "#000000"+ "dark": "#090909"},"topbarLinks": [{@@ -108,13 +108,13 @@"tab": "User Guide","groups": [{- "group": "Admin",+ "group": "Admin Panel","pages": ["v2/user-guides/admin/stores"]},{- "group": "Vendor",+ "group": "Vendor Panel","pages": ["v2/user-guides/vendor/stores"]@@ -459,5 +459,20 @@"href": "https://github.com/mercurjs/mercur/discussions/categories/ideas"}]+ },+ "fonts": {+ "heading": {+ "family": "Sora",+ "weight": 400+ },+ "body": {+ "family": "Poppins",+ "weight": 400+ }+ },+ "background": {+ "color": {+ "dark": "#090909"+ }}}diff --git a/apps/docs/v2/user-guides/admin/stores.mdx b/apps/docs/v2/user-guides/admin/stores.mdxindex a890b976f..ff045415d 100644--- a/apps/docs/v2/user-guides/admin/stores.mdx+++ b/apps/docs/v2/user-guides/admin/stores.mdx@@ -1,214 +1,193 @@----title: "Stores"+title: "Stores in Mercur Admin Panel"+sidebarTitle: "Stores"+mode: "default"---This guide explains how to manage stores in the Mercur Admin Panel.-## View stores+## View Stores-To view all stores, select **Stores** in the sidebar menu in your panel.+To view all stores, select “Stores” in the sidebar menu in your panel.-The table shows store details like name, email, status, date and whether the admin featured the store. Use search, filter, and sort to find a specific store.+The table shows store details like name, email, status, date and and whether the admin featured the store. Use search, filter, and sort to find a specific store.One vendor can have multiple stores, each displayed separately in the list.-<img src="/images/user-guides/admin/stores/1.png" alt="Stores (1).png" />+-## Create store+## Create StoreTo create a store:-1. Go to **Stores** in the sidebar.-2. Click the **Create** button.+1. Go to “Stores” in the sidebar.+2. Click on the “Create” button.-This opens a form with two steps: **Details** and **Admin**.+This opens a form with two steps: “Details” and “Admin”-## Details step+### 1. Details Step-In the first **Details** step, you can enter the store general information:+In the first “Details” step, you can enter the store general information:-- **Name**-- **Email**-- **Handle**. The handle appears in the store storefront URL. It creates a human-readable URL and must be unique across all stores, containing only lowercase letters, numbers, and hyphens. If left blank, Mercur generates a handle from the name.-- **Phone**-- **Currency**. Each store can have only one currency.+1. Enter “Name” and “Email”+2. Optionally enter “Handle” and “Phone”. The “Handle” field value appears in the store storefront URL. It creates a human-readable URL and must be unique across all stores, containing only lowercase letters, numbers, and hyphens. If left blank, Mercur generates a handle from the name.+3. Select “Currency.” Each store can have only one currency.+4. Once you're done, click the "Continue" button.-Once you're done, click the **Continue** button.+-<img src="/images/user-guides/admin/stores/2.png" alt="Create Store (3).png" />+### 2. Admin Step-## Admin step+In the second “Admin” step, you assign an admin vendor to manage this store. You can select an existing user or invite a new one. As you type, suggestions will appear: select one or add a new email. Once the store is created, the selected user will receive an email invitation to join.-In the second **Admin** step, you assign an admin vendor to manage this store. You can select an existing user or invite a new one. As you type, suggestions will appear: select one or add a new email. Once the store is created, the selected user will receive an email invitation to join.--<img src="/images/user-guides/admin/stores/3.png" alt="Create Store (4).png" />+Once you create the store, it appears on the list with pending status. The store details entered by the admin during creation can be overwritten by the vendor during onboarding. You can block this depending on the onboarding flow you want.-## Store details+## Store DetailsTo view store details:-1. Go to **Stores** in the sidebar.+1. Go to “Stores” in the sidebar.2. Choose the store from the list.This opens the store details page. Here, you can view and edit store details, address, company details, payment details, and access their orders, products, users, and time off.-<img src="/images/user-guides/admin/stores/4.png" alt="Store Details (10).png" />+-## Edit store details+### Edit Store DetailsTo edit store details:-1. Go to **Stores** in the sidebar.+1. Go to “Stores” in the sidebar.2. Choose the store from the list.-3. Click the icon in the section header.-4. Choose **Edit** from the dropdown.-5. Edit the store details in the side window.--In the side window that opens, you can edit the store:--- Status. There are three statuses: Active, Pending, Inactive. When a store is **Inactive** or **Pending**, their products won't be visible on the storefront.-- Name-- Description-- Handle-- Phone-- Website-- Featured Store Settings. If checked, the store will be highlighted with a special badge for internal use or promotional purposes.-- Media. You can add logo and banner. This media will be visible on the storefront.--Once you're done, click the **Save** button.+3. Click the icon in the section’s header.+4. Choose “Edit” from the dropdown.+5. In the side window that opens, you can edit the store:+ - Status. There are three statuses: Active, Pending, Inactive. When a store is “Inactive” or “Pending”, their products won’t be visible on the storefront.+ - Name+ - Description+ - Handle+ - Phone+ - Website+ - Featured Store Settings. If checked, the store will be highlighted with a special badge for internal use or promotional purposes.+ - Media. You can add logo and banner. This media will be visible on the storefront.+6. Once you’re done, click the “Save” button.<Warning>Once the currency is set, it cannot be changed.</Warning><Note>-Once the admin edits store details, the vendor is notified in their panel.+ Once the admin edits store details, the vendor is notified in their panel.</Note>-<img src="/images/user-guides/admin/stores/5.png" alt="Store Details - Edit Store (3).png" />-## Edit store address+++### Edit Store AddressTo edit store address:-1. Go to **Stores** in the sidebar.+1. Go to “Stores” in the sidebar.2. Choose the store from the list.-3. Click the icon in the **Address** header.-4. Choose **Edit** from the dropdown.--In the side window that opens, you can edit:--- Name-- Address-- Apartment, suite, etc.-- Postal Code-- City-- Country-- State--Once you're done, click the **Save** button.--<img src="/images/user-guides/admin/stores/6.png" alt="Store Details - Edit Address (2).png" />--## Edit store company details+3. Click the icon in the “Address” header.+4. Choose “Edit” from the dropdown.+5. In the side window that opens, you can edit:+ - Name+ - Address+ - Apartment, suite, etc.+ - Postal Code+ - City+ - Country+ - State+6. Once you're done, click the “Save” button.++++### Edit Store Company DetailsTo edit company details:-1. Go to **Stores** in the sidebar.+1. Go to “Stores” in the sidebar.2. Choose the store from the list.-3. Click the icon in the **Company Details** header.-4. Choose **Edit** from the dropdown.--In the side window that opens, you can edit:--- Company-- Registration number-- Tax ID--Once you're done, click the **Save** button.+3. Click the icon in the “Company Details” header.+4. Choose “Edit” from the dropdown.+5. In the side window that opens, you can edit:+ - Company+ - Registration number+ - Tax ID+6. Once you're done, click the “Save” button.-<img src="/images/user-guides/admin/stores/7.png" alt="Store Details - Edit Company Details (2).png" />+-## Edit store payment details+### Edit Store Payment DetailsTo edit payment details:-1. Go to **Stores** in the sidebar.+1. Go to “Stores” in the sidebar.2. Choose the store from the list.-3. Click the icon in the **Payment Details** header.-4. Choose **Edit** from the dropdown.-5. Edit payment details in the side window.--For all countries except the United States, provide the following details based on your needs:--- Account name-- IBAN-- Account number-- SWIFT/BIC--For the United States:--- Account name-- Account number-- ACH routing number--Once you're done, click the **Save** button.--<img src="/images/user-guides/admin/stores/8.png" alt="Store Details - Edit Payment Details (2).png" />+3. Click the icon in the “Payment Details” header.+4. Choose “Edit” from the dropdown.+5. In the side window, you can edit payment details:+ 1. For all countries except the United States, provide the following details based on your needs:+ - Account name+ - IBAN+ - Account number+ - SWIFT/BIC+ 2. For United States:+ - Account name+ - Account number+ - ACH routing number+6. Once you're done, click the “Save” button.++## Users-In the **Users** tab, view all store team members who manage the store. You can add new users by selecting existing ones from your base or inviting new members. You can also remove users from the store.+In the “Users” tab, view all store team members who manage the store. You can add new users by selecting existing ones from your base or inviting new members. You can also remove users from the store.-The user added during store creation is the main admin and cannot be removed. This user is marked with an **Admin** badge.+The user added during store creation is the main admin and cannot be removed. This user is marked with an “Admin” badge.-<img src="/images/user-guides/admin/stores/9.png" alt="Store Details - Users (5).png" />+-## Add new user+### Add New UserTo add a new user:-1. Go to **Stores** in the sidebar.+1. Go to “Stores” in the sidebar.2. Choose the store from the list.-3. Select the **Users** tab.-4. Click the **Add** button in the section header.--In the form that opens, add:+3. Select the “Users” tab+4. Click the “Add” button in the section's header.+5. In the form that opens add:+ 1. Email. As you type, suggestions will appear; select one or add a new email.+ 2. Role. There are five roles:+ - Store Administration+ - Inventory Management+ - Order Management+ - Accounting+ - Support+6. Once you're done, click the “Save” button.-- Email. As you type, suggestions will appear; select one or add a new email.-- Role. There are five roles:+-Available roles:+## Time Off-- Store Administration-- Inventory Management-- Order Management-- Accounting-- Support+In the “Time off” tab, view the store's time off. It specifies the period when the store will be unavailable to receive orders. The vendor can specify one time off period and add a note. During this period, the store’s products will not be visible on the storefront.-Once you're done, click the **Save** button.+-<img src="/images/user-guides/admin/stores/10.png" alt="Store Details - Users (4).png" />+## Store Request-## Time off--In the **Time off** tab, view the store's time off. It specifies the period when the store will be unavailable to receive orders. The vendor can specify one time off period and add a note. During this period, the store's products will not be visible on the storefront.--<img src="/images/user-guides/admin/stores/11.png" alt="Store Details (9).png" />--## Store request--The vendor can submit a request to create a new store. Once submitted, the store appears on the list with **Pending** status. On the store details page, a block appears at the top with two actions:+The vendor can submit a request to create a new store. Once submitted, the store appears on the list with “Pending” status. On the store details page, a block appears at the top with two actions:- Confirm- RejectYou can review the request, make necessary updates, and choose to confirm and publish the store or reject the request. Once confirmed, the store status changes to Active.-<Info>+<Note>Once the admin confirms or rejects the store creation request, the vendor receives an email.-</Info>+</Note>-<img src="/images/user-guides/admin/stores/12.png" alt="Store Details - Pending - Requested (1).png" />+\ No newline at end of filediff --git a/apps/docs/v2/user-guides/vendor/stores.mdx b/apps/docs/v2/user-guides/vendor/stores.mdxindex fa5c78ec1..70b7756e6 100644--- a/apps/docs/v2/user-guides/vendor/stores.mdx+++ b/apps/docs/v2/user-guides/vendor/stores.mdx@@ -1,225 +1,207 @@----title: Store+title: "Store in Mercur Vendor Panel"+sidebarTitle: "Store"---This guide explains how to manage store in the Mercur Vendor Panel.-## Store setup+## Store Set UpYou can set up a store in Mercur in three ways:-- **Admin invitation**: The admin invites you to join the platform and set up your first store.-- **Vendor request**: You create a new store in your panel, which the admin then confirms.-- **Vendor self-registration**: When enabled, you can apply to join the platform through the storefront or other available entry points.+1. Admin Invitation: The admin invites you to join the platform and set up your first store.+2. Vendor Request: You create a new store in your panel, which the admin then confirms.+3. Vendor Self-Registration. When enabled, you can apply to join the platform through the storefront or other available entry points.-## Admin invitation+### Admin Invitation-Once the admin creates the store and invites you, you receive an email with a link to join as the store's admin. After accepting the invitation, you are redirected to the setup page, where you enter your details and set a password. Once completed, click **Continue** to start onboarding.-<img src="/images/user-guides/vendor/stores/1.png" alt="Vendor onboarding start" />+Once the admin creates the store and invites you, you receive an email with a link to join as the store's admin. After accepting the invitation, you are redirected to the setup page, where you enter your details and set a password. Once completed, click “Continue” to start onboarding.++The onboarding setup is customizable depending on marketplace needs and may include:-- Store details+- Store Details- Address-- Company details-- Payment details-- Subscription plan+- Company Details+- Payment Details-<img src="/images/user-guides/vendor/stores/2.png" alt="Vendor onboarding details step" />+-Depending on the marketplace configuration, you need to complete all required steps during onboarding or later in the store profile.-The **Complete profile** block shows any missing information required by the marketplace. Once all required information is added, the block disappears.+Depending on the marketplace configuration, you need to complete all required steps during onboarding or later in the store profile. The “Complete profile” block shows any missing information required by the marketplace. Once all required information is added, the block disappears.-<img src="/images/user-guides/vendor/stores/3.png" alt="Complete profile block in store details" />+-## Vendor request+### Vendor RequestA vendor can have multiple stores in Mercur. If you already have one, you can create another.To create a store:-1. Click the store name in the upper-left corner.+1. Click the store name in the upper left corner.2. A menu appears showing your available stores, with the active one selected.-3. Click the **Add new store** button.-4. This opens a new page for store setup.--The setup is customizable based on marketplace needs and may include:+3. Click the “Add new store” button.+4. This opens a new page for store setup. The setup is customizable based on marketplace needs and may include:+ - Store Details+ - Address+ - Company Details+ - Payment Details-- Store details-- Address-- Company details-- Payment details+After creating the store, you are redirected to the store details page with a "Pending" status.-After creating the store, you are redirected to the store details page with a **Pending** status.+Depending on the marketplace setup, a “Complete profile” block may appear showing any missing information required by the marketplace. Once all required information is added, the block disappears.-Depending on the marketplace setup, a **Complete profile** block may appear showing any missing information required by the marketplace. Once all required information is added, the block disappears.+-<img src="/images/user-guides/vendor/stores/4.png" alt="Store switcher in the Vendor Panel" />-<img src="/images/user-guides/vendor/stores/5.png" alt="Pending store details page" />+-## Vendor self-registration+### Vendor Self-RegistrationWhen the marketplace admin enables self-registration, you can apply to join the platform through the storefront or other entry points. You are then redirected to the registration page to set up an admin account and create the first store.-After creating the store, you are redirected to the store details page with a **Pending** status.+After creating the store, you are redirected to the store details page with a "Pending" status.-Depending on the marketplace setup, a **Complete profile** block may appear showing any missing information required by the marketplace. Once all required information is added, the block disappears.+Depending on the marketplace setup, a “Complete profile” block may appear showing any missing information required by the marketplace. Once all required information is added, the block disappears.-<img src="/images/user-guides/vendor/stores/6.png" alt="Vendor registration page" />+-## Store details+## Store DetailsTo view store details:-1. Go to **Settings** in the sidebar.-2. Go to **Store** in the sidebar.+1. Go to “Settings” in the sidebar.+2. Go to “Store” in the sidebar.This opens the store details page. Here, you can view and edit store details, address, company details, payment details, time off.-<img src="/images/user-guides/vendor/stores/7.png" alt="Store details page in the Vendor Panel" />+-## Edit store details+### Edit Store DetailsTo edit store details:-1. Go to **Settings** in the sidebar.-2. Go to **Store** in the sidebar.-3. Click the icon in the section header.-4. Choose **Edit** from the dropdown.-5. Edit the store details in the side window.--In the side window that opens, you can edit the store:--- Name-- Description-- Handle-- Phone-- Website-- Media. You can add logo and banner. This media will be visible on the storefront.--<Note>+1. Go to “Settings” in the sidebar.+2. Go to “Store” in the sidebar.+3. Click the icon in the section's header.+4. Choose “Edit” from the dropdown.+5. In the side window that opens, you can edit the store:+ - Name+ - Description+ - Handle+ - Phone+ - Website+ - Media. You can add logo and banner. This media will be visible on the storefront.+6. Once you’re done, click the “Save” button.++<Warning>A vendor can have only one currency per store. Once set, the vendor cannot change the currency.-</Note>+</Warning>-<img src="/images/user-guides/vendor/stores/8.png" alt="Edit store details drawer" />+-## Edit store address+### Edit Store AddressTo edit store address:-1. Go to **Settings** in the sidebar.-2. Go to **Store** in the sidebar.-3. Click the icon in the **Address** header.-4. Choose **Edit** from the dropdown.+1. Go to “Settings” in the sidebar.+2. Go to “Store” in the sidebar.+3. Click the icon in the “Address” header.+4. Choose “Edit” from the dropdown.+5. In the side window that opens, you can edit:+ - Name+ - Address+ - Apartment, suite, etc.+ - Postal Code+ - City+ - Country+ - State+6. Once you're done, click the “Save” button.-In the side window that opens, you can edit:+-- Name-- Address-- Apartment, suite, etc.-- Postal code-- City-- Country-- State-5. Once you're done, click the **Save** button.-<img src="/images/user-guides/vendor/stores/9.png" alt="Edit store address drawer" />--## Edit store company details+### Edit Store Company DetailsTo edit company details:-1. Go to **Settings** in the sidebar.-2. Go to **Store** in the sidebar.-3. Click the icon in the **Company Details** header.-4. Choose **Edit** from the dropdown.--In the side window that opens, you can edit:+1. Go to “Settings” in the sidebar.+2. Go to “Store” in the sidebar.+3. Click the icon in the “Company Details” header.+4. Choose “Edit” from the dropdown.+5. In the side window that opens, you can edit:+ 1. Company+ 2. Registration number+ 3. Tax ID+6. Once you're done, click the “Save” button.-- Company-- Registration number-- Tax ID-5. Once you're done, click the **Save** button.+-<img src="/images/user-guides/vendor/stores/10.png" alt="Edit store company details drawer" />--## Edit store payment details+### Edit Store Payment DetailsTo edit payment details:-1. Go to **Settings** in the sidebar.-2. Go to **Store** in the sidebar.-3. Click the icon in the **Payment Details** header.-4. Choose **Edit** from the dropdown.-5. Edit payment details in the side window.--For all countries except the United States, provide the following details based on your needs:+1. Go to “Settings” in the sidebar.+2. Go to “Store” in the sidebar.+3. Click the icon in the “Payment Details” header.+4. Choose “Edit” from the dropdown.+5. In the side window, you can edit payment details:+ 1. For all countries except the United States, provide the following details based on your needs:+ - Account name+ - IBAN+ - Account number+ - SWIFT/BIC+ 2. For United States:+ - Account name+ - Account number+ - ACH routing number+6. Once you're done, click the “Save” button.-- Account name-- IBAN-- Account number-- SWIFT/BIC+-For the United States:+## Time Off-- Account name-- Account number-- ACH routing number+In the “Time off” section, you can manage your store's time off. It specifies when the store will be unavailable to receive orders. You can specify one time off period and add a note. During this period, the store’s products will not be visible on the storefront.-6. Click **Save**.+-<img src="/images/user-guides/vendor/stores/11.png" alt="Edit store payment details drawer" />+### Create Time Off-## Time off+To create a time off:-In the **Time off** section, you can manage your store's time off. It specifies when the store will be unavailable to receive orders. You can specify one time off period and add a note. During this period, the store’s products will not be visible on the storefront.--<img src="/images/user-guides/vendor/stores/12.png" alt="Store time off section" />--## Create time off--To create time off:--1. Go to **Settings** in the sidebar.-2. Go to **Store** in the sidebar.-3. Click the **Create** button in the **Time off** section.--In the side window, you can enter:--- First day-- Last day. If you leave this field empty, the store will be closed indefinitely-- Note--4. Once you're done, click the **Save** button.+1. Go to “Settings” in the sidebar.+2. Go to “Store” in the sidebar.+3. Click the “Create” button in the “Time off” section.+4. In the side window, you can enter:+ - First day+ - Last day. If you leave this field empty, the store will be closed indefinitely.+ - Note+5. Once you're done, click the “Save” button.Once time off expires, it will disappear.-<img src="/images/user-guides/vendor/stores/13.png" alt="Create time off drawer" />+-## Edit time off+### Edit Time Off-To edit time off:+To edit a time off:-1. Go to **Settings** in the sidebar.-2. Go to **Store** in the sidebar.+1. Go to “Settings” in the sidebar.+2. Go to “Store” in the sidebar.3. Click the icon in the time off row.-4. Choose **Edit** from the dropdown.-5. In the side window you can edit:--- First day-- Last day. If you leave this field empty, the store will be closed indefinitely.-- Note---6. Once you're done, click the **Save** button.+4. Choose “Edit” from the dropdown.+5. In the side window, you can edit:+ - First day+ - Last day. If you leave this field empty, the store will be closed indefinitely.+ - Note+6. Once you're done, click the “Save” button.-<img src="/images/user-guides/vendor/stores/14.png" alt="Edit time off drawer" />+-## Delete time off+### Delete Time Off-To delete time off:+To delete a time off:-1. Go to **Settings** in the sidebar.-2. Go to **Store** in the sidebar.+1. Go to “Settings” in the sidebar.+2. Go to “Store” in the sidebar.3. Click the icon in the time off row.-4. Choose **Delete** from the dropdown.+4. Choose “Delete” from the dropdown.\ No newline at end of file