Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] eCommerce: adapt to new Click&Collect flow #11353

Draft
wants to merge 1 commit into
base: 18.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,32 +1,65 @@
================
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
----------------
To enable :guilabel:`Pick up in store`, follow these steps:

: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.
#. **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 +69,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 +89,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.