Support » Plugin: Amazon Link » type: Multi (template)

  • ttremain


    I trying to make a template that can handle just a simple image and text, but for 1 to 3 items. image here shows 2 items

    It took me a while, but I discovered the template needs to be a Template Type “multi”.

    From the looks of other multi templates, some JS will be needed. I’m not finding any documentation or even references to this at all.

    Any recommendations?

Viewing 2 replies - 1 through 2 (of 2 total)
  • ttremain


    I’d go ahead and delete this if I could.

    I created a multi template like this:

    <script type="text/javascript">
    amzn_assoc_placement = "adunit0";
    amzn_assoc_search_bar = "false";
    amzn_assoc_tracking_id = "%TAG%";
    amzn_assoc_ad_mode = "manual";
    amzn_assoc_ad_type = "smart";
    amzn_assoc_marketplace = "amazon";
    amzn_assoc_region = "US";
    amzn_assoc_title = "My Amazon Picks";
    amzn_assoc_linkid = "80e86bf226e6889b5bea4e1ed65d556d";
    amzn_assoc_asins = "%ASINS%";
    <script src="//"></script>

    Then blocked out a couple things the client doesn’t want, using CSS.

    Plugin Author paulstuttard


    You can put multiple ASIN’s in a shortcode and the plugin will automatically create two instances of the template.

    [amazon asin=0123456789,9876543210&template=image]

    I also did an extra plugin that allowed you to embed one template inside another one, so you could do a container template then inside expand several smaller templates. This was to create a ‘slider/carousel’ affect.

    Based on jcarousel. So the container template was something like:

    Name: Slider
    Type: Multi

    <div class="slider_container">
     <div class="jcarousel">
     <a href="#" class="jcarousel-control-prev">
      <a href="#" class="jcarousel-control-next">

    Then it contains the Slider Item:

    Name: Slider Item
    Type: Product

    <li class="al_found%FOUND%">
      <div class="slider_img">
        %LINK_OPEN%<img alt="%TITLE%" title="%TITLE%" src="%THUMB%" class="slider_img">%LINK_CLOSE%
      <div style="font-size:80%">
       %LINK_OPEN%<img src="%BUY_BUTTON%">%LINK_CLOSE%
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘type: Multi (template)’ is closed to new replies.