Customer App Source Code Setup

Estimated reading time: < 3 min

To connect our app with your WooCommerce website. Open the customer app source code folder from the downloaded package.

Inside the folder, you will find all the customer application source code.

Now open project folder /lib/constants/app_config.dart file and change the following.

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.

Test Application

Now you can test the application in your Flutter development environment.

Was this article helpful?
Dislike 0
Views: 200

Continue reading

Previous: Flutter Environment Setup
Next: Vendor App Source Code Setup (Coming Soon)
Go to Top