To connect our app with your WooCommerce website. Open the vendor app source code folder from the downloaded package.
Inside the folder, you will find all the vendor application source code.
Now open project folder /lib/config.dart file and change the following.
- https://your-site-url (it will be the URL of your domain)
- Consumer Key
- Consumer Secret
It will load WooCommerce products data into your application.
String yourSiteUrlString = "https://your-site-url/"; String consumerKey = "ENTER_YOUR_CONSUMER_KEY"; String consumerSecret = "ENTER_YOUR_CONSUMER_SECRET_KEY";
You can create Consumer Key & Consumer Secret by following link below.
Test Application
Now you can test the application in your Flutter development environment.