Beispiel #1
0
    ?>
</th>
                </tr>
            </thead>
            <tbody>
            <?php 
    $i = 0;
    $k = 0;
    $subtotal = 0;
    ?>
            <?php 
    foreach ($items as $item) {
        ?>

            	<?php 
        $link = K2StoreItem::getK2Link($item->product_id);
        $link = JRoute::_($link);
        $image_path = K2StoreItem::getK2Image($item->product_id, $this->params);
        ?>

                <tr class="row<?php 
        echo $k;
        ?>
">
                	<td>
                   <?php 
        if ($this->params->get('show_thumb_cart')) {
            ?>
                    <span class="pull-left k2store-cart-item-image">
                        <?php 
            if (!empty($image_path)) {
Beispiel #2
0
            echo $image_path;
            ?>
" class="itemImg<?php 
            echo $this->params->get('cartimage_size', 'small');
            ?>
" />
                        <?php 
        }
        ?>
                    </td>
                 <?php 
    }
    ?>
				<td><a
					href="<?php 
    echo JRoute::_(K2StoreItem::getK2Link($item->product_id));
    ?>
">
						<?php 
    echo JText::_($item->orderitem_name);
    ?>
 </a> <br />

					 	<!-- start of orderitem attributes -->

						<!-- backward compatibility -->
						<?php 
    if (!K2StoreOrdersHelper::isJSON(stripslashes($item->orderitem_attribute_names))) {
        ?>

							<?php