How to show custom module on position "cart".

Ecommerce design Joomla template to start your online business with VirtueMart and additional eshop features.
GK User
Sun Jun 23, 2013 1:35 am
Hello,

How to show custom module on position "cart".
http://demo.gavick.com/joomla25/yoursho ... -positions

Thanks in advance.
User avatar
Fresh Boarder

GK User
Sun Jun 23, 2013 8:02 am
Hi,
it not so easy - this module is inside php, check this out: /template/gk_yourshop/layouts/blocks/logo.php

there you'll see
Code: Select all
   <?php if($this->modules('cart')): ?>
    <div id="gkCartBtn">
      <h2><?php echo JText::_('TPL_GK_LANG_CART'); ?></h2>
       <div id="gkItems">
          [ <strong>0</strong> ] <?php echo JText::_('TPL_GK_LANG_ITEMS'); ?>
       </div>
          <a href="index.php?option=com_virtuemart&view=cart" class="button"><?php echo JText::_('TPL_GK_LANG_GO_TO_CHECKOUT'); ?></a>
    </div>
    <div id="gkCart">
      <jdoc:include type="modules" name="cart" style="<?php echo $this->module_styles['cart']; ?>" />
    </div>


...But why don't you use "lang" position ? it's below the "cart" position.
User avatar
Platinum Boarder


cron