Hi,
The plugin retrieves the offers / list price using the Advertising API, it is possible to change which items it chooses to populate the various keywords but sometimes the prices in the API do not match those displayed on Amazon’s site.
One thing you might try is changing the ‘Condition’ option, but I think this just changes the offer prices.
Try playing with the Amazon Advertising Scratchpad to see what the API is returning:
http://associates-amazon.s3.amazonaws.com/scratchpad/index.html
Hope this helps!
Paul
Hi Paul,
I set up a test page at http://www.camblog.de/test-fur-d/
Somehow the simpleadmin plugin returns the correct price.
It happens with both ASINS: B002MEGATM and B0037FLUYU.
On your suggestion I tried the scratchpad.
I couldn´t find the value returned by %LIST-PRICE%, but I found another value:
<AmountSaved><Amount>1508</Amount><CurrencyCode>EUR</CurrencyCode><FormattedPrice>EUR 15,08</FormattedPrice></AmountSaved>
Now, if you subtract <AmountSaved> from %LIST-PRICE%, you´d get the price which is shown at the amazon page…
BTW, the value for %OFFER-PRICE% is returned correctly, I can also find it in the scratchpad. Just the regular price is elusive.
Thanks, Hendrik
Hi,
I could provide an enhancement to generate the ‘Amazon Price’ using the List price and ‘Amount Saved’.
Another method used by other plugins is to scrape extra information from the Amazon Web pages (I have another enhancement to grab the ratings/review info.) I could extend this to grab the ‘real amazon price’.
Paul
That would be awesome! It´s your decision, which method you want to use…
Hi,
Had a go, excuse my translations!
Download it from here: http://bit.ly/1cWqeIi (valid till 10th Dec).
WARNING: It might be in breach of the Amazon Terms of Service to use a price other than the one returned in the API, use at your own risk!!!
Adds/Updates the following new keywords:
%LATEST_PRICE% - Price scraped from the details page
%RATING% - Rating out of 5 e.g. 4.7
%RATING_IMG% - URL of local star image file e.g. images/star_4_5.png
%REVIEWS% - Number of reviews 1.345
%FREE% - 'Free' indicator 1=price is free, 0 otherwise
%PRICE% - one of: LATEST_PRICE, OFFER_PRICE or LIST_PRICE in order of preference.
%RATING_LINK% - localised template: e.g. %RLINK_OPEN%****1/2 stars (1.345 reviews)%LINK_CLOSE%
Give it a try,
Paul
Hi Paul,
thank you very much! Unfortunately it doesn´t work so far.
In which folder do I actually put the php file? I tried both “extras” and “include”, but if I modify the template, the new keywords are outputted as text, eg latest price:%LATEST_PRICE%
Hi,
Just put it in the normal wp-contents/plugins folder and activate it as you would any other plugin. If it works then it should also survive any upgrades to the main plugin.
Paul
Just wanted to give you a feedback – it works!
Thank you, Hendrik
Brilliant,
Thanks for letting me know,
Paul