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)
-   -   Hyperlinking image on home page (https://forum.x-cart.com/showthread.php?t=52040)

teachers111 01-29-2010 12:05 PM

Hyperlinking image on home page
 
A long time ago I added a hyperlink from my homepage image to my main product category. I now have a new bestselling category which I would like as my default go-to when clicking the image. Only problem is I don't remember how I did the link to begin with. I think all I need to change is from cat=3 to cat=255 but where?

gizmo 01-29-2010 01:09 PM

Re: Hyperlinking image on home page
 
Depending what template your using basically within skin1/customer/head.tpl
Look for this:
<a href="{$catalogs.customer}/home.php"><img src="{$SkinDir}/abeez_sources/sky_blue/images/yourlogo.png" title="Your" /></a>

Replacing the red highlighted with say:home.php?cat=4 assuming you have no SEO Mods insatlled.

Is this what you mean

teachers111 01-29-2010 02:33 PM

Re: Hyperlinking image on home page
 
Thanks, Gizmo!
I have successfully made the change.

gizmo 01-29-2010 02:41 PM

Re: Hyperlinking image on home page
 
Your Welcome.


All times are GMT -8. The time now is 06:08 AM.

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