Want more features on Pastebin? Sign Up, it's FREE!
Guest

eshop_cart_items.phtml

By: a guest on Dec 8th, 2010  |  syntax: PHP  |  size: 0.77 KB  |  views: 1,083  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. /**
  3.  * eshop Cart Items Template
  4.  * @author J.A.Cobo aka Covi
  5.  */
  6. // # Dump html:
  7. echo $before;
  8. ?>
  9. <div id="eshopCartItems">
  10.         <?php if ( !empty($tplItems) ) : ?>
  11.         <ul class="eshopCartItems">
  12.                 <?php foreach ( $tplItems as $item ) : ?>
  13.                 <li><?php echo $item; ?></li>
  14.                 <?php endforeach; ?>
  15.         </ul>
  16.         <?php endif; ?>
  17.  
  18.         <?php if ( !empty($tplProducts) ) : ?>
  19.         <ul class="eshopCartProducts">
  20.                 <?php foreach ( $tplProducts as $product ) : ?>
  21.                 <li><?php echo $product; ?></li>
  22.                 <?php endforeach; ?>
  23.  
  24.         </ul>
  25.         <?php endif; ?>
  26.  
  27.         <?php if ( !empty($tplOptions) ) : ?>
  28.         <ul class="eshopCartOptions">
  29.                 <?php foreach ( $tplOptions as $option ) : ?>
  30.                 <li><?php echo $option; ?></li>
  31.                 <?php endforeach; ?>
  32.         </ul>
  33.         <?php endif; ?>
  34. </div>
  35. <?php echo $after; ?>
clone this paste RAW Paste Data