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)
-   -   Removal of default checkout button (https://forum.x-cart.com/showthread.php?t=33879)

Steils 09-12-2007 01:16 PM

Removal of default checkout button
 
1 Attachment(s)
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.

Steils 09-12-2007 01:35 PM

Re: Removal of default checkout button
 
Fixed

Jayk 09-12-2007 01:59 PM

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

Steils 09-13-2007 03:14 PM

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}


IIBInc 09-18-2007 12:40 AM

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

Steils 09-18-2007 06:14 AM

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}


IIBInc 09-18-2007 11:53 AM

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


All times are GMT -8. The time now is 11:16 PM.

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