4seer / openflutterecommerceapp

Open Flutter E-commerce App
GNU General Public License v3.0
849 stars 387 forks source link

How to run the project? #134

Closed JuanmaMenendez closed 2 years ago

JuanmaMenendez commented 4 years ago

Please add some instructions about what is need it and the steps to run this project (eg: create a WooComerce website, run X command, etc..)

ajatsoft commented 4 years ago

how to add //?consumerkey=ck*&consumersecret=cs goes here

where I can add my keys?

ajatsoft commented 4 years ago

how to add //?consumerkey=ck*&consumersecret=cs goes here

where I can add my keys?

solution: static const _woocommerceKeys = '?consumerkey=ck*&consumersecret=cs';

here you have an error:

static String get productCategories => serverAddress +_categorySuffix + _woocommerceKeys; // (useStatic ? _productCategoriesCached // : serverAddress +_categorySuffix + _woocommerceKeys);

static String get products => serverAddress +_productSuffix + _woocommerceKeys; // (useStatic ? _productsCached // : serverAddress +_productSuffix + _woocommerceKeys);

static String get promos => serverAddress +_promoSuffix + _woocommerceKeys; // (useStatic ? _promosCached // : serverAddress +_promoSuffix + _woocommerceKeys);

duplicate ==> serverAddress string

4seer commented 2 years ago

It should connect to our current test woocommerce domain and show products. If you still have issues reopen this issue.