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)
-   -   how to remove this from checkout pages? (https://forum.x-cart.com/showthread.php?t=41884)

Ginestra 08-21-2008 03:32 AM

how to remove this from checkout pages?
 
1 Attachment(s)
I've remove this two text

Languages->lbl_terms_n_conditions
Terms & Conditions

Languages->lbl_ship_to_different_address
Ship to a different address


But on the checkout pages remains the CHECKBOX of SHIP TO ...

and the orange images with links of TERMS and conditions... how to remove this two?

Piotr M. 08-21-2008 04:21 AM

Re: how to remove this from checkout pages?
 
You should edit template /skin1/customer/main/register.tpl
Remove lines 206-211
HTML Code:


{if $newbie eq "Y"}
{$lng.txt_newbie_registration_bottom}
<br /><a href="help.php?section=conditions" target="_blank"><font class="Text" style="white-space: nowrap;"><b>{$lng.lbl_terms_n_conditions}</b>&nbsp;</font>{include file="buttons/go.tpl"}</a>
{else}
{$lng.txt_user_registration_bottom}
{/if}


And /skin1/main/register_shipping_address.tpl lines 22-28
HTML Code:


<table cellpadding="0" cellspacing="0">
        <tr>
                <td><label for="ship2diff" class="RegSectionTitle">{$lng.lbl_ship_to_different_address}</label></td>
                <td>&nbsp;</td>
                <td><input type="checkbox" id="ship2diff" name="ship2diff" value="Y" onclick="javascript: ship2diffOpen();"{if $ship2diff} checked="checked"{/if} /></td>
        </tr>
        </table>


Ginestra 08-21-2008 04:34 AM

Re: how to remove this from checkout pages?
 
thanks very much, I can't find this file... is there a way to know where i can try the .tpl to change something in the variuos page?

Now, I want to skip the choice of kind oy payment, I want to go directly to payment with credit card... how? :-)

Piotr M. 08-21-2008 04:41 AM

Re: how to remove this from checkout pages?
 
You can edit templates in Admin backoffice. Look fo the link named Edit templates.
When the editor opens, notice that you are already inside skin1 directory.

The easiest way to find neccessary template is to enable webmaster mode and go to the page you want to edit in storefront. Pay attention to the fact that X-Cart opens popup window with the list of all used templates, wich may be blocked by browser. Click on template name in the list opens template editor with nedded file opened.

To avoid payment method selection just disable all payment methods in backoffice. Follow payment methods link in admin menu, untick all payment methods except credit card and press update button at the bottom of page.

Ginestra 08-21-2008 04:51 AM

Re: how to remove this from checkout pages?
 
1 Attachment(s)
thanks, I've resolve... maybe, the last thing is

see attachment, how to remove completly the image THE COMPANY NAME?

and the link at the end , CONTINUE SHOPPING. I want to change this link, or remove it

Thanks for the help

Piotr M. 08-21-2008 04:55 AM

Re: how to remove this from checkout pages?
 
If you want to place your logo instead of this, you can replace image /skin1/images/companyname_small.gif

To remove it, edit /skin1/mail/html/order_invoice.tpl line 12.
Remove
HTML Code:

<img src="{$ImagesDir}/companyname_small.gif" alt="" />

Ginestra 08-21-2008 05:13 AM

Re: how to remove this from checkout pages?
 
at the end of an order I want to remove CONTINUE SHOPPING Links.. I'm trying to find in in the templates.. but nothing

Piotr M. 08-21-2008 05:53 AM

Re: how to remove this from checkout pages?
 
It's /skin1/customer/main/order_message.tpl

Replace code at line 24
Code:

{include file="buttons/button.tpl" button_title=$lng.lbl_continue_shopping style="button" href="home.php"}
with &nbsp;

Ginestra 08-21-2008 06:06 AM

Re: how to remove this from checkout pages?
 
thank you very much.

bye

ChristineP 01-19-2009 12:38 PM

Re: how to remove this from checkout pages?
 
I need to include a "ship to" button on the checkout page. As our customers are dealers most often they will have a different ship to address for the products to go to the install site and this will be different from the billing address.

When I copied your suggestion the button and text are placed on the checkout page, but it doesn't open to allow new shipping address details. Any suggestions?

Christine

Quote:

Originally Posted by Piotr M.
You should edit template /skin1/customer/main/register.tpl
Remove lines 206-211
HTML Code:


{if $newbie eq "Y"}
{$lng.txt_newbie_registration_bottom}
<br /><a href="help.php?section=conditions" target="_blank"><font class="Text" style="white-space: nowrap;"><b>{$lng.lbl_terms_n_conditions}</b>&nbsp;</font>{include file="buttons/go.tpl"}</a>
{else}
{$lng.txt_user_registration_bottom}
{/if}


And /skin1/main/register_shipping_address.tpl lines 22-28
HTML Code:


<table cellpadding="0" cellspacing="0">
    <tr>
        <td><label for="ship2diff" class="RegSectionTitle">{$lng.lbl_ship_to_different_address}</label></td>
        <td>&nbsp;</td>
        <td><input type="checkbox" id="ship2diff" name="ship2diff" value="Y" onclick="javascript: ship2diffOpen();"{if $ship2diff} checked="checked"{/if} /></td>
    </tr>
    </table>




All times are GMT -8. The time now is 01:27 AM.

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