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/constants/app_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.
static final WOO_ECOMMERCE_URL = "https://your-site-url/"; static final WOO_CONSUMER_KEY = "ENTER_YOUR_CONSUMER_KEY"; static final WOO_CONSUMER_SECRET = "ENTER_YOUR_CONSUMER_SECRET_KEY";
You can create Consumer Key & Consumer Secret by following link below.
Now you can test the application in your Flutter development environment.