X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   I need help with dual linking a picture on the front page (https://forum.x-cart.com/showthread.php?t=17233)

theotest 10-12-2005 08:06 AM

I need help with dual linking a picture on the front page
 
I am a webmaster for a company and we just launched our web store which is www.stork-source.com.

The problem I have is registration is required to view one section of our store which is anilox rolls and right now when someone who is not logged in clicks on it to view it they get looped back to the frontpage. We feel this is very confusing. What I am trying to do is set it up so that if you are not logged in you are directed to the registration page or log in and if they are logged in they enter that product category. Does anyone know how to do this?

Thanks,

Tabatha
email: storksource@stork.com

balinor 10-12-2005 11:12 AM

Just use an {if} statement for the link, like this:

Code:

{if $login eq "" }

link 1

{else}

link 2


Translated, this says:

If the user is not logged in, display link one, if not display link 2.


All times are GMT -8. The time now is 02:33 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.