A query using amazon_store/item (like amazon_store/item/0374531382) ignores the "Default Merchant ID for Searches" setting at admin/config/amazon_settings/amazon_store. It behaves as if the Merchant ID setting is 'All', regardless of what it actually is. You may have to clear the two amazon_store cache tables to be sure.
But the amazon_store/item call does create a cache entry in cache_amazon_store. This can lead to confusing and inconsistent results.
Say an amazon_store/item query is performed (ignoring the merchant setting) before a search query using amazon_store?Keywords= query is performed. /item query fills the cache with an entry which may not be consistent (wrt the Merchant ID choice) of the search query.
seems like a bug to me, and a item query should honor the Merchant ID setting.
Thanks.
Comments
Comment #1
willvincent commentedPerhaps I'm missing something, but I don't see a setting on the config page to specify a merchant ID to use as default. I see radio buttons for 'Amazon' and 'All'. The description there is somewhat misleading, as it says "You may search for items sold by Amazon or you can exclude Amazon." But that's not accurate, it's search either just items sold directly by amazon, or search all merchants, including amazon.
It appears that in the case of multiple vendors, there is only ever one option selected. Perhaps this is a change to the Amazon API response.. never used this module in the past.
Anyway, I'm marking this needs more info
Comment #2
willvincent commentedSee #1257714: Remove support for Merchants in Amazon Store