1

What we are trying to achieve is a seamless integration with order/transaction data that has come from a legacy system, and without turning them into actual WooCommerce orders and inserting them into WooCommerce (theres 800k so far..).

When a customer is looking through their list of orders, they shouldn't see a different in the look of the non-WooCommerce (pre-WooCommerce) orders and WooCommerce orders (which are just posts within the system).

We want this data stored separately for various reasons, i.e. tables storing the historical data.

We're currently modifying any actions that interact with the order but are looking for a cleaner solution that would focus on extending the WC_Abstract_Order or WC_Order, has anyone dealt with this before?

closed as off-topic by Max Yudin, cjbj, Dave Romsey, birgire, kaiser Jun 4 '17 at 23:03

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

1

Turns out that the new CRUD functionality added in 3.x will allow me to deal to a single point for each data type, in this case it's Orders

https://github.com/woocommerce/woocommerce/wiki/CRUD-Objects-in-3.0

Not the answer you're looking for? Browse other questions tagged or ask your own question.