esport template joomla 3 joomshop cart doesnt work

Winter sport ecommerce template for Joomla with VirtueMart support
GK User
Tue Mar 19, 2013 5:05 pm
i am using esport template on joomla 3 and as shop, using joomshop 4.0.
I have problem with cart. I have created cart as module. It show on page. when i click cart, it have to joomshop cart module but its doesnt function.

web page = http://meafloret.com/
User avatar
Junior Boarder

teitbite
Tue Mar 19, 2013 5:22 pm
Hi

I have replaced file: /layouts/blocks/tools/cart.php with this code:

Code: Select all
<?php

   // no direct access
   defined('_JEXEC') or die('Restricted access');
   
?>

<?php if($this->modules('cart')) : ?>

   <script type="text/javascript">
   (function($) {
   $(document).ready(function() {
      $('#btnCart').click(function() {
         $('#gkPopupCart').toggle('slow');
      });

      $('#gkVmCartSmall').click(function() {
         $('#gkPopupCart').toggle('slow');
      });

   });
   })(jQuery)
   </script>

   <jdoc:include type="modules" name="cart" />
<?php endif; ?>   


Should work as a regular joomla position in popup.
User avatar
Moderator

GK User
Tue Mar 19, 2013 5:24 pm
its work. thank you for quick and great support teitbite!
User avatar
Junior Boarder


cron