|
2 | 2 | Customer accounts |
3 | 3 | ================= |
4 | 4 |
|
5 | | -Having customer accounts on an eCommerce allows customers to access all their documents from a |
6 | | -single place. To access their account, customers must be **logged-in** on the eCommerce website, |
7 | | -click on their **username** in the top-right corner of the screen, and click :guilabel:`My Account`. |
8 | | -From there, customers can access their :guilabel:`quotations`, :guilabel:`orders`, |
9 | | -:guilabel:`invoices`, etc. |
| 5 | +Using customer accounts for an ecommerce shop enables you to :ref:`manage customers |
| 6 | +<ecommerce/customer_accounts/account-creation>`, :ref:`control access to the shop |
| 7 | +<ecommerce/customer_accounts/shop-access>`, the :ref:`checkout |
| 8 | +<ecommerce/customer_accounts/checkout-access>` or the :ref:`customer portal <portal/access>`, |
| 9 | +and support both B2B and B2C operations. |
| 10 | + |
| 11 | +After logging in, customers can access their documents by clicking their username in the top-right |
| 12 | +corner of the screen selecting :guilabel:`My Account`. From there, they can view all their |
| 13 | +documents in one place, such as :guilabel:`quotations`, :guilabel:`orders`, |
| 14 | +:guilabel:`invoices` and more. |
10 | 15 |
|
11 | 16 | .. image:: customer_accounts/account-log.png |
12 | | - :align: center |
13 | | - :alt: Customer account log-in |
| 17 | + :alt: Customer account access |
| 18 | + |
| 19 | +.. tip:: |
| 20 | + Similarly to the rest of the website, the customer account page can be customized with building |
| 21 | + blocks and other features through the :doc:`website builder <../website/web_design>`. |
| 22 | + |
| 23 | +.. _ecommerce/customer_accounts/account-creation: |
| 24 | + |
| 25 | +Customer account creation |
| 26 | +========================= |
| 27 | + |
| 28 | +You can choose whether customer accounts and document access are available to everyone or restricted |
| 29 | +to invited users only. To do so, go to :menuselection:`Website --> Configuration --> Settings`, |
| 30 | +then scroll down to the :guilabel:`Privacy` section. Under :guilabel:`Customer Account`, select one |
| 31 | +of the following options: |
| 32 | + |
| 33 | +- :guilabel:`On invitation`: Customers can only create an account if the website owner sends them |
| 34 | + an invitation. |
| 35 | +- :guilabel:`Free sign up`: Every website visitor can create an account and sign in. They will |
| 36 | + get access to the :doc:`portal <../../general/users/portal>` by default. |
| 37 | + |
| 38 | +If account creation is restricted to invited customers only, go to :menuselection:`Website --> |
| 39 | +eCommerce --> Customers`, switch to the :guilabel:`List` view, and select the customers who |
| 40 | +should gain access to the :doc:`portal <../../general/users/portal>`. |
| 41 | +Click the :icon:`fa-cog` :guilabel:`Actions` button, then :guilabel:`Grant portal access`. |
| 42 | +In the :guilabel:`Portal Access Management`, review the selected customers and click |
| 43 | +:guilabel:`Grant Access` to confirm. |
| 44 | + |
| 45 | +Once done, the relevant customers receive an email confirming their account creation, including |
| 46 | +instructions on setting a password and activating their account. |
14 | 47 |
|
15 | 48 | .. note:: |
16 | | - Customers can only have an account if the |
17 | | - :ref:`sign in/up at checkout <ecommerce/checkout/policy>` option allows for account creation. |
| 49 | + - When selecting the :guilabel:`Free sign up`, a clickable :guilabel:`Don't have an account?` |
| 50 | + link appears under the login form on the website. |
| 51 | + - The :guilabel:`On invitation` option is especially useful for B2B businesses that prefer |
| 52 | + to keep prices hidden on the website. Only customers who have been granted portal access are |
| 53 | + able to view their pricing. |
18 | 54 |
|
19 | 55 | .. tip:: |
20 | | - Similarly to the rest of the website, the customer account page can be customized with **content |
21 | | - blocks** and other features through the **website builder**. |
22 | | - |
23 | | -.. seealso:: |
24 | | - :doc:`/applications/general/users/portal` |
| 56 | + It is possible to configure a website form with a :guilabel:`Create a Customer` :ref:`action |
| 57 | + <website/building_blocks/form>` to automatically create a customer record in the backend when |
| 58 | + filled in. |
25 | 59 |
|
26 | 60 | Access restriction |
27 | 61 | ================== |
28 | 62 |
|
29 | | -It is possible to allow or restrict the documents to which customers have access through the website |
30 | | -builder. Log in your **own** account with your Odoo database credentials, and go to |
31 | | -:menuselection:`Edit --> Customize`. From the website builder menu, enable or disable the documents |
32 | | -customers can have access to. |
| 63 | +Once a customer account is created, it is still possible to adjust the access rights |
| 64 | +either globally or for individual users: |
| 65 | + |
| 66 | +- :ref:`Revoke access or re-invite a customer <portal/access>` |
| 67 | + using the related buttons in the :guilabel:`Portal Access Management` pop-up. |
| 68 | +- Restrict :ref:`access to the shop <ecommerce/customer_accounts/shop-access>`; |
| 69 | +- Decide whether customers need to create an account to :ref:`complete the checkout |
| 70 | + <ecommerce/customer_accounts/checkout-access>`. |
| 71 | + |
| 72 | +.. note:: |
| 73 | + Users can only have one :doc:`portal access <../../general/users/portal>` per email. |
| 74 | + |
| 75 | +.. tip:: |
| 76 | + It is also possible to define the types of documents customers have access to. To do so, open |
| 77 | + the :doc:`website builder <../website/web_design>`, then enable or disable access to specific |
| 78 | + documents as needed. |
33 | 79 |
|
34 | | -.. image:: customer_accounts/account-documents.png |
35 | | - :align: center |
36 | | - :alt: Documents to which customers have access to from their account |
| 80 | +.. _ecommerce/customer_accounts/shop-access: |
| 81 | + |
| 82 | +Shop access |
| 83 | +----------- |
| 84 | + |
| 85 | +To restrict access to the entire online shop, go to :menuselection:`Website |
| 86 | +--> Configuration --> Settings`, scroll to :guilabel:`Privacy` and under :guilabel:`Ecommerce |
| 87 | +Access`, restrict shop access to :guilabel:`All users` or :guilabel:`Logged in users`. |
| 88 | + |
| 89 | +.. note:: |
| 90 | + Customers with access to the portal also have access to the shop. Without portal access, |
| 91 | + customers are not able to log in. |
| 92 | + |
| 93 | +.. tip:: |
| 94 | + To restrict access to the shop's pricing, use :ref:`pricelists <ecommerce/prices/pricelists>` |
| 95 | + with :ref:`country groups <ecommerce/prices/country-groups>`. |
| 96 | + |
| 97 | +.. _ecommerce/customer_accounts/checkout-access: |
| 98 | + |
| 99 | +Checkout access |
| 100 | +--------------- |
| 101 | + |
| 102 | +To allow customers to checkout as guests or force them to sign in/create an account, go to |
| 103 | +:menuselection:`Website --> Configuration --> Settings`, scroll down to the :guilabel:`Shop - |
| 104 | +Checkout Process` section, and configure the :guilabel:`Sign in/up at checkout` setting. The |
| 105 | +following options are available: |
| 106 | + |
| 107 | +- :guilabel:`Optional`: Customers can check out as guests and register later via the order |
| 108 | + confirmation email to track their order. |
| 109 | +- :guilabel:`Disabled (buy as guest)`: Customers can checkout as guests without creating an account. |
| 110 | +- :guilabel:`Mandatory (no guest checkout)`: Customers must sign in or create an account at the |
| 111 | + :ref:`Review Order <ecommerce/checkout/review_order>` step to complete their purchase. |
| 112 | + |
| 113 | +.. note:: |
| 114 | + - Settings are specific to each website, allowing you to configure a B2C website with guest |
| 115 | + checkout and a B2B website that requires customers to sign in. |
| 116 | + - To use the :ref:`wishlist <ecommerce/products/wishlists>` feature, customers must |
| 117 | + create an account to save their favorite items for later. |
37 | 118 |
|
38 | 119 | Multi-website account |
39 | 120 | ===================== |
40 | 121 |
|
41 | | -If you own multiple websites, you can make customer accounts available across **all** websites. |
42 | | -Then, the customer only needs one account. To do so, go to :menuselection:`Website --> Configuration |
43 | | ---> Settings --> Privacy section`, and enable :guilabel:`Shared Customer Accounts`. |
| 122 | +When managing multiple websites, it is possible to make customer accounts available across *all* |
| 123 | +websites, allowing each customer to use a single account. To do so, go to :menuselection:`Website |
| 124 | +--> Configuration --> Settings`, in the :guilabel:` Privacy` section, enable :guilabel:`Shared |
| 125 | +Customer Accounts` option. |
| 126 | + |
| 127 | +.. note:: |
| 128 | + When operating both B2B and B2C online shops, it's recommended to use separate websites for each |
| 129 | + business model. |
0 commit comments