bolu escort edirne escort zonguldak escort cankiri escort corum escort amasya escort burdur escort bilecik escort trabzon escort isparta escort afyon escort canakkale escort sakarya escort corlu escort usak escort sile escort ayvalik escort balikesir escort rize escort kirsehir escort karabuk escort yalova escort aydin escort usak escort kutahya escort burdur escort malatya escort agri escort urfa escort van escort corum escort erzurum escort adana escort maras escort yozgat escort giresun escort kastamonu escort artvin escort bilecik escort karabuk escort karaman escort kirsehir escort manisa escort kusadasi escort cankiri escort kirklareli escort kirikkale escort sinop escort tekirdag escort kocaeli escort kilis escort osmaniye escort diyarbakir escort batman escort siirt escort mus escort bartin escort sivas escort sincan escort gorukle escort

Plugin Installation

Estimated reading time: 2 min

We have added JSON API and Ionic-React eCommerce plugins. These plugins can be installed in two ways.

You will find the JSON API and Ionic-React eCommerce plugins in a zipped folder in the pack.

Method 1

  1. Upload the folder “JSON-API” to your WordPress Plugin folder (/wp-content/plugins)
  2. Now activate the plugin through the “plugins” menu in WordPress or by using the link provided by the plugin installer.
  3. Activate the controller through the JSON API menu found in the WordPress Admin Center (Settings->JSON API)

Method 2

Go straight to the admin panel>Plugin>Add New.

The above-given page will show up. From here, click on the “upload plugin” option, make sure that the plugin that you have is in .zip format. Click on the “Browse” option, upload the plugin folder and once the folder is chosen, click on the “Install Now” option”

Once the plugin is installed, you can activate or deactivate the plugin through settings according to your usage.

After WordPress plugins installation and setup, please follow the below-mentioned instructions to set up your mobile application.

After Intallation of plugin need to activate the controllers from Settings >> Json APi

Ionic-React Woocommerce app works with woocommerce rest api, please follow the link below to enable woocommerce rest api on your server.

After enable rest api, please make sure your site woocommerce rest api working correctly. You can follow that simple tutorial link to check whether rest api works correctly on your sever or not.

Now you have all set at your wordpress site end. Please proceed with ionic source code setup.

Enable REST API & Generate API keys

To enable the REST API with in WooCommerce, go to WooCommerce> Settings> Advanced and tick the Enable Legacy API link

The WooCommerce REST API works on a key system to control access. These keys are linked to WordPress users on your website.

To create or manage keys for specific WordPress user:

Go to: WooCommerce> Settings> Advanced> REST API

  1. Select Add Key
  2. Select the user you would like to generate a key for, in the user file and add a description.
  3. Choose the desired level of access for this API key , which can be Read access, Write access or Read/Write access.
  4. Select the Generate API key button and WooCommwrce will generate API keys for that certain user.Once the keys have been generated, you will see two new keys, a
    QRCode  and a Revoke API Key button. These two keys are your Consumer Key and Consumer Secret.
  5. Place your site link, consumer key and consumer secret in the mobile application config file that uses the WooCommerce API.
Was this article helpful?
Dislike 0
Views: 124

Continue reading

Previous: Source Code Setup
Next: Facebook Login
Go to Top