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

Removal of default checkout button

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-12-2007, 01:16 PM
 
Steils Steils is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 58
 

Default Removal of default checkout button

I'm only going to be using Google check for a checkout method and would like to remove the default checkout button so it wont cause any confusion when people go to checkout attached is the what i have now. and would like the checkout box on the left gone and it to only show google checkout.
Attached Thumbnails
Click image for larger version

Name:	Picture 2.png
Views:	225
Size:	13.7 KB
ID:	561  
__________________
Steils
X-Cart v 4.1.9 [Unix]
Image Reflections
Reply With Quote
  #2  
Old 09-12-2007, 01:35 PM
 
Steils Steils is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 58
 

Default Re: Removal of default checkout button

Fixed
__________________
Steils
X-Cart v 4.1.9 [Unix]
Image Reflections
Reply With Quote
  #3  
Old 09-12-2007, 01:59 PM
  Jayk's Avatar 
Jayk Jayk is offline
 

eXpert
  
Join Date: Nov 2003
Location: Calgary, Alberta, Canada
Posts: 333
 

Default Re: Removal of default checkout button

Could you post how you did it in case there's another Google Checkout user who wants to accomplish the same thing?

Jason
__________________
X-Cart Gold 4.4.3
Blog: www.flashinthepan.ca
Reply With Quote
  #4  
Old 09-13-2007, 03:14 PM
 
Steils Steils is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 58
 

Default Re: Removal of default checkout button

change modules/Google_Checkout/gcheckout_button.tpl to

Code:
{* $Id: gcheckout_button.tpl,v 1.1.2.2 2007/01/18 06:38:20 svowl Exp $ *} {if $gcheckout_button} <table cellpadding="0" cellspacing="0"> <tr> {* <td valign="top" style="padding-top: 3px; padding-right: 4px;"><a href="cart.php?mode=checkout"><img src="{$ImagesDir}/checkout.gif" width="79" height="19" border="0" alt="" /></a></td> <td>&nbsp;&nbsp;</td> <td valign="top" style="padding-top: 5px;">{$lng.lbl_gcheckout_or_use}</td> *} <td>&nbsp;&nbsp;</td> <td>{$gcheckout_button}</td> </tr> </table> {/if}
__________________
Steils
X-Cart v 4.1.9 [Unix]
Image Reflections
Reply With Quote
  #5  
Old 09-18-2007, 12:40 AM
 
IIBInc IIBInc is offline
 

Newbie
  
Join Date: Sep 2007
Posts: 3
 

Default Re: Removal of default checkout button

I am a newbie and am not sure how to remove the Checkout button to leave just the Google Checkout button. Any help would be GREATLY appreciated. Also, X-cart does not seem to be sending my flat rate shipping rates through and it charges my defauly shipping fee for any shipping choice Google Checkout offers (most choose DHL since it is first on the list). I am begging for any help. I found one post that dealt with this but the fix it gave caused the Google Checkout module to not connect to Google any longer.

Ryan
__________________
X-Cart Gold Version 4.1.8
Reply With Quote
  #6  
Old 09-18-2007, 06:14 AM
 
Steils Steils is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 58
 

Default Re: Removal of default checkout button

Quote:
Originally Posted by IIBInc
I am a newbie and am not sure how to remove the Checkout button to leave just the Google Checkout button.

Login to X-Cart, go to Edit Templates under Administration, click Modules, Google_Checkout, gcheckout_button.tpl Replace ALL text in there with
Code:
{* $Id: gcheckout_button.tpl,v 1.1.2.2 2007/01/18 06:38:20 svowl Exp $ *} {if $gcheckout_button} <table cellpadding="0" cellspacing="0"> <tr> {* <td valign="top" style="padding-top: 3px; padding-right: 4px;"><a href="cart.php?mode=checkout"><img src="{$ImagesDir}/checkout.gif" width="79" height="19" border="0" alt="" /></a></td> <td>&nbsp;&nbsp;</td> <td valign="top" style="padding-top: 5px;">{$lng.lbl_gcheckout_or_use}</td> *} <td>&nbsp;&nbsp;</td> <td>{$gcheckout_button}</td> </tr> </table> {/if}
__________________
Steils
X-Cart v 4.1.9 [Unix]
Image Reflections
Reply With Quote
  #7  
Old 09-18-2007, 11:53 AM
 
IIBInc IIBInc is offline
 

Newbie
  
Join Date: Sep 2007
Posts: 3
 

Default Re: Removal of default checkout button

Quote:
Originally Posted by Steils
Login to X-Cart, go to Edit Templates under Administration, click Modules, Google_Checkout, gcheckout_button.tpl Replace ALL text in there with
Code:
{* $Id: gcheckout_button.tpl,v 1.1.2.2 2007/01/18 06:38:20 svowl Exp $ *} {if $gcheckout_button} <table cellpadding="0" cellspacing="0"> <tr> {* <td valign="top" style="padding-top: 3px; padding-right: 4px;"><a href="cart.php?mode=checkout"><img src="{$ImagesDir}/checkout.gif" width="79" height="19" border="0" alt="" /></a></td> <td>&nbsp;&nbsp;</td> <td valign="top" style="padding-top: 5px;">{$lng.lbl_gcheckout_or_use}</td> *} <td>&nbsp;&nbsp;</td> <td>{$gcheckout_button}</td> </tr> </table> {/if}

Steils,

That was amazingly simple. Sorry for such a basic question. Thank you very much for your help.

Ryan
__________________
X-Cart Gold Version 4.1.8
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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:04 PM.

   

 
X-Cart forums © 2001-2020