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)
-   -   Redirect Add to cart Button (https://forum.x-cart.com/showthread.php?t=9535)

DaveB 09-24-2004 05:46 AM

Redirect Add to cart Button
 
Hi

Currently designing a site with Xcart 4.0.4 for a client who doesn't require the checkout procedure to be enabled at all.

They would however like to retain the 'Add to cart' button on the product details page, and have it link to the Contact Us page, instead of the cart, after renaming it 'Enquire'

The renaming bit is obviously easy, but has anybody got any smart clues what the easiest way to do the link would be?
Or an alternative that would work the same way?

TelaFirma 09-24-2004 04:44 PM

Ummm... I'm not a genius, but couldn't you just replace the "Add to Cart" code with a button graphic and then link it to the page?

i.e.


DaveB 09-27-2004 03:09 AM

Excellent, thank you. I'd been puzzling over how to amend the button.tpl file.
It never occured to me to bypass this altogether and simply amend the add to cart.tpl
It's easy to get tunnel vision sometimes.


All times are GMT -8. The time now is 03:40 AM.

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