How to combine orders in woocommerce

Does anyone know if merging / merging of orders is possible in Woocomerce?

What I am trying to achieve is to provide my customers with the opportunity to add more products to an existing order within a certain period of time (for example, 3 days) if the customer bought the product and the order has a set status (for example, processing), and then returns to the site and adds more products, then the orders will merge and they will not be charged additional shipping fees.

Is there a plugin for pending orders or something like that?

Thank you in advance

+5
source share
1 answer

Here's the best deal that scales and does not have any unintended consequences.

During the verification process, check if the user exists, if so, check the orders in progress. If customers have orders in the process, then do not pay additional delivery if the delivery address matches their current order.

You will need to do this check again during the checkout process, because they can leave their basket in this way for any number of hours, and if their processing order was filled while their basket was sitting idle, you would have to eat an additional charge delivery.

A good added feature will tell them that their delivery is free and will be combined with their existing order.

0
source

Source: https://habr.com/ru/post/1245619/


All Articles