computerguy1 Site Admin
Joined: 13 Mar 2007 Posts: 21
|
Posted: Sun Jul 06, 2008 11:23 am Post subject: Remove Default Checkout. |
|
|
We run Google Checkout Exclusively. No customer data is stored on our servers. To disable the default checkout method(and thus use an "alternate checkout" exclusively) do this.
in /includes/content/cart.inc.php, comment out lines 144 & 145 like such:
if ($_GET['_a'] == 'cart') {
// $view_cart->assign("CONT_VAL","index.php?_g=co&_a=step1");
// $view_cart->assign("LANG_CHECKOUT_BTN",$lang['cart']['checkout_btn']);
Then in /skins/{YourSkin}/styleTemplates/content/cart.tpl down around line 226, edit the line:
<td nowrap="nowrap" align="right"><div class="Button"><a href="{CONT_VAL}" class="txtButton" title="{LANG_CHECKOUT_BTN}">{LANG_CHECKOUT_BTN}</a></div></td>
and make it this:
<td nowrap="nowrap" align="right"> </td>
Now below that edit the line after after this one:
<!-- BEGIN: alt_checkout -->
<p style="text-align: right; margin-right: 30px; font-weight: bold">{LANG_ALTERNATIVE_CHECKOUT}</p>
We'll change it to a comment like such:
<!-- p style="text-align: right; margin-right: 30px; font-weight: bold">{LANG_ALTERNATIVE_CHECKOUT}</p --> |
|