• Hi,

    I’ve been using a custom template with this plugin for a while…recently instead of displaying the imported product info for some of the fields, I’m just getting the word “Array” instead of the author name and description.

    I haven’t made any changes to my template:

    <div class=”asa_product_box” style=”border-bottom: 1px solid #000; padding: 5px; margin-bottom: 15px; background: url({$AmazonLogoSmallUrl}) right bottom no-repeat #ffffff;”>
    <div style=”width: {$SmallImageWidth}px; float: left; margin-right: 5px;”>

    </div>
    <div>
    <p>{$Title} ({$Binding})<br />
    <span style=”font-size: 0.8em;”>by {$Author}</span></p>
    <p>{$ProductDescription}</p>
    <p>Price: <span style=”color: #990000; font-weight: bold;”>{$AmazonPriceFormatted}</span><br />
    {$TotalOffers} used & new available from <span style=”color: #990000; font-weight: bold;”>{$LowestOfferFormattedPrice}</span><br />
    {$RatingStars} ({$TotalReviews} customer reviews)</p>
    </div>
    <div style=”clear: both;”></div>
    </div>

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Timo

    (@worschtebrot)

    Hi Rick,

    thank you for your request. Do you use PA API 4 or 5? With the new version the behavior of some placeholders has changed. Author should still work as before. If you are using version 5, you can temporarily switch back to 4 (supported until February 11th) and I will check if there is a problem with version 5 and the Author placeholder.

    Thread Starter rickpoet

    (@rickpoet)

    Hi,

    Thanks for the quick reply. I had been using PA 5.0. I just switched to 4.0 per your direction and it looks exactly as it should now with the author name and book description below it.

    Screenshots of what I’m seeing

    A product with PA 4.0: https://www.dropbox.com/s/tsxgf31onk7du0o/Screenshot%202019-12-10%2014.26.37.png?dl=0

    A product with PA 5.0: https://www.dropbox.com/s/6we3yscntm2e0ga/Screenshot%202019-12-10%2014.26.17.png?dl=0

    4.0 includes author’s name and description.

    Thank you!

    Plugin Author Timo

    (@worschtebrot)

    Ok, thanks. I’ll check this an provide a fix for with the next update.

    Thread Starter rickpoet

    (@rickpoet)

    Thanks Timo!

    Thread Starter rickpoet

    (@rickpoet)

    Hi Timo,

    Checking in on this. I just received an email from Amazon reminding me that I have to upgrade to API v5.0 by March 9th. I’ve currently got API 4.0 selected per your tip earlier in this thread.

    Thanks!

    Rick

    Plugin Author Timo

    (@worschtebrot)

    Hi Rick,

    thanks for your feedback. ASA will support the PA API 5.0 as good as possible. If you are interested in the product description, the PA API 5.0 is still not delivering it at this time. So I can’t do anything about that and just hope that Amazon will support all values with the new API until the old one is turned off.

    Regarding the availability of updates, the paid version ASA2 (https://getasa2.com/) will always have priority.

    Thread Starter rickpoet

    (@rickpoet)

    My confusion, I thought you said earlier in this thread you were going to make an adjustment to the next update that would fix the tag that wasn’t working.

    Plugin Author Timo

    (@worschtebrot)

    That fix came already with version 1.4.5:

    * Added: PA API 5.0 support for book placeholders {{ Author }}, {{ AuthorArray }}, {{ AuthorHtmlList }}, {{ NumberOfPages }}, {{ ISBN }}, {{ Edition }}

    The issue with your template and placeholder {$ProductDescription} is, that it is currently not supported by Amazon with the new PA API 5.0. I hope they will until March 9, 2020. ??

    Thread Starter rickpoet

    (@rickpoet)

    Ok also the author doesn’t work when I switched to 5.0. Did Amazon simply stop supporting these short codes? I’m confused why this is working when I have API 4.0 selected but it no longer works with 5.0.

    Plugin Author Timo

    (@worschtebrot)

    You were right, there was a bug with placeholder {$Author} with PA API 5.0. This has been fixed in version 1.4.7, which has been released recently. ??

    Thread Starter rickpoet

    (@rickpoet)

    Thanks. That updated did fix the author field.

    Any workaround for the product description? This still works with API 4.0.

    Plugin Author Timo

    (@worschtebrot)

    Cool (author)!

    Unfortunately for PA API 5 there is currently no workaround for the product description, because it does not support this value yet. You can check this page: https://webservices.amazon.com/paapi5/documentation/migration-guide/pa-api-40-to-50-mapping.html

    Search this page for “EditorialReview”. It says: “Check back later for updates!” Well, I’ve been doing that for weeks and nothing changes…

    Thread Starter rickpoet

    (@rickpoet)

    Thanks for checking. Fingers crossed…let me know here if it changes and if I need to update my template to accommodate a different placeholder if one comes along.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Template stopped working correctly’ is closed to new replies.