Location: PHPKode > projects > Quick.Cart - free and simple to use shopping cart script > templates/default/products_default.tpl
<!-- BEGIN CONTAINER -->
<script type="text/javascript">
<!--
  var sTitle = "$aData[sName]";
  var fPrice = Math.abs( "$aData[mPrice]" );
//-->
</script>
<div id="product"><!-- IF:START TXT_SIZE -->
  <div class="tS"><div><a href="javascript:txtSize( 0 )" class="tS0">A</a></div><div><a href="javascript:txtSize( 1 )" class="tS1">A</a></div><div><a href="javascript:txtSize( 2 )" class="tS2">A</a></div></div><!-- IF:END TXT_SIZE -->
  <h1>$aData[sName]</h1>
  <h4>$aData[sPages]</h4>
  $aImages[1]<!-- here is content from IMAGES_DEFAULT or other IMAGES_xx blocks -->
  <div id="box"><!-- IF:START PRICE -->
    <div id="price"><em>$lang['Price']:</em><strong id="priceValue">$aData[sPrice]</strong><span>$config[currency_symbol]</span></div><!-- IF:END PRICE --><!-- IF:START NO-PRICE -->
    <div id="noPrice">$aData[sPrice]</div><!-- IF:END NO-PRICE --><!-- IF:START AVAILABLE -->
    <div id="available">$aData[sAvailable]</div><!-- IF:END AVAILABLE --><!-- IF:START BASKET -->
    <form action="$sBasketPage" method="post" id="addBasket">
      <fieldset>
        <input type="hidden" name="iProductAdd" value="$aData[iProduct]" />
        <input type="hidden" name="iQuantity" value="1" />
        <input type="submit" value="$lang[Basket_add]" class="submit" />
      </fieldset>
    </form><!-- IF:END BASKET -->
  </div>
  $aImages[2]<!-- here is content from IMAGES_DEFAULT or other IMAGES_xx blocks -->
  <div class="content" id="productDescription">$aData[sDescriptionFull]</div>
  $sFilesList<!-- here is content from FILES block  -->
</div>
<!-- END CONTAINER -->

<!-- BEGIN FILES -->
  <ul id="filesList"><!-- START LIST -->
    <li class="l$aData[sStyle]">
      <img src="$config[dir_files]ext/$aData[sIcon].gif" alt="ico" /><a href="$config[dir_files]$aData[sFileName]">$aData[sFileName]</a><!-- IF:START DESCRIPTION -->, <em>$aData[sDescription]</em><!-- IF:END DESCRIPTION -->
    </li><!-- END LIST -->
  </ul>
<!-- END FILES -->

<!-- BEGIN IMAGES_DEFAULT -->
  <ul class="imagesList" id="imagesList$aData[iType]"><!-- START LIST -->
    <li>
      <a href="$config[dir_files]$aData[sFileName]" class="mlbox[products]" title="$aData[sDescription]"><img src="$config[dir_files]$aData[iSizeValue2]/$aData[sFileName]" alt="$aData[sDescription]" /></a><!-- IF:START DESCRIPTION -->
      <div>$aData[sDescription]</div><!-- IF:END DESCRIPTION -->
    </li><!-- END LIST -->
  </ul>
<!-- END IMAGES_DEFAULT -->

<!-- BEGIN IMAGES_PREVIEW -->
  <script type="text/javascript">
  <!--
    var sFilesDir = "$config[dir_files]";
    var sPreviewDir = "$aDefault[iSizePreview]/";
  //-->
  </script>
  <div id="imagesList1" class="imagePreview"><a href="$config[dir_files]$aDefault[sFileName]" class="mlbox[preview]" id="previewLink" title="$aDefault[sDescription]"><img src="$config[dir_files]$aDefault[iSizePreview]/$aDefault[sFileName]" alt="$aDefault[sDescription]" id="imgPreview" /></a>
  <div id="defaultDescription">$aDefault[sDescription]</div></div>
  <ul class="imagesList" id="imagesListPreview"><!-- IF:START BLANK -->
    <li></li><!-- IF:END BLANK --><!-- START LIST -->
    <li>
      <a href="$config[dir_files]$aData[sFileName]" onmouseover="previewImage( this, '$aData[sFileName]' )" class="mlbox[preview]" title="$aData[sDescription]"><img src="$config[dir_files]$aData[iSizeValue2]/$aData[sFileName]" alt="$aData[sDescription]" /></a>
    </li><!-- END LIST -->
  </ul>
<!-- END IMAGES_PREVIEW -->
Return current item: Quick.Cart - free and simple to use shopping cart script