News:

Support the VirtueMart project and become a member

Main Menu

problem code

Started by aminoamine, April 28, 2013, 13:42:41 PM

Previous topic - Next topic

aminoamine

hi ;
i have a problem with my shop cart if you have any idea please can u help me when i click the items i see 
(Notice: Undefined index: cart in C:\wamp\www\new vente\templates\gk_yourshop\layouts\blocks\logo.php on line 49
" />)
i cant find this mistake but this the code ***

<?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']; ?>" />**************this the ligne 49
    </div>
     <?php endif; ?>

jenkinhill

As that is some |Gavick code you should ask them.   See http://forum.virtuemart.net/index.php?topic=108212.0

Notices can be disabled in Joomla. http://forum.virtuemart.net/index.php?topic=102555.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum