WordPress.org

Ready to get started?Download WordPress

Forums

Frustrated with Amazon wishlist plugins (22 posts)

  1. jfriesen
    Member
    Posted 9 years ago #

    OK, I've spent several hours now trying to get a simple display of my Amazon Wish List in the sidebar.

    First, I tried the plugin from Two Ells:
    http://daryl.learnhouston.com/index.php?p=55
    It produced errors all over the WP admin area.

    Next, I tried CG-Amazon:
    http://www.chait.net/index.php?p=147
    but found it overly complex for my needs, and could never get anything more than "No products found" to display (I don't have to add my wishlist products to the DB do I? I assume the script automatically fetches products from my wishlist, right?)

    Finally, I tried thoughcrash's Amazon Wish List Plugin:
    http://thoughtcrash.org/amazon-wishlist-plugin/
    but got errors related to Cache/Lite.php (I have the Snoopy class installed in my magpie dir, but what is this? The PEAR Cache::Lite extension?)

    All I want to do is display items from my amazon wish list. Can anyone recommend an easy to use plugin for WP 1.5.1.3 that will allow me to do this?

    TIA!
    JF ;)

  2. Firas
    Member
    Posted 9 years ago #

    What errors was the Two Ells one producing? If it worked besides the admin errors, try it again and get rid of any spaces after the ending ?> tag.

  3. jfriesen
    Member
    Posted 9 years ago #

    Thank you for your quick reply!

    I found an updated version of the Two Ells plugin here:
    http://daryl.learnhouston.com/?p=146

    Because Magpie is using snoopy, I also had to comment out line 73:
    //require_once('wp-includes/class-snoopy.php');

    The admin no longer shows errors. But like commenter #10 on the above URL, I cannot get anything to display on the front end.

    Unlike commenter #10, I am obtaining my Amazon wish list ID from "numbersandletters" in the URL:
    http://www.amazon.ca/exec/obidos/registry/numbersandletters/xxx-xxxxxxx-xxxxxxx

    I noticed that $aw_locale is no longer in this updated plugin. My wish list is with amazon.ca. I tried editing line 153 to:
    var $server = 'xml.amazon.ca';
    but got no results. Does this plugin only work with .com?

    I can't seem to get anything to show on the front end with this. Any ideas?

    TIA!
    JF ;)

  4. davidchait
    Member
    Posted 9 years ago #

    If you already have CG-Amazon installed, it is really simple. My guess is you had the wishlist ID incorrect. But I'm here to help figure it out! ;)

    If you go to amazon, click on Wish List, click on Your Wish Lists, then click on "Wishlist" (or whatever it is named), and the END of the URL should now have "&id=SOMEID", where SOMEID is the letters/numbers forming the ID for your wishlist. It can also be located if you click on a product in your wishlist, and look at the end of the URL for "&colid=SOMEID". They should be the same... ;)

    So in your code somewhere, you can do:

    <?php show_wishlist_items('SOMEID', 3, true); ?>

    That'll start you off, showing 3 random items off your list.

    If you need more than that, let me know. I can also walk you through all the various options in cga-config.php for customizing things, how to use a WP Page as a wishlist listing page (needs my CG-QuickPHP plugin in addition), and more. Fire away with Qs! ;)

    -d
    CHAITGEAR

  5. jfriesen
    Member
    Posted 9 years ago #

    Thank you David!

    I am using the correct Wishlist id, but again, I'm getting "No products found".

    The changes I've made to the config file were to include values for $AmazonID, $amazonLocale (ca), and $myAmazonWishlist.

    I am calling the function like this:
    <?php show_wishlist_items('', 3, true); ?>

    I tried commenting out the locale config to see if the issue was related to .ca, but the results didn't change.

    I uninstalled all other plugins, but the results still didn't change.

    Any ideas as to what I'm missing here?

    TIA!
    JF ;)

  6. davidchait
    Member
    Posted 9 years ago #

    Hmmmm. $amazonLocale certainly could affect it. Especially given what little international feedback I've gotten. ;) And, that .ca was one of the most recent additions to web services support.

    And commenting it out wouldn't necessarily help, as if you have a wishlist on amazon.ca, amazon.com easily might not have an existing wishlist of the same ID (if it did, it'd be random chance -- but they might segment globally).

    Let me take a look at the code, make sure it's working. Can you send me your wishlist ID (to cgcode at chait dot net), or post it here? I don't think I've got a .ca account at the moment -- can't remember. Thanks!

    -d

  7. jfriesen
    Member
    Posted 9 years ago #

    Thank you David! I have emailed you the Wish List ID for further investigation.
    JF ;)

  8. davidchait
    Member
    Posted 9 years ago #

    I'm checking with the Amazon Web Services team -- my code looks fine, is working fine with the US server, but the CA server is balking on valid wishlist IDs. I also tried a third-party test environment, with the same result -- thus I think AWS has a bug to fix, and should plague any amazon system using AWS. ;)

    I'll let you know as I find out more.

    -d

  9. jfriesen
    Member
    Posted 9 years ago #

    Thank you for the follow-up David! I look forward to hearing Amazon.ca's response.
    JF ;)

  10. Daryl L. L. Houston (dllh)
    Member
    Posted 9 years ago #

    Theoretically, in the Two Ells plugin, if you go to line 185 (or the switch statement, if my line numbering's wrong) and add "case 'ca': $this->server .= 'ca'; break;" it'll work if you then go to line 36 and change $aw_locale to "ca". It's untested b/c I don't have a valid Canadian store associate id. If that doesn't work, make sure you've got the right suffix for the service url.

  11. davidchait
    Member
    Posted 9 years ago #

    Well, any Amazon Web Services code trying to get .ca wishlists should have the same problem, as it looks to be on Amazon's end. I just got another independent report of the same exact issue with .ca wishlists, with somebody else's amazon code.

  12. jfriesen
    Member
    Posted 8 years ago #

    Just checking in... has the AWS team provided any interesting responses or feedback about this issue?
    JF ;)

  13. junto
    Member
    Posted 8 years ago #

    You can display your Amazon wishlist plugin for free using:

    http://www.junto.co.uk/Amazon/WishListWidget.aspx

    It is simply a javascript plugin, no PHP installs and works with all blogging software.

    You can complete customize the display using CSS. You don't even have to register to use it.

  14. junto
    Member
    Posted 8 years ago #

    Also, it is currently in beta. Not that I have had any reported problems so far. :-)

  15. solutionsphp
    Member
    Posted 8 years ago #

    Nice widget there, junto!

    I also recently discovered this plugin, which works with Amazon.ca: http://www.lazyi.net/projects/amazon-wishlist/

  16. davidchait
    Member
    Posted 8 years ago #

    I should note that CG-Amazon works fine with Amazon.ca, and other international sites, for wishlists, general searches, item lookups, etc., SO LONG AS AMAZON supports them. The problem was that Amazon wasn't supporting the .ca wishlist lookups last summer... which ALL plugins would have had the same issue with. ;)

    -d

  17. nmallory
    Member
    Posted 8 years ago #

    Now what I would like is to be able to link to my wishlist without Amazon showing what city/state I live in. Didn't they used to keep that part anonymous?

  18. davidchait
    Member
    Posted 8 years ago #

    I'm not sure. They have to make certain details public to differentiate each person, thus the options:
    This list will be viewable by:
    Anyone who searches for me.
    Only people I have invited with the "Share this list" feature.
    Only me.

    I'm not sure there's a way to give public-access to your wishlist, but not let people know where you live...

    I mean, I could grab the wishlist, and rejigger the URLs so that they DON'T point to your wishlist, but the information is still out there. At that point, you are better off maintaining your own product list in CGA (tag items with 'wish', and display items with that tag), and have people contact you for where to ship it, or to give them direct access to your REAL wishlist.

    -d

  19. nmallory
    Member
    Posted 8 years ago #

    When they first started the wishlist, you could have a link on your website and not be searchable and remain anonymous enough than online friends could chose to buy you Christmas presents, etc. or pay for online services like creating themes, etc. and yet, you could safely remain anonymous. It's just a privacy issue with me.

    I worry about all the information people are giving out to each other online. Mind you, I have what city I live in on my website. ;) I also have pictures of the Festival that's held there displayed in my photo gallery. But then, I also don't use my real name, nor is my real name listed in the phone book. Heck, even my pets have online aliases...So...

    It's just a pet peeve.

  20. yosemite
    Member
    Posted 8 years ago #

    Hey, just because you're paranoid doesn't mean someone's not out to get you....

  21. mymindwa
    Member
    Posted 8 years ago #

    I too am having a very similar problem displaying amazon.ca wishlists from a website mentioned above - lazyi.net/projects/amazon-wishlist/
    and a website I found: http://www.thestrongcross.com/?page_id=14

    I get nothing at all after installing and configuring it exactly how I want it. In fact all css on the page ceases to be called after it calls on the wishlist function - that is I see "My Amazon Wishlist" on a page or sidebar and below it the background and formatting disappear.

    here is some code with my wishlist number
    '<?php displayAmazonWishlist("2PG3HNCXLKRK8"); ?>'

    This particular plugin required me to download the 'xml parser' plugin, the 'wp-amazon-workflow' plugin and then the 'wp-amazon-wishlist plugin' which I did but with no luck. Anybody help me out??

  22. davidchait
    Member
    Posted 8 years ago #

    If I get a chance over the weekend, I'll try to look at whether they ever fixed the issue that CG-Amazon had uncovered (that is, CA didn't support wishlist retrieval via web services). I don't know that I've ever checked, given I spent MONTHS trying to get a response from Amazon and never did. Their developer support STINKS.

    -d

Topic Closed

This topic has been closed to new replies.

About this Topic