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)
-   -   Replacing the Wishlist button (https://forum.x-cart.com/showthread.php?t=21916)

Grant 05-19-2006 10:50 AM

Replacing the Wishlist button
 
Is there a simple way to replace the wishlist button with a gif image?

I've had a look at the relevant files and as far as I can make out It's gonna take the editing of about 4 different files just to do this and also there will still be redundant calls on the database that we could all do without. There has to be an easier way?

balinor 05-19-2006 10:59 AM

[img]{$ImagesDir}/yourgif.gif[/img]

Grant 05-19-2006 11:31 AM

Thanks Padraic, so I just throw that into all of my product templates? What about the {if wishlist active} stuff?

balinor 05-19-2006 12:56 PM

Yea, just replace the wishlist template call in product.tpl. Keep the if statement.

Grant 05-21-2006 05:56 PM

Thanks for your help Padraic but I can't get this working.. It displays the button but indicates a script error at the bottom left of the browser & doesn't add anything to the wishlist?


All times are GMT -8. The time now is 06:47 PM.

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