M
M
Michael2017-08-08 17:31:43
Magento
Michael, 2017-08-08 17:31:43

Is it possible to implement multiple shipping addresses in 1 order in Magento 2?

In magento 2, it is possible to order products with multiple delivery addresses. But there will be as many orders as delivery addresses.
Challenge: Ability to add all addresses to one order. Theoretically, you can add as many shipping addresses as you want to the database. And even issue an address based on the shipping address instead of the standard address from the order itself . Sounds weird, but that's how it is. The problem is that this is non-standard behavior for the system and the calculated price for one delivery remains in the order, although there are several deliveries.
You can also refine the mechanism for creating an order and calculate the price taking into account several addresses. But all the same, there will be sections that will not work correctly, one of them is invoice. It has a link in the table with shipping_address_id. And there is no way to add support for multiple addresses.
I can't decide how best to do it. If Magento were some kind of opencart, I would just cut the delivery system. But it is not opencart. Sometimes I think that the developers themselves do not know the whole system...
Is it worth it to try to cut through the entire delivery or, if possible, customize only a part and turn a blind eye to the rest?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Morozov, 2017-08-24
@kirmorozov

Out of the box, there is a delivery functionality to many addresses.
It is normal that different orders are formed.
It is possible for both orders to add a common field that is filled or generated (quote_id).
Without context, it is not clear why to fence such difficulties.
The order can be taken and shipped immediately after registration.
You need to choose where which goods are shipped, and then issue returns.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question