• Hi,

    I created the following template:
    —–
    <div class=”amazon_details”>
    <p>
    <b>List price: <span class=”amazon_list_price”>%LIST_PRICE%</span></b>
    <b>Price: <span class=”amazon_price”>%PRICE%</span></b>
    </p>
    </div>
    —–
    and the preview on the template editing page shows correctly. However when I put the following in a post:
    [amazon asin=1841498955&template=price&live=1]

    in the post I get the text “Amazon” linked to Amazon, instead of the static pricing text that shows up in the preview. What am I doing wrong?

    Thank you!

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

Viewing 1 replies (of 1 total)
  • Thread Starter mhs0

    (@mhs0)

    Never mind, I figured it out – it was a template string mismatch, and I guess it defaults to the link.

    BTW, for those who are interested, separately I realized that offer_price and price don’t include sales price (SalesPrice), so I added it in at the top of the position string: array(‘Offers’,’Offer’,’OfferListing’,’SalePrice’,’FormattedPrice’)

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Template is not working as expected’ is closed to new replies.