| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
show Options only if logged in | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
show Options only if logged in
Hi,
I want to make the cart available only to wholsalers who have previously been approved and registered. We want to enable purchasing only if someone is logged in. I'd like to include the Options part of the product.php page only if the user is logged in. Is there a Smarty variable already assigned for this the purpose of checking login status? Thanks, igc.
__________________
x-cart gold 4.1.3 on Linux/PHP 5.0.4/MySQL 4.1.20 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: show Options only if logged in
Try
{if $login ne "" }
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
Re: show Options only if logged in
Thanks.
Couldn't get any easier than that. igc
__________________
x-cart gold 4.1.3 on Linux/PHP 5.0.4/MySQL 4.1.20 |
|||||||
|
|||
X-Cart forums © 2001-2020
|