![]() |
How can i make things not visible to logged in customers
i would like to make the 3rd column of my cart hidden to logged in members except on the checkout page, can anyone out there help me?
|
Re: How can i make things not visible to logged in customers
In the template of the information you want to hide - likely skin1/customer/home.tpl put this code above what you want to hide:
{if $login ne ""} and after what you want to hide put: {/if} |
Re: How can i make things not visible to logged in customers
that hides the section from customers that are not logged in, how do i make it invisible to customer that are logged in but visible if they are not logged in??
|
Re: How can i make things not visible to logged in customers
Sorry, in haste I misread your message.
Here's code that will show the hidden content if the user is NOT logged in, or are on the checkout pages: {if $login eq "" OR ($main eq "cart" OR $main eq "fast_lane_checkout" OR $main eq "order_message")} hidden content {/if} |
Re: How can i make things not visible to logged in customers
thank you jon
|
Re: How can i make things not visible to logged in customers
Quote:
Would this work if you wanted to hide a whole static page? For example, users need to upload files to me, but I want the upload page to only be available to users that are logged in after the purchase is complete.\ Thanks! |
Re: How can i make things not visible to logged in customers
Yes it would, in your static page, as long as you had smarty parsing in your static pages enabled.
|
Re: How can i make things not visible to logged in customers
Jon,
How does one do that and does it affect existing static pages? Thanks! |
All times are GMT -8. The time now is 06:05 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.