Tuesday, 6 June 2017

How to retrieve Woocommerce products inside a node.js website and test locally

Is it possible to locally test and retrieve data from a WordPress site and show this on a node.js based website?

Here is the idea:

I build a website in node.js with express etc. and would like to retrieve products I uploaded on a WordPress site which uses WooCommerce. I only want to use wordpress with WooCommerce to upload products and use their checkout system, so no one is actually going to be able to see the wordpress client. I do however want to show the retrieved product images and pricing on my node based website.

Now for testing purposes I need to connect it all locally, is this possible? If so, are there any example api's?



via Timothy Kimman

No comments:

Post a Comment