I built a website and set it up with the WooCommerce plugin to handle my eCommerce. That system works great.
I built an iOS app that is not connected to my WordPress site at all. I am clearly a novice, but I am trying to understand how to connect these two systems.
Usernames/Passwords, Purchases, Shipping, etc….
Can anyone point me in the right direction of a solution, because I am coming up blank on my search. Thanks!
Step 1) Install one of the plugins for WordPress authentication. (P.S. I used basic authentication in the example below.)
Step 2) Go to WooCommerce > Settings > API > Keys/Apps, and add a new key and then generate API Key. It will create consumer_key and consumer_secret for you.
Step 3) Enable REST API in the WooCommerce settings. (To enable the REST API within WooCommerce, visit the WooCommerce > Settings > API tab and tick the Enable REST API checkbox.) source
Step 4) I assume that you are developing an app with Swift. If so see the code below for getting user details and orders for example. Don’t forget to include Alamofire framework in your project.
You may want to look into the WooCommerce REST API. Sorry that I don’t know if it offers everything you’re looking for, but researching that might be a good starting point.
Well I don’t if this is what you want but you could just put the website in a web view