agencednd/dpd-france-orocommerce-bundle
After installing DPD France Shipping Bundle, please follow these steps:
In the admin section, go to System > Integrations > Manage integrations > Create Integration.
Select the DPD France integration type and fill in the requested configurations.

The configuration fields available in the Integration are:

In the admin section, go to System > Shipping rules > Create shipping rule.
Select the proper currency / website combination for your store, set a base price for the services and an eventual extra fee per service in the additional options section.
In order to use the quantity limitation for DPD shipping at product level, you have to set the following rule expression:
lineItems.all(
(lineItem.product.maxQtyForDpdFr < 0)
or
(lineItem.product.maxQtyForDpdFr >= lineItem.quantity)
)
DPD France Max qty set to "-1" has no specific quantity limitationDPD France Max qty set to "0" is not shippable with DPD FranceThere are 3 levels of limitation regarding product quantities:
Maximum package number per order Integration global settingdnd_dpd_fr_shipping_service: parcel_max_amountDPD France Max qty as described aboveOther limitations can be set using Expression Language for Shipping and Payment Rules. For example, you can add the following expression on top of your expression rules to limit the DPD shipping method to a specific customer group:
customer.group.id = 4 and
lineItems.all(...)

The two native checkout workflows have been cloned into their corresponding "...with DPD France" workflows.
Enable the one corresponding to the workflow desired:

As the product weight and size are used in package calculation, products must have their "Shipping options" configured properly in order to allow DPD shipping method usage.
Please make sure to use kilogram (kg) and centimeter (cm) units to ensure the correct calculation.

If you choose to, you can automatically export your order shipments to DPD Station using the DPD Station configurations from the integration.
Exported files will be sent to DPD Station through the FTP accesses configured in the DPD integration and the files will also be stored locally under the data/dpd-france/export directory.
DPD shipping standard limitations are stored inside the database table dnd_dpd_fr_shipping_service and can be adjusted in the case of specific contractual agreements with DPD France:
Then, flush the cache:
bin/console cache:clear
How can I help you explore Laravel packages today?