Disable-Edit CART module position

GK User
Tue Jun 16, 2015 6:14 pm
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!
User avatar
Junior Boarder

GK User
Tue Jun 16, 2015 7:11 pm
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
User avatar
Platinum Boarder

GK User
Fri Jun 19, 2015 12:53 pm
Hi I've have tried to remove the code, but that is not working yet.
I would like to use the cart position as a normal one, just to put there a custom html module.

Now when I assign to the cart position a custom html module it loads also a pop up. I would like to get rid of the pop up and render the position clickable as a normal html.

Please take a look here at the cart position http://sitomaestro.com/websites-develop ... keting/en/
Cheers

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
User avatar
Junior Boarder

GK User
Sun Jun 21, 2015 9:00 pm
We talk about VM3 or HikaShop ?
Maybe if we talk about #1 you have to also rename : templates\gk_storefront\html\mod_virtuemart_cart
to remove popup effects.
User avatar
Platinum Boarder


cron