Categorii
- Componente ( 1 )
- Flash ( 0 )
- Joomla ( 1 )
- Virtuemart ( 3 )
Ultimele comentarii
- Embed PDF in articol...
am tot incercat sa setez acest...
de cosmi
Login
|
31 Iul
2011 |
| Scris de ilcos.ro Web Design in - Virtuemart - citit de: 3026 ori. |
|
I found somewhere a solution to this, but I don't know how secure it is. Also I believe there is a better way than what it actually does in order to hide the button. <?php echo $addtocart ?>
<?php if ($_SESSION['auth']['user_id'] < 1) { ?
Supposed that when the user is not logged it, then -> display:none; for .addtocart_button and .inputboxquantity css styles. <?php replace <?php echo $addtocart ?> with... <?php I test it and its working OK.
|
