Order insertion more tolerant

When Order insertion was introduced, we defined set of validations to allow only reasonable orders consistent for for further regular processing. One of those was to check, if the order has at least one product, one shipping and and one payment method (for non-cashdesk orders). This however turned out to be sometimes an obstacle, especially when historical orders from other eshops or external systems were imported. Therefore we decided to relax the validation and we do not require the order to have a shipping and a payment method now – at least one product (or service, bazaar item etc.) is however still required.

Navigace pro příspěvek