The shopping cart doesn't work, why?

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun Jun 09, 2013 6:57 pm
Reply with quote
Report this post
I'm using virtuemart and on the top right side, as default, i see "mycart" "register" "login" . is it a menu? But i can't find it. and after added an item to the cart, if i click on "show the cart" it doesn't work, the page is blank

could you help me?


thanks in advance
User avatar
Expert Boarder

GK User
Mon Jun 10, 2013 11:40 am
Reply with quote
Report this post
Can you please post your website link so we can check.

See you around...
User avatar
Platinum Boarder

GK User
Mon Jun 10, 2013 11:53 am
Reply with quote
Report this post
normanUK wrote:Can you please post your website link so we can check.

See you around...


hi,
www.abbigliamentotop.com

thanks
User avatar
Expert Boarder

GK User
Mon Jun 10, 2013 12:16 pm
Reply with quote
Report this post
Regarding menu they are hard coded in following file / code. But if you disable any modules in modules positions "lang,cart,login" they should disappear automatically.

File:
Lines: 60 to 78
Code: Select all
          <?php if($this->API->modules('login + cart + lang') || ($this->API->get('register_link', 1) && $userID == 0)) : ?>
          <div id="gkTopLinks">
             <?php if($this->API->modules('lang')) : ?>
                <jdoc:include type="modules" name="lang" style="<?php echo $this->module_styles['footer_nav']; ?>" />
                <?php endif; ?>
             
             <?php if($this->API->modules('cart')) : ?>
             <a href="index.php?option=com_virtuemart&amp;view=cart" id="btnCart"><?php echo JText::_('TPL_GK_LANG_MY_CART'); ?><span><?php echo JText::_('TPL_GK_LANG_MY_CART_LOADING'); ?></span></a>
             <?php endif; ?>
             
             <?php if($this->API->get('register_link', 1) && $userID == 0) : ?>
             <a href="<?php echo $this->API->URLbase(); ?>index.php?option=com_users&amp;view=registration" id="btnRegister"><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></a>
             <?php endif; ?>
             
             <?php if($this->API->modules('login')) : ?>
             <a href="<?php echo $this->API->URLbase(); ?>index.php?option=com_users&amp;view=login" id="btnLogin"><?php echo $btn_login_text; ?></a>
             <?php endif; ?>
          </div>
          <?php endif; ?>


Regarding blank page;

Please rename following folder so joomla and virtuemart can load its own default style just to be sure it is not related with our custom style.
Rename:
Code: Select all
/templates/gk_bikestore/html/com_virtuemart/

To
Code: Select all
/templates/gk_bikestore/html/com_virtuemart_testing/


Also disable modules such as News Show PRO or Image Show GK4 if they are enabled for test purposes.

Let us know how you get on.
User avatar
Platinum Boarder

GK User
Mon Jun 10, 2013 12:26 pm
Reply with quote
Report this post
normanUK wrote:Regarding menu they are hard coded in following file / code. But if you disable any modules in modules positions "lang,cart,login" they should disappear automatically.

File:
Lines: 60 to 78
Code: Select all
          <?php if($this->API->modules('login + cart + lang') || ($this->API->get('register_link', 1) && $userID == 0)) : ?>
          <div id="gkTopLinks">
             <?php if($this->API->modules('lang')) : ?>
                <jdoc:include type="modules" name="lang" style="<?php echo $this->module_styles['footer_nav']; ?>" />
                <?php endif; ?>
             
             <?php if($this->API->modules('cart')) : ?>
             <a href="index.php?option=com_virtuemart&amp;view=cart" id="btnCart"><?php echo JText::_('TPL_GK_LANG_MY_CART'); ?><span><?php echo JText::_('TPL_GK_LANG_MY_CART_LOADING'); ?></span></a>
             <?php endif; ?>
             
             <?php if($this->API->get('register_link', 1) && $userID == 0) : ?>
             <a href="<?php echo $this->API->URLbase(); ?>index.php?option=com_users&amp;view=registration" id="btnRegister"><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></a>
             <?php endif; ?>
             
             <?php if($this->API->modules('login')) : ?>
             <a href="<?php echo $this->API->URLbase(); ?>index.php?option=com_users&amp;view=login" id="btnLogin"><?php echo $btn_login_text; ?></a>
             <?php endif; ?>
          </div>
          <?php endif; ?>


