• Resolved yuanfamily

    (@yuanfamily)


    I tried to display list price in addition to the price for each item. I tried to modify include/DefaultTemplate.php and include/insertForm.php. Even after I update the file, i didn’t see any changes on the website. Also, can you point out the place where I need to call to retrieve the list price before display? I knew other people have asked for it and it is probably resolved already.

    Thanks! Overall this is the best Amazon plugin I saw!

    https://wordpress.org/plugins/amazon-link/

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

    (@paulstuttard)

    Hi,

    The template keyword %LIST_PRICE% should display the list price of an item.

    Go to the WordPress admin page > Amazon Link > Templates

    Choose a template to modify, e.g. Wishlist:

    Update the contents to be something like:

    <div class="al_found%FOUND%">
     <div class="amazon_prod">
      <div class="amazon_img_container">
       %LINK_OPEN%<img class="%IMAGE_CLASS%" src="%THUMB%">%LINK_CLOSE%
      </div>
      <div class="amazon_text_container">
       <p>%LINK_OPEN%%TITLE%%LINK_CLOSE%</p>
       <div class="amazon_details">
         <p>by %ARTIST% [%MANUFACTURER%]<br />
         Rank/Rating: %RANK%/%RATING_LINK%<br />
         <b>Price: <span class="amazon_price">%PRICE%</span>
    List Price: %LIST_PRICE%</b>
        </p>
       </div>
      </div>
     </div>
    </div>

    I just added the line List Price: %LIST_PRICE%.

    Then select ‘Update’.

    Then when you add a shortcode to a post or page use the new template:

    [amazon asin=0123456789&template=wishlist]

    Hope that helps!

    Paul

    Thread Starter yuanfamily

    (@yuanfamily)

    Thanks for the quick reply. That did work! I guess I was looking at the wrong inactive template files before:-). Further question, how do I display $$<amount> off and <percentage>% off after the price?

    Thread Starter yuanfamily

    (@yuanfamily)

    Also, for the wishlist template, how do I get rid of the country bar that pops up for a mouseover? Thanks a lot,

    Thread Starter yuanfamily

    (@yuanfamily)

    Thanks! The list price worked and by turning off multinational flag in settings, the mouseover popup is gone.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display Link Price for Each Item’ is closed to new replies.