Skip to content

Commit 6e4709d

Browse files
committed
[IMP] website/ecommerce: update customer accounts page
task-4459675
1 parent defb0a8 commit 6e4709d

File tree

4 files changed

+116
-72
lines changed

4 files changed

+116
-72
lines changed

content/applications/finance/fiscal_localizations/peru.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ Configuration
923923
After configuring the Peruvian :ref:`electronic invoicing <peru-accounting-settings>` flow, complete
924924
the following configurations for the **eCommerce** flow:
925925

926-
- :ref:`Client account registration <ecommerce/checkout/policy>`;
926+
- :ref:`Client account registration <ecommerce/customer_accounts/checkout-access>`;
927927
- :ref:`Automatic invoice <handling/legal>`;
928928
- :doc:`../../websites/ecommerce/products`: Set the :guilabel:`Invoicing Policy` to
929929
:guilabel:`Ordered quantities` and define the desired :guilabel:`Customer taxes`.

content/applications/websites/ecommerce/checkout.rst

Lines changed: 5 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -122,53 +122,6 @@ Portal` feature.
122122
.. image:: checkout/order-again-button.png
123123
:alt: Re-order button
124124

125-
.. _ecommerce/checkout/policy:
126-
127-
Checkout policy
128-
===============
129-
130-
To allow customers to checkout as guests or force them to sign in/create an account, go to
131-
:menuselection:`Website --> Configuration --> Settings`, scroll down to the :guilabel:`Shop -
132-
Checkout Process` section, and configure the :guilabel:`Sign in/up at checkout` setting. The
133-
following options are available:
134-
135-
- :guilabel:`Optional`: Customers can check out as guests and register later via the order
136-
confirmation email to track their order.
137-
- :guilabel:`Disabled (buy as guest)`: Customers can checkout as guests without creating an account.
138-
- :guilabel:`Mandatory (no guest checkout)`: Customers must sign in or create an account at the
139-
:ref:`Review Order <ecommerce/checkout/review_order>` step to complete their purchase.
140-
141-
B2B access management
142-
---------------------
143-
144-
To restrict checkout to selected B2B customers:
145-
146-
#. Go to :menuselection:`Website --> Configuration --> Settings`, and in the :guilabel:`Shop -
147-
Checkout Process` section, enable the :ref:`Mandatory (no guest checkout)
148-
<ecommerce/checkout/policy>` option.
149-
#. Scroll down to the :guilabel:`Privacy` section, go to :guilabel:`Customer Account`, and select
150-
:guilabel:`On invitation`.
151-
#. Go to :menuselection:`Website --> eCommerce --> Customers`, switch to the :guilabel:`List` view,
152-
and select the customers you wish to grant access to your :doc:`portal
153-
<../../general/users/portal>`.
154-
#. Click the :icon:`fa-cog` :guilabel:`Actions` button, then :guilabel:`Grant portal access`.
155-
#. Review the selected customers in the :guilabel:`Portal Access Management` pop-up and click
156-
:guilabel:`Grant Access`.
157-
158-
Once done, the relevant customers receive an email confirming their account creation, including
159-
instructions on setting a password and activating their account.
160-
161-
.. note::
162-
- You can revoke access or re-invite a customer using the related buttons in the
163-
:guilabel:`Portal Access Management` pop-up.
164-
- Users can only have one :doc:`portal access <../../general/users/portal>` per email.
165-
- Settings are website-specific, so you could set up a B2C website that allows guest checkout and
166-
a B2B website with mandatory sign-in.
167-
168-
.. seealso::
169-
- :doc:`Customer accounts documentation <customer_accounts>`
170-
- :doc:`Portal access documentation <../../general/users/portal>`
171-
172125
.. _ecommerce/checkout/steps:
173126

174127
Checkout steps
@@ -191,6 +144,11 @@ checkout options.
191144
.. note::
192145
Content added through building blocks is **specific** to each step.
193146

147+
.. tip::
148+
Restrict access to the :ref:`shop <ecommerce/customer_accounts/shop-access>` and :ref:`checkout
149+
<ecommerce/customer_accounts/checkout-access>` for specific customers, e.g., in a B2B business
150+
setup.
151+
194152
.. _ecommerce/checkout/review_order:
195153

196154
Review order

content/applications/websites/ecommerce/customer_accounts.rst

Lines changed: 110 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,128 @@
22
Customer accounts
33
=================
44

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.
1015

1116
.. 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.
1447

1548
.. 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.
1854

1955
.. 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.
2559

2660
Access restriction
2761
==================
2862

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.
3379

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.
37118

38119
Multi-website account
39120
=====================
40121

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.
Binary file not shown.

0 commit comments

Comments
 (0)