• Resolved tgl14

    (@tgl14)


    I’d like to set up a template to just show the “live data” price for an Amazon product–without any clickable links or images. I’ve tried to figure it out on my own, but haven’t had any luck. How can I set up a template to just show the live updated product price?

    Thank you for your help!

    https://www.ads-software.com/plugins/amazon-link/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author paulstuttard

    (@paulstuttard)

    Hi,

    Simply create a template with an appropriate name – lets say ‘price’.

    Then in the content of the template just have the single keyword: %PRICE%.

    Then in a post where you want to display the items price add the shortcode:

    [amazon asin=B001KN954S&template=price]

    For the plugin to retrieve the price you will also need to ensure you have a validated set of AWS keys and have enabled the ‘live data’ option in the settings.

    Hope that helps,

    Paul

    Thread Starter tgl14

    (@tgl14)

    Thank you for your help, Paul! With some posts it looks like that worked perfectly. With others, I’m just seeing a – instead of the price. Is that an issue on the Amazon side?

    Plugin Author paulstuttard

    (@paulstuttard)

    Hi,

    Yes unfortunately the Amazon AWS service is a bit iffy when it comes to returning the price of items.

    Some issues are:

    * Kindle Items simply don’t return a price
    * A lot of items will only return a ‘list price’ i.e. RRP not the actual price it is selling for.
    * There is no way to get the postage costs, so lowest new/lowest old price may be $0.01 but the total price is substantially higher.

    I cobbled together an enhancement to grab the ‘large price’ off the product details page. Basically searches through the page source looking for the price.

    Issues with this are:

    * If Amazon change the Product details page, it fails to find the price (Amazon.com have recently done this so it fails for US prices).

    * Its probably breaking some service agreement with Amazon to get the price in this way.

    * Its much much slower, as it has to retrieve the whole Product Details page for every item.

    If you are interested I could send you a link.

    A useful tool to see what data Amazon is actually returning through the API is the Amazon Product Advertising Scratchpad: https://associates-amazon.s3.amazonaws.com/scratchpad/index.html

    Cheers,

    Paul

    Thread Starter tgl14

    (@tgl14)

    Since my site is 100% working with US Amazon.com prices, I will probably wait before trying to set up any kind of enhancement. Other than the occasional – everything is working now. Thanks so much for all your help — and your patience with these very basic questions ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Template to just display price’ is closed to new replies.