|
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>`, control access to the :ref:`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 :doc:`customer portal <../../general/users/portal>` |
| 12 | +by clicking their username in the top-right corner of the screen and selecting :guilabel:`My |
| 13 | +Account`. From there, they can view all their documents in one place, such as quotations, orders, |
| 14 | +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 |
14 | 18 |
|
15 | | -.. 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. |
| 19 | +.. tip:: |
| 20 | + The customer account page can be customized with building blocks and other features through |
| 21 | + 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 | +To send an email invitation to a customer: |
| 39 | + |
| 40 | +- Go to :menuselection:`Website --> eCommerce --> Customers`. |
| 41 | +- Select a customer or click :guilabel:`New` to create one, ensuring an :guilabel:`Email` address |
| 42 | + is set. |
| 43 | +- Click the :icon:`fa-cog` :guilabel:`(Actions)` icon next to the record's name at the top-left and |
| 44 | + select :guilabel:`Grant portal access`. |
| 45 | +- In the :guilabel:`Portal Access Management` pop-up, click :guilabel:`Grant Access` to send the |
| 46 | + invitation. |
18 | 47 |
|
19 | 48 | .. 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**. |
| 49 | + To invite multiple customers at once, switch to the customers :icon:`oi-view-list` |
| 50 | + :guilabel:`List` view, select several customers, click the :icon:`fa-cog` :guilabel:`Actions` |
| 51 | + button, and select :guilabel:`Grant portal access`. |
22 | 52 |
|
23 | | -.. seealso:: |
24 | | - :doc:`/applications/general/users/portal` |
| 53 | +Once done, the customer(s) receive an email confirming their account creation, including |
| 54 | +instructions on setting a password and activating their account. |
| 55 | + |
| 56 | +.. note:: |
| 57 | + - When selecting the :guilabel:`Free sign up`, a clickable :guilabel:`Don't have an account?` |
| 58 | + link appears under the login form on the website. |
| 59 | + - The :guilabel:`On invitation` option is especially useful for B2B businesses that prefer |
| 60 | + to keep :ref:`prices hidden <ecommerce/prices/hide-prices>` on the website and grant access |
| 61 | + only to invited customers. |
| 62 | + |
| 63 | +.. tip:: |
| 64 | + It is possible to configure a website form with a :guilabel:`Create a Customer` :ref:`action |
| 65 | + <website/building_blocks/action>` to automatically create a customer record in the backend when |
| 66 | + filled in. |
25 | 67 |
|
26 | 68 | Access restriction |
27 | 69 | ================== |
28 | 70 |
|
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. |
| 71 | +Once a customer account is created, it is still possible to adjust the access rights |
| 72 | +either globally or for individual users: |
| 73 | + |
| 74 | +- :ref:`Revoke access or re-invite a customer <portal/access>` |
| 75 | + using the related buttons in the :guilabel:`Portal Access Management` pop-up. |
| 76 | +- Restrict :ref:`access to the shop <ecommerce/customer_accounts/shop-access>`; |
| 77 | +- Decide whether customers need to create an account to :ref:`complete the checkout |
| 78 | + <ecommerce/customer_accounts/checkout-access>`. |
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 | +.. tip:: |
| 81 | + It is also possible to define the types of documents customers have access to. To do so, click |
| 82 | + your username in the upper-right corner of the website, select :guilabel:`My Account` and open |
| 83 | + the :doc:`website builder <../website/web_design>`. On the :guilabel:`Customize` tab, enable or |
| 84 | + disable access to specific documents as needed. |
| 85 | + |
| 86 | +.. _ecommerce/customer_accounts/shop-access: |
| 87 | + |
| 88 | +Shop access |
| 89 | +----------- |
| 90 | + |
| 91 | +To restrict access to the entire online shop for users who are not logged-in, go to |
| 92 | +:menuselection:`Website --> Configuration --> Settings`, scroll to :guilabel:`Privacy` and under |
| 93 | +:guilabel:`Ecommerce Access`, select :guilabel:`Logged in users`. Select :guilabel:`All users` if |
| 94 | +the shop should be visible to every website visitor. |
| 95 | + |
| 96 | +.. tip:: |
| 97 | + To restrict access to the shop's pricing, use :ref:`pricelists <ecommerce/prices/pricelists>` |
| 98 | + with :ref:`country groups <ecommerce/prices/country-groups>`. |
| 99 | + |
| 100 | +.. _ecommerce/customer_accounts/checkout-access: |
| 101 | + |
| 102 | +Checkout access |
| 103 | +--------------- |
| 104 | + |
| 105 | +To allow customers to checkout as guests or force them to sign in/create an account, go to |
| 106 | +:menuselection:`Website --> Configuration --> Settings`, scroll down to the :guilabel:`Shop - |
| 107 | +Checkout Process` section, and configure the :guilabel:`Sign in/up at checkout` setting. The |
| 108 | +following options are available: |
| 109 | + |
| 110 | +- :guilabel:`Optional`: Customers can check out as guests and register later via the order |
| 111 | + confirmation email to track their order. |
| 112 | +- :guilabel:`Disabled (buy as guest)`: Customers can checkout as guests without creating an account. |
| 113 | +- :guilabel:`Mandatory (no guest checkout)`: Customers must sign in or create an account at the |
| 114 | + :ref:`Review Order <ecommerce/checkout/review_order>` step to complete their purchase. |
| 115 | + |
| 116 | +.. note:: |
| 117 | + - Settings are specific to each website, allowing you to configure a B2C website with guest |
| 118 | + checkout and a B2B website that requires customers to sign in. |
| 119 | + - To use the :ref:`wishlist <ecommerce/products/wishlists>` feature, customers must |
| 120 | + create an account to save their favorite items for later. |
37 | 121 |
|
38 | 122 | Multi-website account |
39 | 123 | ===================== |
40 | 124 |
|
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`. |
| 125 | +When managing multiple websites, it is possible to make customer accounts available across *all* |
| 126 | +websites, allowing each customer to use a single account. To do so, go to :menuselection:`Website |
| 127 | +--> Configuration --> Settings`, in the :guilabel:`Privacy` section, enable :guilabel:`Shared |
| 128 | +Customer Accounts` option. |
| 129 | + |
| 130 | +.. note:: |
| 131 | + When operating both B2B and B2C online shops, it's recommended to use separate websites for each |
| 132 | + business model. |
0 commit comments