Skip to content

Commit

Permalink
[IMP] eCommerce: adapt to new Click&Collect flow
Browse files Browse the repository at this point in the history
task-4199792
  • Loading branch information
vchu-odoo committed Nov 19, 2024
1 parent 7e23234 commit f6c38a5
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,32 +1,66 @@
================
Shipping methods
Delivery methods
================

Depending on your shipping strategy, you have the choice to either use your :ref:`own shipping
methods <ecommerce-own-shipping>`, or use an integration with an :ref:`existing shipping provider
Depending on your shipping strategy, you have the choice to either use your :ref:`own delivery
methods <ecommerce-own-shipping>`, or use an integration with an :ref:`existing delivery provider
<ecommerce-shipping-providers>`.

.. _ecommerce-own-shipping:

.. seealso::
:doc:`../checkout_payment_shipping/checkout`

Own shipping methods
Own delivery methods
====================

You can create your own custom shipping methods and define rules to compute shipping costs. To do
so, go to :menuselection:`Website --> Configuration --> Shipping Methods`, and either select an
**existing** shipping method, or :guilabel:`Create` one. When creating a shipping method, you can
You can create your own custom delivery methods and define rules to compute delivery costs. To do
so, go to :menuselection:`Website --> Configuration --> Delivery Methods`, and either select an
**existing** delivery method, or :guilabel:`Create` one. When creating a delivery method, you can
choose between :ref:`Fixed Price <inventory/shipping/fixed>`, :ref:`Based on Rules
<inventory/shipping/rules>`, and :guilabel:`Pickup in store`.

Pickup in store
---------------
Pick up in store
----------------

:guilabel:`Pickup in store` must first be **enabled** in the settings (:menuselection:`Website -->
Configuration --> Settings --> Shipping section)` by checking :guilabel:`On Site Payments &
Picking`. Once enabled, you can select and :guilabel:`Customize Pickup Sites`. :guilabel:`Picking
sites` can be made **website-specific**, but are by default available for *all* websites.
To enable :guilabel:`Pick up in store`, follow these steps:

#. **Enable Click & Collect**

Go to the website settings :menuselection:`Website -->
Configuration --> Settings --> Delivery section`, then check the box for :guilabel:`Click &
Collect`.

#. **Select stores for a pick-up**

Choose stores represented by your warehouses where customers can pick up their orders from.

#. **Set address information**

Ensure that each selected warehouse has a partner assigned, along with complete address data.
This is essential for localizing the warehouse and displaying its accurate location to customers.

#. **(Optional) Configure warehouse opening hours**

You can set the opening hours for each warehouse which enhances the user experience by informing
customers of the operational hours for pick-up locations.

#. **Publish the provider**

Once all settings are configured, publish the provider to make it available to customers.

After publishing, customers will be able to choose a pick-up location using a **location selector**
if a product is in stock. This selector will be available on the **product page** and during the
**checkout process** when selecting delivery methods.

.. note::
- Products available for **Pick up in store** should be storable.
- Customers can not select a pick-up location if a product is out of stock at that location. The
`Continue selling` option when out of stock is not supported.
- If the `Show Available Qty` setting is activated on the product, customers will be able to view
the available stock quantity for each warehouse in the location selector on the product page.
- Customers will not be able to complete the checkout if any of the selected products are out of
stock at the chosen pick-up location.

.. seealso::
- :doc:`../../../inventory_and_mrp/inventory/shipping_receiving/setup_configuration`
Expand All @@ -36,10 +70,10 @@ sites` can be made **website-specific**, but are by default available for *all*

.. _ecommerce-shipping-providers:

Shipping providers
Delivery providers
==================

Another solution is to use one of the integrations with an existing shipping provider. The advantage
Another solution is to use one of the integrations with an existing delivery provider. The advantage
of using an integration is that delivery costs are automatically computed based on each order as
well as generating shipping labels.

Expand All @@ -56,15 +90,5 @@ Website availability

Shipping methods can be made available on **specific** websites *only*, if desired. To do so, go to
:menuselection:`Website --> Configuration --> Settings --> Shipping Methods`, and select the desired
**shipping method**. In the :guilabel:`Website` field, set the website you want the shipping method
**shipping method**. In the :guilabel:`Website` field, set the website you want the delivery method
to be restrained to. Leave the field **empty** for the method to be available on *all* websites.

Delivery method at checkout
===========================

Customers can choose the shipping method at the end of the checkout process, at the
:guilabel:`Confirm Order` step.

.. image:: shipping/shipping-checkout.png
:align: center
:alt: Delivery method choice at checkout
Binary file not shown.

0 comments on commit f6c38a5

Please sign in to comment.