Hello, I would like to disable the script that loads the cart module.
I would like to use the Cart position as a normal module position without the cart animation.
Could you please tell me where and how to edit it?
Thanks in advanced!
<?php if($this->API->modules('cart')) : ?>
<div id="gkCart">
<span id="gkCartCounter"><?php echo JText::_('GK_TPL_LOADING'); ?></span><i class="gk-icon-cart-add"></i>
</div>
<?php $this->layout->loadBlock('tools/cart'); ?>
<?php endif; ?>
Oscar E wrote:Hi,
you have two options:
1) \templates\gk_storefront\layouts\default.php
find<?php if($this->API->modules('cart')) : ?>
<div id="gkCart">
<span id="gkCartCounter"><?php echo JText::_('GK_TPL_LOADING'); ?></span><i class="gk-icon-cart-add"></i>
</div>
<?php $this->layout->loadBlock('tools/cart'); ?>
<?php endif; ?>
and delete
OR
#2 Find cart module in Moduel Manager and disable from "cart" position