Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Redirect Add to cart Button

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-24-2004, 05:46 AM
 
DaveB DaveB is offline
 

Senior Member
  
Join Date: May 2004
Location: UK
Posts: 121
 

Default 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?
__________________
Xcart 4.0.19 Pro
mySQL 5.5.44
PHP 5.3.27
Reply With Quote
  #2  
Old 09-24-2004, 04:44 PM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

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.

Reply With Quote
  #3  
Old 09-27-2004, 03:09 AM
 
DaveB DaveB is offline
 

Senior Member
  
Join Date: May 2004
Location: UK
Posts: 121
 

Default

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.
__________________
Xcart 4.0.19 Pro
mySQL 5.5.44
PHP 5.3.27
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020