WooProducts Troubleshooting

Follow These Simple Steps

Some users are having problems connecting the WooProducts app to their WooCommerce store. I've done some research and found the most common reasons. If you follow these steps 99% of you will no longer have an issue :) For the other 1% contact me directly from my site.

Update WordPress & WooCommerce!

In your admin panel on the sidebar select:

Dashboard > Updates check the box that says "Select All" and click "Save Changes".

Enable WooCommerce API

In your admin panel on the sidebar select:

WooCommerce > Settings > API Check the box that says "Enable the REST API" and click "Save Changes"

In your admin panel on the sidebar select:

Settings > Permalink check the box that says "Post name" (or any of the options except for "plain") and then scroll to the bottom and click "Save Changes"

Test Your Progress

We can verify that the WooCommerce API is responding correctly by visiting its URL

http://your-site.com/wc-api/v3 replace "your-site.com" with the address of your online WooCommerce store. The page should have text on it that resembles this:

{"store":{"name":"Rock Climbing Tshirts","description":"Climbing shirts for your favorite rock climbing routes","URL":"http:\/\/rockclimbingtshirts.co","wc_version":"2.4.13","routes":{"\/":{"supports":["HEAD","GET"],"meta":{"self":"http:\/\/rockclimbingtshirts.co\/wc-\

If you get 404 or anything besides a long string of crazy text like the stuff above ^^ then your WooCommerce API isn't enabled or is mis-configured.

Try Connecting to My Store

Connect to my store to determine the point of failure

I've created a read-only access key for my WooCommerce store. Try connecting your WooProducts app to my store. This will determine whether there is an issue with your set-up or if there truly is a bug in WooProducts.

You won't be able to add products as the key is read-only but you should be able to connect and view my products under the search tab in the WooProducts app.

# URL
http://rockclimbingtshirts.co

# Consumer Key
ck_3bebfdfa6706c64b543e23465312a89447f64054

# Consumer Secret
cs_dd4d852fe8b9d0fc26e6811160f20ea0912597d4  

alt

Last Ditch Effort

If you're still having issues connecting then your .htaccess may be corrupt

Connect to your site with FTP or SSH find your .htaccess file in the root of your WordPress install. Open the .htaccess file in the text editor of your choice and confirm that it looks like the one below.

# 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

References

A set of UI components for React Native.
Get Carbon Native!