I had Books as the default store page but now it displays nothing since the upgrade to the latest.

Comments

rfay’s picture

Project: Amazon Product Advertisement API » Amazon Store
Version: 6.x-1.0-rc3 » 6.x-2.1-rc2
Category: bug » support

Since you're talking about a "default store page" I'm going to assume you're talking about Amazon Store module. (changing to Amazon Store).

Please confirm what "upgrading to latest" means - what version to what version?

Please visit the settings page at admin/settings/amazon_store and check all the settings. I recommend changing from books to something else, saving, then changing back to books and saving. These settings are saved in the mysql "variable" table. Take a look there to see what's happening.

The latest Amazon Store has been out for some time now without any reports of problems.

giorgio79’s picture

Thanks Randy. Yes this is the version that you put.

The option in question is "Search index used to populate items on page with no keywords'"

I tried changing to Beauty and that worked fine.
I also succeeded in searching Beauty without keyword:
mydrupalsite.com/amazon_store?Keywords=&SearchIndex=Beauty

For Books I am not getting any results without keywords anymore like this:
mydrupalsite.com/amazon_store?Keywords=&SearchIndex=Books

Apparel did not work either, and there I also received an error message like this:


Shopping Mall
amazon_http_request failed; op=ItemSearch, parameters=Array ( [SearchIndex] => Apparel [BrowseNode] => [ResponseGroup] => BrowseNodes,Variations,ItemAttributes,Images,EditorialReview,OfferFull,Reviews,Similarities,AlternateVersions,Large,SearchBins [MerchantId] => All [Condition] => New ) .
Category:
Search For:

Any tips are appreciated. This seems like an Amazon issue though not that of the module.

rfay’s picture

Title: Default store page with SearchIndex only stopped working » "Books" SearchIndex doesn't work without keywords

Thanks for the excellent description.

I can confirm this problem on my own install.

The way this works is that when a search index is given without keywords, a data structure in locales/amazon_store.locale..inc is used to map the search index to a BrowseNode (see http://browsenodes.com). Then the "browsenode" is sent on to Amazon as the request.

What seems to be going on is that the BrowseNode for the category "Books", has been changed (or something has been screwed up in the code).

http://d6git.l/amazon_store?SearchIndex=Books&BrowseNode=1000 seems to return nothing. From http://www.browsenodes.com/node-283155.html it looks to me like they may have changed the "Books" browsenode to 283155, but that doesn't seem to work either.

The apparel issue is completely separate: #752772: Apparel searches on the Amazon API always time out.

I would appreciate it if you could experiment with http://BrowseNodes.com and the mapping entries in locales/amazon_store.locale.us.inc to see if you can figure out an entry that will work and provide a patch (http://drupal.org/project/patch). If you wouldn't mind checking the other possibilities, that would head off trouble if they've been fooling with things.

1959mvp’s picture

Category: support » bug

I can confirm I am having the same problem with the latest release.

Any progress on a solution?

Does it make sense to revert to the previous version until this is resolved?

rfay’s picture

@1959mvp, it just got reported day before yesterday :-) If you're up to it, #3 has the steps to figure it out. I won't be working on this until the next time I reserve some time for this module.

rfay’s picture

Looks like #794490: Browsenodes panel and categories panel are blank is probably the same thing.

Nolza’s picture

Yes, same thing. I've played around with some of the things outlined in #3 but no difference in results. Not sure where the problem lies because sites technology utilizing the same technique to procure their data don't seem to be having the same issue (perhaps they cache/store the data physically).

rfay’s picture

mcurry’s picture

Version: 6.x-2.1-rc2 » 6.x-2.x-dev

Subscribe. Was this ever resolved?

giorgio79’s picture

No