Discussion:
[Mtamazon] Disappearing Prices Amazon bug
m***@MontyandJune.com
2004-10-19 06:36:03 UTC
Permalink
I have the same problem. Amazon Sale Prices are gone. All items show as
unavailable. Here's some of the XML returned, and a sample of code that I
use. Any iedas?

<Availability>This item is currently not available.</Availability>
<ListPrice>$14.00</ListPrice>
<UsedPrice>$3.39</UsedPrice>

<MTAmazon method="Asin" search="B00008YGOG"><a title="Amazon.com &raquo;
<MTAmazonCatalog> &raquo; <MTAmazonTitle>" href="<MTAmazonLink
encode_html="1">/ref=nosim/"><img src="<MTAmazonMediumImage>" align="left"
border="0" alt="<MTAmazonTitle> <MTAmazonCatalog> cover" /><MTAmazonTitle>
(DVD)</a><br /><br />DVD Released: <MTAmazonReleaseDate><br />List price:
<strike><MTAmazonListPrice></strike><br />Amazon price:
<MTAmazonSalePrice><br /><br clear="all" />

Thanks,
Monty
***@montyandjune.com

-----Original Message-----
From: mtamazon-users-***@lists.sourceforge.net
[mailto:mtamazon-users-***@lists.sourceforge.net] On Behalf Of
***@yahoo.com
Sent: Wednesday, September 22, 2004 10:32 PM
To: mtamazon-***@lists.sourceforge.net
Subject: [Mtamazon] Disappearing Prices Amazon bug


In the past few days, prices have disappeared from all MTAmazon listings
from our web site. Rebuilding and/or deleting cache files does not correct
the problem. Other information (such as item name, artist/author,
thumbnails, etc.) are still displayed.

Looking at the AWS XML cache reveals the problem. For some reason, Amazon is
returning an "Item not in stock" message for ALL items requested by
MTAmazon. (Comparing items at Amazon.com shows them to be in stock, hence
the feed result is wrong.)

This means that Amazon isn't returning an Our Price ("Sale Price") result
for all items, because the items are listed as not available, hence the
disappearing prices. List Price and Used Price are still displayed, since
they appear even if an item is out of stock.

I've posted several messages about this at the Amazon Discussion boards, but
haven't heard anything back about the problem -- this glitch has been going
on for a few days now.

Someone suggested it may be the plug-in/script isn't handling the new
"<Availability>" XML result properly, which is causing the problem. Does
anyone know of MTAmazon handles the <Availablily> variable correctly or have
any ideas if this is a problem with the MTAmazon plug-in or Amazon's end?





-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project
Admins to receive an Apple iPod Mini FREE for your judgement on who ports
your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
Adam Kalsey
2004-10-19 15:18:43 UTC
Permalink
Post by m***@MontyandJune.com
I have the same problem. Amazon Sale Prices are gone. All items show as
unavailable. Here's some of the XML returned, and a sample of code that
Amazon broke the feed that MTAmazon uses. They are aware of it, but I
have no idea if they plan on fixing it. You can switch to a different
source URL for the feed and that should work. Open MTAMazon.pm and find
where it says xml2 and change this to xml3 then save it and upload it.
--
..............................................................
Adam Kalsey 916.600.2497
***@kalsey.com aim: KalseyGroup
http://kalsey.com/ icq: 137208951
..............................................................

Buy Cub Scout popcorn from my kids http://popcorn.kalsey.com/
Hurry, sales end Oct 15

BlogSnob - Promote your blog http://blogsnob.simpleads.net/
Zempt - Simple Movable Type publishing http://zempt.com/
m***@MontyandJune.com
2004-10-19 15:55:59 UTC
Permalink
Fantastic! What a simple fix. Worked great, too. MTAmazon is a great
product.

Congrats on your new CTO job at Pheedo!

-- Monty

-----Original Message-----
From: mtamazon-users-***@lists.sourceforge.net
[mailto:mtamazon-users-***@lists.sourceforge.net] On Behalf Of Adam Kalsey
Sent: Tuesday, October 19, 2004 8:19 AM
To: mtamazon-***@lists.sourceforge.net
Subject: Re: [Mtamazon] Disappearing Prices Amazon bug
Post by m***@MontyandJune.com
I have the same problem. Amazon Sale Prices are gone. All items show as
unavailable. Here's some of the XML returned, and a sample of code that
Amazon broke the feed that MTAmazon uses. They are aware of it, but I
have no idea if they plan on fixing it. You can switch to a different
source URL for the feed and that should work. Open MTAMazon.pm and find
where it says xml2 and change this to xml3 then save it and upload it.
--
..............................................................
Adam Kalsey 916.600.2497
***@kalsey.com aim: KalseyGroup
http://kalsey.com/ icq: 137208951
..............................................................

Buy Cub Scout popcorn from my kids http://popcorn.kalsey.com/
Hurry, sales end Oct 15

BlogSnob - Promote your blog http://blogsnob.simpleads.net/
Zempt - Simple Movable Type publishing http://zempt.com/



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use
IT products in your business? Tell us what you think of them. Give us Your
Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
j***@yahoo.com
2004-10-19 17:13:24 UTC
Permalink
Post by m***@MontyandJune.com
I have the same problem. Amazon Sale Prices are gone. All items show
as
unavailable. Here's some of the XML returned, and a sample of code
that I
use. Any iedas?
Here is the "fix" that worked for me:

On or near line 368 of the MTAmazon.pm file I changed this:

my $url = "http://xml.amazon.com/onca/xml2?t=$associateid&" .

to this:

my $url = "http://xml.amazon.com/onca/xml3?t=$associateid&" .

(Please note the above codes may have been distorted by your email
client: in other words, "xml2" in the url becomes "xml3")

and it seems to be working in the MTAmazon plug-in.

As always, your mileage may vary.

Loading...