echo JText::_('COM_DATSOGALLERY_BASKET_ITEMS'); ?> <span id="items"><?php countItems(); ?> </span> <?php echo dgTip(JText::_('COM_DATSOGALLERY_CHECKOUT'), $image = 'basket_go.png', '', JRoute::_('index.php?option=com_datsogallery&task=checkout' . $itemid), '', $link = 1); ?> <div style="float: right"><?php echo JText::_('COM_DATSOGALLERY_BASKET_SUBTOTAL'); ?> : <?php echo currencySymbol($ad_pp_currency); ?> <span id="subtotal"><?php echo subTotal(); ?> </span></div></div> <div id="dg_body_background_basket" class="dg_slider"<?php echo checkBasket(); ?> > <?php echo showBasket(); ?> </div> <?php } } if ($ad_showcomment) { $cmtip = getIpAddress();
?> </span></br> <h2>Your items</h2> <?php if ($cartItems) { ?> <ul> <?php foreach ($cartItems as $cartItem) { ?> <li> <?php $subtotal = subTotal($cartItem['price'], $cartItem['qty']); ?> <span class="product-wrapper"> <span class="cart-name"><?php echo $cartItem['name']; ?> </span> <img src="image/<?php echo $cartItem['image']; ?> "/> <span class="cart-price">PRICE : <?php echo $cartItem['price']; ?> </span> <span class="cart-qty">QTY : <?php
require_once JPATH_COMPONENT . DS . 'includes' . DS . 'datso.checkout.php'; break; case "uploading": require_once JPATH_COMPONENT . DS . 'includes' . DS . 'datso.upload.php'; break; case 'download': DatsoDownload($id, $catid); break; case 'addtobasket': addToBasket(); break; case 'showbasket': showBasket(); break; case 'subtotal': subTotal(); break; case 'total': total(); break; case 'updateitems': countItems(); break; case 'complete': echo $app->enqueueMessage(JText::_('COM_DATSOGALLERY_MSG_AFTER_SUCCESS_PURCHASE')); GalleryHeader(); echo dgCategories($catid); GalleryFooter(); break; case 'cancel': echo $app->enqueueMessage(JText::_('COM_DATSOGALLERY_MSG_AFTER_CANCELED_ORDER'));
<div class="row"> <a href="home"> <img src="Images/logo.png" id="home-era-img"> </a> </div> <div class="row" id="orderDetails"> <div class="col-sm-6"> <p id="shippingTo">SHIPPING TO:</p> <?php shippingAddress($uid); ?> </div> <div class="col-sm-6"> <p id="orderSummary">ORDER SUMMARY:</p> <?php subTotal($uid); ?> </div> </div> <div class="row" id="paymentMethod"> <form method="post" action = " "> <p>SELECT PAYMENT METHOD:</p> <div class="checkbox"> <label> <input type="checkbox"> <a href="http://www.credit-card-logos.com"><img alt="" title="" src="http://www.credit-card-logos.com/images/visa_credit-card-logos/visa_logo_3.gif" width="35" height="22" border="0" /></a> </label> <label> <input type="checkbox"> <a href="http://www.credit-card-logos.com"><img alt="" title="" src="http://www.credit-card-logos.com/images/mastercard_credit-card-logos/mastercard_logo_3.gif"