News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

i don't want to show login box in show chart page

Started by resif, August 12, 2012, 11:09:08 AM

Previous topic - Next topic

resif

i don't want to show login box in show chart page because when i loggin still show login box...
how can i remove login box show chart page?

Setko

I didn't really get your question, if you want to remove login box when you're logged in, or when you aren't logged in yet. If you want to remove login box when you aren't logged in yet, use this:

Put this code before and after the content, that you wan't to remove, when you're not logged yet.
You can find it in: components > com_virtuemart > views > cart > tmpl > default.php
Find this code: <?php echo shopFunctionsF::getLoginForm($this->cart,false);

And replace it like this:
Quote<?php
$user =& JFactory::getUser();
if (!$user->guest) {
?>
<?php
echo shopFunctionsF::getLoginForm($this->cart,false);
?>
<?php } ?>

<?php

This worked perfectly for me, so I did that on deliver to/ship to content, which you can find in default_pricelist.php.

resif

thanks alot friends l want to that too... but i said idont want to never login box after add to cart step...