Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
ShoppingCartWidget.php
1 <?php
2 /**
3  * Gentics Portal.Node PHP
4  * Author & Copyright (c) by Gentics Software GmbH
5  * sales@gentics.com
6  * http://www.gentics.com
7  * Licenses can be found in the LICENSE.txt file in the root-folder of this installation
8  * You must not use this software without a valid license agreement.
9  *
10  */
11 ?>
12 
13 <div class='<?php echo $this->class ?>'>
14 
15  <h1> <?php echo ShoppingcartModule::t('Cart'); ?> </h1>
16 
17  <div class='<?php echo "step_".$this->step; ?>' >
18 
19  <div class="form">
20 
21  <?php if(count(Order::getOrder()->items) < 1):
22  echo ShoppingcartModule::t('No items available');
23  return;
24  endif;
25  ?>
26 
27  <?php $this->widget('shoppingcart.widgets.ShoppingCartNavigateWidget',array('stepsCount'=>4,'step'=>$this->step)); ?>
28  <?php echo $content; ?>
29 
30  </div>
31 
32  </div><!-- step -->
33 
34 </div><!-- shoppingcart -->