Can anyone tell me a way to be loading woocommerce products, from an existing database.
Eg Woocommerce would only read the bank.
Can anyone tell me a way to be loading woocommerce products, from an existing database.
Eg Woocommerce would only read the bank.
If you want to bypass the WordPress database, WooCommerce account hooks and filters that can be used for this. Of course you will lose many internal functions and will have to rewrite most, but it is possible.
The best option is to use WooCommerce normally with the WordPress database and use its API to update your external database, either through a wpcron or through hooks. The WooCommerce documentation is very detailed and has hooks and filters for almost all functions.
Another option is to synchronize the two databases through exports in xml or csv. Before the API was the only way to integrate WooCommerce with an ERP for example. It gives less work but the system is more of a gambiarra than integrated. A good plugin for this is Woocommerce csv import, available in the WordPress repository.
The API documentation: API