Woocommerce React Native
  • Quick Start
  • Install Libs
  • Woocommerce
  • App Config
  • Payment
  • Release Android
  • Release iOS
  • Useful Links
  • Custom API
  • Order Pick Up
Powered by GitBook
On this page

Was this helpful?

Woocommerce

PreviousInstall LibsNextApp Config

Last updated 5 years ago

Was this helpful?

Setup Wordpress

  1. Download Wordress

  2. Unzip and upload to hosting

  3. Handy setup guide

Setup Woocommerce

  1. Install WooCommerce plugin for WordPress

  2. Setup Woocommerce

  3. Generate Consumer Key and Consumer Secret with Read/Write access

WordPress permalinks must be enabled at: Settings > Permalinks.

Setup .htaccess file

# BEGIN WordPress
 <IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteBase /
 RewriteRule ^index\.php$ - [L]
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule . /index.php [L]
 </IfModule>
 # END WordPress

Setup Plugins

Activate the controller through the JSON API menu found in the WordPress admin center (Settings -> JSON API)

  • WPML 3.4 or above

  • WPML String Translation 2.0 or above

  • WPML Translation Management 2.2 or above

In iOS, after creating the locales, you’ll need to add them in your project’s configuration in Xcode:

A RESTful API for WordPress, this plugin is used for only the registration feature (other request from the API we use default REST API from Wordpress site)

Extends the JSON API Plugin with a new Controller to allow RESTful user registration, authentication, password reset

To support multi languages feature, following feature should be install(optional):

: use for multi language feature, this api will support to change the product/title/category base on the select language from WPML plugin

Detail document:

JSON API
JSON API User
WooCommerce Multilingual
WPML to WP API
click here
https://wordpress.org/download/
https://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Installation
https://woocommerce.com/posts/introduction-to-wordpress-and-woocommerce/
https://woocommerce.com/posts/how-to-set-up-a-new-woocommerce-store/
https://docs.woocommerce.com/document/woocommerce-rest-api/
https://wordpress.org/support/article/using-permalinks/