Skip to main content

Overview

The user management system allows administrators to manage all platform users including customers, sellers, staff members, and their associated permissions and activities.

Customer Management

Viewing Customers

Access the complete list of verified customers. Route: /admin/customers
1

Navigate to Customers

Go to Users > Customers from the admin menuScreenshot Description: Admin menu with Users dropdown expanded showing Customers option
2

Search Customers

Use the search bar to find customers by:
  • Name
  • Email address
3

View Customer Details

Click on a customer to view their complete profile and order history

Creating Customers

Manually add new customers to the platform.
1

Access Customer Creation

Click “Add New Customer” button
2

Enter Customer Information

Fill in required fields:
  • Full name (required)
  • Email address (required, must be unique)
  • Phone number (required, must be unique)
Route: POST /admin/customers/store
3

Save Customer

Click “Save” to create the customer account
Customers created through the admin panel are automatically verified and can immediately place orders.

Banning Customers

Restrict customer access when necessary.
1

Locate Customer

Find the customer in the customer list
2

Toggle Ban Status

Click the ban/unban buttonRoute: /admin/customers_ban/{customer}
3

Confirm Action

  • Success message: “Customer Banned Successfully”
  • To unban: “Customer UnBanned Successfully”
Banned customers cannot:
  • Log into their accounts
  • Place new orders
  • Access their dashboard
Their existing data remains in the system.

Logging in as Customer

View the platform from a customer’s perspective.
1

Select Customer

From the customer list, locate the customer account
2

Click Login Button

Click “Login as Customer”Route: /admin/customers/login/{id}
3

Access Customer Dashboard

You’ll be logged in as that customer and redirected to their dashboard
This feature is useful for:
  • Troubleshooting customer issues
  • Verifying customer experience
  • Placing test orders
Always log out and return to your admin account after testing.

Deleting Customers

1

Select Customer(s)

Choose customers to delete from the list
2

Execute Delete

  • Single delete: Click delete icon for individual customer
  • Bulk delete: Select multiple and use bulk action
Routes:
  • Single: /admin/customers/destroy/{id}
  • Bulk: POST /admin/bulk-customer-delete
3

Confirm Deletion

Confirm to permanently remove customer data

Seller Management

Viewing Sellers

Access all registered sellers on the platform. Route: /admin/sellers

Seller Verification

Review and approve seller verification requests.
1

View Verification Requests

Navigate to Sellers > Verification Requests
2

Review Submitted Documents

Click on a pending request to view:
  • Business information
  • Verification documents
  • Submitted form data
Route: /admin/sellers/view/{id}/verificationScreenshot Description: Seller verification form showing uploaded documents and business details
3

Approve or Reject

  • To approve: Click “Approve Seller” Route: /admin/sellers/approve/{id}
  • To reject: Click “Reject Request” Route: /admin/sellers/reject/{id}

Managing Seller Status

1

Access Seller Profile

Click on a seller from the seller list
2

Update Approval Status

Toggle seller approval status to enable/disable their ability to sellRoute: POST /admin/sellers/approved
3

Ban/Unban Seller

Restrict seller access if neededRoute: /admin/sellers_ban/{id}

Seller Payment History

Track payments made to sellers.
1

Navigate to Payments

Go to Sellers > Payment HistoryRoute: /admin/seller/payments
2

View Payment Details

Click on a payment to see full transaction detailsRoute: /admin/seller/payments/show/{id}

Seller Withdraw Requests

Manage seller withdrawal requests.
1

Access Withdraw Requests

Navigate to Sellers > Withdraw RequestsRoute: /admin/withdraw_requests_all
2

Review Request

Click on a request to view:
  • Requested amount
  • Seller’s available balance
  • Payment method preferences
3

Process Payment

Open the payment modal and process the withdrawalRoute: POST /admin/withdraw_request/payment_modal

Logging in as Seller

Access the seller panel as a specific seller. Route: /admin/sellers/login/{id}
Use this to:
  • Help sellers with technical issues
  • Verify seller panel functionality
  • Train new sellers

Bulk Seller Operations

Delete multiple sellers simultaneously. Route: POST /admin/bulk-seller-delete

Staff Management

Creating Staff Accounts

1

Access Staff Section

Navigate to Users > StaffRoute: /admin/staffs
2

Add New Staff

Click “Add New Staff Member”
3

Assign Role

Select a role with appropriate permissions
4

Enter Staff Details

Fill in name, email, and password
5

Save Staff Account

Create the account with assigned permissions

Role Management

Define roles and permissions for staff members.
1

Navigate to Roles

Go to Users > RolesRoute: /admin/roles
2

Create New Role

Click “Add New Role” and enter role name
3

Assign Permissions

Select permissions for this role from available options:
  • View all customers
  • Login as customer
  • Ban customer
  • Delete customer
  • Seller commission configuration
  • Product management
  • Order management
  • And many more…
Route: POST /admin/roles/add_permissionScreenshot Description: Permission assignment interface showing categorized permission checkboxes
4

Save Role

Save the role with selected permissions

User Permissions

Key permission categories:

Customer Permissions

  • view_all_customers: View customer list
  • login_as_customer: Access customer accounts
  • ban_customer: Ban/unban customers
  • delete_customer: Remove customer accounts

Seller Permissions

  • seller_commission_configuration: Manage commission rates
  • seller_verification_form_configuration: Configure verification requirements
  • pay_to_affiliate_user: Process affiliate payments
  • view_affiliate_users: Access affiliate user list

General Settings Permissions

  • general_settings: Access general configuration
  • features_activation: Enable/disable platform features
  • smtp_settings: Configure email settings
  • payment_methods_configurations: Manage payment gateways
  • order_configuration: Configure order settings

Best Practices

  1. Regular Audits: Review user accounts regularly
  2. Permission Management: Grant minimum necessary permissions to staff
  3. Verification: Always verify seller documents thoroughly
  4. Customer Support: Use “login as customer” to troubleshoot issues
  5. Secure Deletion: Backup data before bulk deletions

Build docs developers (and LLMs) love