Mohtam
Mohtam
Toggle sidebar
Customer Accounts
Customer Accounts

Let your shop customers create accounts for order history, saved addresses, and faster checkout.

Customer Accounts

Overview

Customer accounts allow your shop's buyers to register, save their details, and access order history. Guest checkout remains available — accounts are optional.

Features

  • Registration — Customers create accounts with name, email, and password
  • Saved addresses — Multiple shipping addresses (Home, Work, etc.)
  • Order history — View all past orders
  • Faster checkout — Auto-fill shipping from saved addresses

Security

  • Customer accounts use a separate authentication guard (shop_customer) completely isolated from admin accounts
  • Passwords are hashed using bcrypt — shop owners cannot see customer passwords
  • Each customer's email is unique per shop (the same email can have accounts in different shops)

Data Privacy

Shop owners can view customer names, emails, phones, and order data. They cannot access password hashes. All customer data handling must comply with Saudi Arabia's Personal Data Protection Law (PDPL).