echo $product['title']; ?> </a> </h3> <div class="product_short"> <?php echo $product['description']; ?> </div> <div class="buy_product"> <?php if ($this->params['show_price']) { ?> <div class="product-item-price <?php if (frame::_()->getModule('products')->markAsSale($product['productID']) == true) { echo 'hot-price'; } ?> "> <?php if ($product['post']->toePriceOptExist) { lang::_e('From '); } echo $product['price']; ?> </div> <?php } ?> <?php
?> <table class="cart-content"> <thead> <tr> <td>Hình</td> <td>Tên sản phẩm</td> <td>SL</td> </tr> </thead> <?php foreach ($cart as $key => $value) { ?> <tr> <td> <?php $img = frame::_()->getModule('products')->getView()->getProductImage($value['pid']); $img = $img['thumb']; ?> <img src= "<?php echo $img['0']; ?> " style = "max-width: 30px;"> </td> <td> <?php echo $value['name']; ?> </td> <td> <?php
?> </table> </td> </tr> <?php } ?> <?php echo $this->addTotalRows; ?> <?php if (isset($this->costs['total'])) { ?> <tr class="total_table_total_wrapper"> <td class="total_table_label"><?php lang::_e('Total:'); ?> </td> <td class="total_coast"><?php echo frame::_()->getModule('currency')->display($this->costs['total']); ?> </td> </tr> <?php } ?> </table> <?php echo html::hidden('total', array('value' => frame::_()->getModule('currency')->calculate($this->total))); echo html::hidden('currency', array('value' => frame::_()->getModule('currency')->getDefaultCode()));
?> "><?php echo html::img($imgSrc, false); ?> </a> <?php } else { echo ' '; } ?> </td> <td style="vertical-align: top;"> <h1 class="toeCategoryListTitle"> <a href="<?php echo frame::_()->getModule('products')->getLinkToCategory($c, $c->slug); ?> "><?php echo $c->name; ?> </a> </h1> <div class="toeCategoryListDescription"><?php echo nl2br($c->description); ?> </div> </td> </tr> <?php } ?>
?> <div class="sp_todo"> <div class="fleft"> <input type="button" value="<?php lang::_e('Clear Cart'); ?> " onclick="toeClearCart({reload: true}); return false;" /> <div class="toeCartMsg"></div> </div> <div class="fright"> <a href="<?php bloginfo('url'); ?> " class="arrow_grey_btn"><?php lang::_e('<< Continue shopping'); ?> </a> <a class="tcf_submit" href="<?php echo frame::_()->getModule('pages')->getLink(array('mod' => 'checkout', 'action' => 'getAllHtml')); ?> "><?php lang::_e('Proceed to Checkout'); ?> </a> <div class="clear"></div> </div> <div class="clr"></div> </div> <?php }
function ready_ecommerce_sort() { if (class_exists('frame') && frame::_()->getModule('pagination')) { frame::_()->getModule('pagination')->getView()->display(array('nav_id' => 'nav-below', 'show' => array('navigation', 'perPage', 'ordering'))); } }
continue; } ?> <tr> <td><?php lang::_e($d->label); ?> </td> <td> <?php echo $d->displayValue(); $showUnits = ''; if (in_array($d->name, array('weight'))) { $showUnits = frame::_()->getModule('options')->get('weight_units'); } elseif (in_array($d->name, array('width', 'height', 'length'))) { $showUnits = frame::_()->getModule('options')->get('size_units'); } if (!empty($showUnits)) { echo ' (' . $showUnits . ')'; } ?> </td> </tr> <?php } ?> <?php foreach ($this->pExtra as $d) { ?> <tr> <td><?php
<?php if (isset($this->oldPrice)) { ?> <span class="oldPrice"><s><?php echo frame::_()->getModule('currency')->display($this->oldPrice); ?> </s></span> <?php } ?> <span class="newPrice"> <?php if ($this->showFromPriceLabel) { ?> <?php lang::_e('From'); ?> <?php } ?> <?php echo frame::_()->getModule('currency')->display($this->price); ?> </span>
?> " class="signout"><?php echo lang::_e('Đăng xuất'); ?> </a></span></p> <?php } else { ?> <p><span class="dotted"><a href="<?php echo frame::_()->getModule('pages')->getLink(array('mod' => 'user', 'action' => 'getLoginForm')); ?> "><?php echo lang::_e('Đăng nhập'); ?> </a></span> / <span class="dotted"><a href="<?php echo frame::_()->getModule('pages')->getLink(array('mod' => 'user', 'action' => 'getRegisterForm')); ?> " class="signout"><?php echo lang::_e('Đăng ký'); ?> </a></span></p> <?php } ?> <?php get_search_form(); ?> </div> <div class="clr"></div> </hgroup>