Regarding blank page;

Please rename following folder so joomla and virtuemart can load its own default style just to be sure it is not related with our custom style.
Rename:
Code: Select all
/templates/gk_bikestore/html/com_virtuemart/

To
Code: Select all
/templates/gk_bikestore/html/com_virtuemart_testing/


Also disable modules such as News Show PRO or Image Show GK4 if they are enabled for test purposes.

Let us know how you get on.


done...but no change...please try you
User avatar
Expert Boarder

GK User
Mon Jun 10, 2013 12:29 pm
Reply with quote
Report this post
Send me your admin access details to my email and I ll take a look, normanuk[at]live.co.uk

Please include this topic in your email.

See you around...
User avatar
Platinum Boarder

GK User
Mon Jun 10, 2013 12:29 pm
Reply with quote
Report this post
i have renamed th folder com_virtuemart...but nothing changed
User avatar
Expert Boarder

GK User
Mon Jun 10, 2013 12:34 pm
Reply with quote
Report this post
just sent you the email

let me know
thanks
User avatar
Expert Boarder

GK User
Mon Jun 10, 2013 12:56 pm
Reply with quote
Report this post
Following plugin is causing the error. See Plugin Manager

Plugin name: Vm Shipment plugin Weight/Nb of Products/Countries
Type: vmshipment

This is a plugin from main virtuemart installation so you can try to reinstall virtuemart or consult in virtuemart forums for further help.

I have disabled this plugin for now so you can access your cart page.

Please rename com_virtuemart back to its original name so template can load the style.

See you around...
User avatar
Platinum Boarder

GK User
Mon Jun 10, 2013 1:10 pm
Reply with quote
Report this post
normanUK wrote:Following plugin is causing the error. See Plugin Manager

Plugin name: Vm Shipment plugin Weight/Nb of Products/Countries
Type: vmshipment

This is a plugin from main virtuemart installation so you can try to reinstall virtuemart or consult in virtuemart forums for further help.

I have disabled this plugin for now so you can access your cart page.

Please rename com_virtuemart back to its original name so template can load the style.

See you around...


thanks a lot

if i leave this plugin disabled (also because it dooesn't mind the weight) is it a problem?

thank you
User avatar
Expert Boarder

GK User
Mon Jun 10, 2013 1:15 pm
Reply with quote
Report this post
It depends what is the cause of the error. If there are problems with versions difference or missing files then it is possible there are other causes / errors you have not seen yet.

If its only a programming error in the plugin then keeping it disabled should be ok.

See you around...
User avatar
Platinum Boarder

GK User
Mon Jun 10, 2013 1:25 pm
Reply with quote
Report this post
in that website is the 2.0.16 virtuemart version, should i update at the last version? Maybe the problem wold be solved.... but i cannot find the update in virtuemart site but only the last version. So my question is if is the same thing if i install directly the version 2.0.20b and not the update?
User avatar
Expert Boarder

GK User
Mon Jun 10, 2013 1:42 pm
Reply with quote
Report this post
I haven't checked the new update as there might be template layout changes so then our virtuemart style might not work.

What you can do is leave it disabled for now and see if there are any other errors in future. If not you can update virtuemart when template also supports it.

See you around...
User avatar
Platinum Boarder

GK User
Mon Jun 10, 2013 1:44 pm
Reply with quote
Report this post
ok, thanks
User avatar
Expert Boarder

GK User
Mon Jun 10, 2013 2:00 pm
Reply with quote
Report this post
No problem at all, see you around...
User avatar
Platinum Boarder


cron