|
1 |
| -=========== |
2 |
| -Add to cart |
3 |
| -=========== |
4 |
| - |
5 |
| -The :guilabel:`Add to Cart` button can be customized in multiple ways. You can: |
| 1 | +============= |
| 2 | +Order buttons |
| 3 | +============= |
6 | 4 |
|
7 |
| -- Choose on which page customers go after clicking the 'Add to Cart' button; |
8 |
| -- Hide the 'Add to Cart' button to prevent sales; |
9 |
| -- Add a 'Buy Now' button to skip the cart step and lead customers straight to checkout; |
10 |
| -- Create additional 'Add to Cart / Buy Now' buttons; |
11 |
| -- Add an 'Order Again' button to the customer portal. |
| 5 | +Odoo Ecommerce provides several order button options. To enable or add them on your product page, |
| 6 | +go to :menuselection:`Website --> Configuration --> Settings`. Under |
| 7 | +the :guilabel:`Shop - Checkout Process` section, tick an option for the :ref:`Add to Cart |
| 8 | +<cart/add-to-cart>` button or enable the :ref:`Buy now <cart/buy-now>` or |
| 9 | +:ref:`Re-order From Portal <cart/re-order>` buttons, and click :guilabel:`Save`. |
12 | 10 |
|
13 |
| -.. seealso:: |
14 |
| - :doc:`checkout` |
| 11 | +.. _cart/add-to-cart: |
15 | 12 |
|
16 |
| -.. _ecommerce/cart/action_customization: |
17 |
| - |
18 |
| -'Add to Cart' action customization |
19 |
| -================================== |
20 |
| - |
21 |
| -When customers click on the :guilabel:`Add to Cart` button, the product is added to their cart, and |
22 |
| -customers remain **by default** on the product's page. However, customers can either immediately be |
23 |
| -**redirected** to their cart, or given the choice on what to do through a **dialog box**. |
| 13 | +Add to cart |
| 14 | +=========== |
24 | 15 |
|
25 |
| -To change the default behavior, go to :menuselection:`Website --> Configuration --> Settings`. Under |
26 |
| -the :guilabel:`Shop - Checkout Process` section, look for :guilabel:`Add to Cart` and select one of |
27 |
| -the options. |
| 16 | +By default, the :guilabel:`Add to cart` button is displayed on your product's page. It provides |
| 17 | +several options to configure when clicking on the button: |
| 18 | + - :guilabel:`Stay on Product Page`: The product is added to the cart, and |
| 19 | + customers remain on the product's page. |
| 20 | + - :guilabel:`Go to cart`: Customer are immediately **redirected** to their cart. |
| 21 | + - :guilabel:`Let the user decide (dialog)`: Customers can choose if they want to go to the |
| 22 | + cart and :guilabel:`Proceed to Checkout` or if they prefer to :guilabel:`Continue Shopping`. |
28 | 23 |
|
29 | 24 | .. note::
|
30 | 25 | If a product has :doc:`optional products <products/cross_upselling>`, the **dialog
|
31 | 26 | box** will always appear.
|
32 | 27 |
|
33 |
| -.. seealso:: |
34 |
| - :doc:`products/catalog` |
35 |
| - |
36 | 28 | .. _cart/prevent-sale:
|
37 | 29 |
|
38 |
| -Replace 'Add to Cart' button by 'Contact Us' button |
39 |
| -=================================================== |
| 30 | +Replace the button |
| 31 | +------------------ |
40 | 32 |
|
41 |
| -You can replace the 'Add to Cart' button with a 'Contact Us' button which redirects users to the URL |
42 |
| -of your choice. |
| 33 | +You can replace the :guilabel:`Add to Cart` button with a :guilabel:`Contact Us` button |
| 34 | +which redirects users to a given URL. |
43 | 35 |
|
44 | 36 | .. note::
|
45 |
| - Hiding the :guilabel:`Add to Cart` button is often used by B2B eCommerces that need to restrict |
46 |
| - purchases only to :ref:`customers with an account <ecommerce/checkout/policy>`, but still want to |
47 |
| - display an online product catalog for those without. |
| 37 | + Hiding the :guilabel:`Add to Cart` button is often used by B2B ecommerce businesses |
| 38 | + that need to restrict purchases only to :ref:`customers with an account <ecommerce/checkout/policy>`, |
| 39 | + but still want to display an online product catalog for those without. |
48 | 40 |
|
49 | 41 | To do so, go to :menuselection:`Website --> Configuration --> Settings --> Shop - Products` and tick
|
50 |
| -:guilabel:`Prevent Sale of Zero Priced Product`. This creates a new :guilabel:`Button url` field |
51 |
| -where you can enter the **redirect URL** to be used. Then, set the price of the product to `0.00` |
| 42 | +:guilabel:`Prevent Sale of Zero Priced Product`. As a result, a new :guilabel:`Button url` field |
| 43 | +appears to enter a **redirect URL**. Then, set the price of the product to `0.00` |
52 | 44 | either from the **product's template**, or from a
|
53 | 45 | :doc:`pricelist </applications/sales/sales/products_prices/prices/pricing>`.
|
54 | 46 |
|
55 | 47 | .. image:: cart/cart-contactus.png
|
56 |
| - :align: center |
57 | 48 | :alt: Contact us button on product page
|
58 | 49 |
|
59 | 50 | .. note::
|
60 |
| - The 'Contact Us' button and '*Not Available For Sale*' text can both be modified using the |
61 |
| - **website builder** on the product's page (:menuselection:`Edit --> Customize`) by clicking on |
62 |
| - them. |
| 51 | + The :guilabel:`Contact Us` button and *Not Available For Sale* text beneath the product title |
| 52 | + and description can both be modified on the product's page while in :guilabel:`Edit` mode. |
63 | 53 |
|
64 |
| -Customizable 'Add to Cart' button |
65 |
| -================================= |
| 54 | +Add a customizable order button |
| 55 | +------------------------------- |
66 | 56 |
|
67 |
| -You can also create a customizable 'Add to Cart' button and link it to a specific product. The |
68 |
| -**customized button** can be added on any page of the website as an **inner content** building |
| 57 | +You can also create a customizable :guilabel:`Add to Cart` button and link it to a specific product. |
| 58 | +The **customized button** can be added on any page of the website as an **inner content** building |
69 | 59 | block, and is an *additional* button to the regular :guilabel:`Add to Cart` button.
|
70 | 60 |
|
71 |
| -To add it, go on the :guilabel:`Shop` page of your choice, click :menuselection:`Edit --> Blocks` |
72 |
| -and place the building block. Once placed, you have the following options: |
| 61 | +To add it, go to the :guilabel:`Shop` page of your choice, click :menuselection:`Edit --> Blocks` |
| 62 | +and place the :guilabel:`Add to Cart Button` building block. Once placed, click the button, scroll |
| 63 | +to the :guilabel:`Add to Cart Button` section and use the following options: |
| 64 | + |
| 65 | +- :guilabel:`Product`: Select the product to link the button with. Selecting a product renders the |
| 66 | + :guilabel:`Action` field. |
| 67 | +- :guilabel:`Action`: Choose if it should be a :guilabel:`Add to Cart` or :ref:`Buy Now |
| 68 | + <cart/buy-now>` button. |
73 | 69 |
|
74 |
| -- :guilabel:`Product`: select the product to link the button with. Selecting a product renders the |
75 |
| - :guilabel:`Action` field available; |
76 |
| -- :guilabel:`Action`: choose if the button should :guilabel:`Add to Cart` or :guilabel:`Buy Now` |
77 |
| - (instant checkout). |
| 70 | +.. note:: |
| 71 | + The default :guilabel:`Add to Cart` button does not offer those options, but the label can be |
| 72 | + changed. |
78 | 73 |
|
79 |
| -.. image:: cart/cart-add.png |
80 |
| - :align: center |
81 |
| - :alt: Customizable 'Add to Cart' button |
| 74 | +.. tip:: |
| 75 | + While in :guilabel:`Edit` mode, it is also possible to show or hide the |
| 76 | + :icon:`fa-shopping-cart` :guilabel:`cart` icon in the header of the page. Click the header, |
| 77 | + and enable the :guilabel:`Show empty` feature under the :guilabel:`Customize` tab. |
82 | 78 |
|
83 |
| -.. _ecommerce/cart/buy-now: |
| 79 | +.. _cart/buy-now: |
84 | 80 |
|
85 |
| -'Buy Now' button |
86 |
| -================ |
| 81 | +Buy now |
| 82 | +======= |
87 | 83 |
|
88 |
| -You can enable the :guilabel:`Buy Now` button to take customers directly to the :ref:`review order |
89 |
| -<ecommerce/checkout/review_order>` step instead of adding the product to the |
90 |
| -cart. This button is an *additional* option and does not replace the :guilabel:`Add to Cart` button. |
91 |
| -To do so, go to :menuselection:`Website --> Configuration --> Settings`, scroll to the |
92 |
| -:guilabel:`Shop—Checkout Process` section, enable :guilabel:`Buy Now`, and :guilabel:`Save`. |
| 84 | +Enable the :guilabel:`Buy Now` button to take customers to the :ref:`review order |
| 85 | +<ecommerce/checkout/review_order>` step instead of adding the product to the cart. |
| 86 | +This button is an *additional* option and does not replace the :guilabel:`Add to Cart` button. |
93 | 87 |
|
94 | 88 | .. tip::
|
95 |
| - Alternatively, you can enable the :guilabel:`Buy Now` button directly from a product page by |
96 |
| - clicking :guilabel:`Edit` and navigating to the :guilabel:`Customize` tab. |
| 89 | + Alternatively, the :guilabel:`Buy Now` button can also be enabled from any product's page while |
| 90 | + in :guilabel:`Edit` mode. In the :guilabel:`Customize` tab, click the :guilabel:`Buy now` button |
| 91 | + next to :guilabel:`Cart`. |
97 | 92 |
|
98 | 93 | .. image:: cart/cart-buy-now.png
|
99 | 94 | :alt: Buy Now button
|
100 | 95 |
|
101 |
| -Re-order from portal |
| 96 | +.. _cart/re-order: |
| 97 | + |
| 98 | +Re-order From Portal |
102 | 99 | ====================
|
103 | 100 |
|
104 | 101 | Customers have the possibility to **re-order** items from **previous sales orders** on the customer
|
105 |
| -portal. To do so, go to :menuselection:`Website --> Configuration --> Settings --> Shop - Checkout |
106 |
| -Process` and enable :guilabel:`Re-order From Portal`. Customers can find the :guilabel:`Order Again` |
107 |
| -button on their **sales order** from the **customer portal**. |
| 102 | +portal. Customers can find the :guilabel:`Order Again` button on their **sales order** |
| 103 | +from the **customer portal**. |
108 | 104 |
|
109 |
| -.. image:: cart/cart-reorder.png |
110 |
| - :align: center |
111 |
| - :alt: Re-order button |
| 105 | +.. image:: cart/order-again-button.png |
| 106 | + :alt: Re-order button |
0 commit comments