Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just a clarification on how to use this? #8

Closed
paul99santos1988 opened this issue Sep 5, 2013 · 4 comments
Closed

Just a clarification on how to use this? #8

paul99santos1988 opened this issue Sep 5, 2013 · 4 comments

Comments

@paul99santos1988
Copy link

I already install the plugin and activated it but when I try my HTML I don't see anything. It says 'Unexpected token' something.

here is my code:
http://pastebin.com/Sd8qbsju

do I need to edit config.php in the folder?
it still localhost something, should I use my domain name on this?

@jasonknight
Copy link
Owner

What says unexpected token? PHP? Or is this a javascript error? You'll need to provide a full stack trace or screen shot.

@paul99santos1988
Copy link
Author

First off thanks for the reply.

So, What I've done so far.

  1. Downloaded your plugin and upload it to my wordpress plugin folder.
  2. Install woocommerce then woocommerce JSON API.
  3. Added 20 products because I thought the error might be pagination (no products).
  4. Followed your instructions on how to use it.
    My HTML code: http://pastebin.com/6X9yLDg3
    I opened it in my Chrome: http://s22.postimg.org/7g6e4m5ht/Screen_Shot_2013_09_05_at_1_57_51_PM.png
  5. I haven't change the config.php in your woocommerce JSON API folder, it still localhost something.

I get "Unexpected Token" error, Also in the Woocommerce JSON API settings I cannot see any more the url under "Only serve HTTPS requests? "

@jasonknight
Copy link
Owner

Is it still not working for you?

The dependency on an API page has been removed.

@paul99santos1988
Copy link
Author

Okay right now things are better, but why in my javascript console I get an error Array[1] "Not a valid API User" and I don't see the list of my product in the JSON object?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants