On some items, such as ASIN B000S0Z17E, the only Merchant selection is "Make other selections first", which will not allow adding to cart.

Item on Amazon.com is http://www.amazon.com/Aluminum-Poster-Frame-Black-2818x24-22-29/dp/B000S...

Comments

rfay’s picture

Status: Active » Postponed (maintainer needs more info)

I don't see this on the US locale - I'm getting "Target.com/ITC" as the vendor, and can add to cart just fine. I just tried it on two sites. A public one, running a little older version of the module, is at http://alonovo.com/amazon_store/item/B000S0Z17E.

Questions: Are you using another locale than US?
Are you running cron so that old cached searches can be cleared out?

Thanks,
-Randy

nyo01’s picture

I see the same thing happening at the demo site http://alonovo.com/amazon_store
It is also happening on my site at http://www.3dtvreviewers.com/amazon_store
Its really bad if you cant actually purchase the items amazon store displays.

nyo01’s picture

Priority: Normal » Critical
rfay’s picture

Priority: Critical » Normal

@nyo01, unless you can provide an ASIN that demonstrates this problem, it will never be addressed. It remains "Postponed".

nyo01’s picture

http://alonovo.com/amazon_store/item/B00127QACM
http://alonovo.com/amazon_store/item/B001FWXR3Y

When you click "add to cart" it returns "Please choose a merchant"
The merchant drop down only says "Make other selections first" so there is nothing to select.

rfay’s picture

Now that gives me something to work with. Thanks!

Please let me know what version of Amazon Store you're working with, and what locale you're using (US)?, and please try the dev version.

With the dev version (using the US locale) when I visit /amazon_store/item/B001FWXR3Y
or
/amazon_store/item/B00127QACM

I get a page with legitimate vendors.

So the list of questions:

1. What locale are you using?
2. What version of Amazon Store?
3. What version of Amazon?
4. Have you tried the dev of Amazon Store?
5. Are you running cron, so the selections get updated? Or is it possible that you have selections from months ago?
6. Please take a look at the error log, admin/reports/dblog and see if anything gets reported there.

I should mention that I'm not in control of the demonstration site - it's a site maintained by a former customer which is quite out of date.

Thanks,
-Randy

slithy’s picture

Version: 6.x-2.0-alpha1 » 6.x-2.x-dev

I'm also experiencing this problem. I tried with 6.x-2.1-rc2 and 6.x-2.x-dev, same problem with both. Locale is UK. cron is running.

Books and DVDs seem to display normally, but MP3s show as "make other selections first" and can't be purchased. ASINs in this case are B001HC95RY and B0023TKYAC.

dblog reports, "Amazon error returned. Code=AWS.InvalidParameterValue}, Message=B0023TKYAC is not a valid value for ItemId."

rfay’s picture

Downloadables can never be purchased via the Amazon API... So MP3's and such will not work.

slithy’s picture

Ah, OK, makes sense -- thanks! So it's not a bug, it's a feature.

rfay’s picture

I wouldn't call it a feature :-) But it's a fact that if Amazon does not provide the ability to do the download or purchase using their API, there's nothing we can do in this module.

michaels-musings.com’s picture

Version: 6.x-2.x-dev » 6.x-2.2
Priority: Normal » Critical
Status: Postponed (maintainer needs more info) » Active

'Eh, this is annoying, and it's definitely related to amazon or amazon store.

FUBAR:
http://michaels-musings.com/amazon_store/item/B001LF39V0

Works:
http://michaels-musings.com/aws/apf4.cgi?Operation=ItemLookup&ItemId=B00...

Same product, same exact setting, different software. Not limited to a singular product, if you hit my store http://michaels-musings.com/amazon_store you'll see about half the items blow up.

(I'm trying to convert from MrRat's to yours, but it's not going well.)

Settings:
Amazon locale: US
Amazon referral settings: Use your own associate ID

My guess is the item lookup in amazon itself is wonk'ed?

I'll give you whatever other other info you need to fix this.

Michael

OT(sorta):
How do you link an amazon item to the shopping cart?
I want this [amazon B001LF39V0 inline] in a page to go to, http://michaels-musings.com/amazon_store/item/B001LF39V0 and NOT http://www.amazon.com/Carlson-Vitamin-5mg-60-Capsules/dp/B001LF39V0%3FSu...

rfay’s picture

I suspect you're not running cron on your site, so the information downloaded is not up-to-date. I tried the item you referenced, amazon_store/item/B001LF39V0, and it worked fine and offered merchants.

You will notice that this item is not sold by Amazon itself, but rather by other merchants, so it's possible (although I tried and could not recreate it) that you are set to "Search amazon" rather than "Search all merchants" in your amazon store settings.

On your Amazon configuration, you'll probably want to use more sophisticated filters:

<a href="/amazon_store/B001LF39V0">[amazon B001LF39V0 whatever]</a>

Alternately, this is just a theming thing, so add a tpl.php to override the theming for "inline" so that it goes to Amazon Store.

michaels-musings.com’s picture

Hi Randy,

Yup, have cron, runs every hour. And I just installed amazon today, so there shouldn't be a cache issue anyway.

I'll dump my entire settings...

** Amazon Store Settings
Store name: Amazon Store
Path to store: amazon_store

{check} Display search form
{check} Display "narrow by" form
{check} Display sort form
{check} Display category selection pulldown

Default Merchant ID for search: All
Default search index selection on amazon_store page: Health/Personal Care
Default items for amazon_store page if no search has been done (no keywords present): A list of Amazon ASINs specified below

Search index used to populate items on page with no keywords: Health/Personal Care

Default Browsenode ID: {blank}
Default Item List: B001LF39V0,B000X843VG,B000I4AIUA,B000JN4G7Q,B002J0PDZG

Refresh schedule: 12 hours
Categories to include in search box: {default selections}

** Amazon API
Amazon locale: United States
Amazon referral settings: Use your own associate ID

============
Lets see, I've also tried with two versions of Firefox and one version of Opera, so probably not a browser issue either.

And in further noodling derived from your comments, I did narrow it down to the setting, "Default items for amazon_store page if no search has been done (no keywords present):"

If set to "A list of Amazon ASINs specified below" if barfs on anything not already cached that isn't directly from Amazon. If set to "SearchIndex Only," ASINs are then retrieved completely. (Doesn't matter if "Default search index selection on amazon_store page:" is set to "ALL" or "Health/Personal Care." Also, B001LF39V0 is in the "Health & Personal Care" department, so swagging "Search index used to populate items on page with no keywords:" not having an "All" selection isn't the problem either.)

I do want to be able to use the "Default Item List:" as otherwise I'm stuck with "Pampers Sensitive Baby Wipes" being top of the default list...

Hopefully this will jog lose a memory, and back to you,
Michael

PS: Thanks for the tidbit on options for changing inline. I'll post whatever I do, so you can incorporate it as desired in a later release.

csc4’s picture

I just had this - in my case the product is unavailable http://www.amazon.co.uk/Focus-Multimedia-Ltd-1615355211-Encyclopedia/dp/...

but the module doesn't seem to be handling that?

csc4’s picture

Think this is connected with

[Offers] => SimpleXMLElement Object
        (
            [TotalOffers] => 0
            [TotalOfferPages] => 0
            [MoreOffersUrl] => 0
        )

which seems contradictory when looking at the OfferSummary for ASIN 1884910394 where TotalNew and TotalUsed clearly not 0:

[OfferSummary] => SimpleXMLElement Object
        (
            [LowestNewPrice] => SimpleXMLElement Object
                (
                    [Amount] => 482
                    [CurrencyCode] => GBP
                    [FormattedPrice] => £4.82
                )

            [LowestUsedPrice] => SimpleXMLElement Object
                (
                    [Amount] => 1
                    [CurrencyCode] => GBP
                    [FormattedPrice] => £0.01
                )

            [TotalNew] => 9
            [TotalUsed] => 35
            [TotalCollectible] => 0
            [TotalRefurbished] => 0
        )

    [Offers] => SimpleXMLElement Object
        (
            [TotalOffers] => 0
            [TotalOfferPages] => 0
            [MoreOffersUrl] => 0
        )

Also noted that it doesn't seem to return an Amazon Price... could we trap for TotalOffers 0 and offer the Offers URL or some other means of completing the transaction?