Label Woosignal: Documentation Version: 1.0

Introduction


Welcome to Woosignal! Get familar with how Woosignal works and explore the features available.
If you have any questions please feel free to contact us

Requirements


To quickly get setup, you'll need to ensure that you have the below requirements.

Folder Structure


Download and extract the zip. You will find the structure as follows:

App Contains the app, open the "Label.xcworkspace"
Label Woocommerce Plugin Contains the Label WordPress plugin
Readme.txt Information for changelog & version

Connecting Woocommerce


Follow the below steps to connect your Woocommerce store:

  • Login into your Woosignal account (or create an account if you are new).

  • On the Dashboard, if you have not connected your store, it will display "Offline". This means you will need to connect your Woocommerce store, select "connect" and add the url to your Woocommerce store e.g. https://www.outdoorshoes.com once added, select "Connect store".

  • It will ask for an admin user to login so Woosignal can be authorized to connect with your Woocommerce store. Once complete, if all has gone successful, your dashboard should show "Online" which means your store is now connect!

Connect Label App


If you have followed the above steps, you should now be able to connect your app.
Using Android Studio, open the project in "App > Label". Once open need to open the project, look for LabelCore file (a shortcut you can use is [SHIFT SHIFT] and then search for "LabelCore").

This file contains configuration settings for the app

  • Linking your Woocommerce store

On the Woosignal dashboard you should have "Apps" on the left sidebar, select it and generate a appKey by clicking "Generate new key". This will create a key for the app to use, copy it and go back to the app.

Inside the "LabelCore" file in Android Studio, look for appKey and update the value like so

public static final String appKey = "your app key";

Once added you should be able to run the app in Android Studio by clicking the run icon at the top

Note: Products - If you are on the free plan it will only display 20 products so if you can't see products in categories that's the reason why. View our plans to learn more.


Currency


To change the currency symbol throughout the app, first open LabelCore in Android Studio and look for the following variable

public static final String localeLanguage = "en";

public static final String localeCountry = "GB";
Woocommerce Payment Currency

To change the currency for Woocommerce orders find the following variable inside LabelCore in Android Studio

public static final String currency = "GBP";
public static final String currency = "Find your currency code, here's a list"

Login


If you want to use the login feature in the app you need to ensure that you have installed the following plugins on WordPress first:

  • JSON API
  • JSON API Auth
  • JSON API User
  • Label Plugin (Included in package "Label Woocommerce Plugin")

Once installed, please ensure that you have activated they in your WordPress settings.

Last part

Make sure the wcUrl in "LabelCore" is set to your domain

public static final String wcUrl = "http://yourdomain.com/"

Make sure useLabelLogin is enabled like the following

public static final Boolean useLabelLogin = true

Next, go to Settings on WordPress > JSON API > activate the following : "Core", "Auth" and "User"

You should now be able to run the app and use the LabelLogin feature

PayPal


Inside "LabelCore" contains the configuration values for PayPal.

public static final String paypalClientID = "your paypal client id"

IMPORTANT! Change the client id to alter environment (live/sandbox)

Credits


  • Icon's made by Freepik from www.flaticon.com