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

how to remove this from checkout pages?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-21-2008, 03:32 AM
 
Ginestra Ginestra is offline
 

Advanced Member
  
Join Date: Sep 2003
Posts: 81
 

Default how to remove this from checkout pages?

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?
Attached Thumbnails
Click image for larger version

Name:	Senza-titolo-1.gif
Views:	286
Size:	2.5 KB
ID:	1083  
__________________
4.1.10 Gold
Reply With Quote
  #2  
Old 08-21-2008, 04:21 AM
  Piotr M.'s Avatar 
Piotr M. Piotr M. is offline
 

Senior Member
  
Join Date: Aug 2008
Posts: 134
 

Default 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>
__________________
Regards,
Piotr Markushin

X-Cart PDF Catalog Generator NEW
Professional X-Cart Skins Store (7 new skins added in August 2008!)

ahedOffice.com - Web 2.0 Online Groupware
Reply With Quote
  #3  
Old 08-21-2008, 04:34 AM
 
Ginestra Ginestra is offline
 

Advanced Member
  
Join Date: Sep 2003
Posts: 81
 

Default 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?
__________________
4.1.10 Gold
Reply With Quote
  #4  
Old 08-21-2008, 04:41 AM
  Piotr M.'s Avatar 
Piotr M. Piotr M. is offline
 

Senior Member
  
Join Date: Aug 2008
Posts: 134
 

Default 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.
__________________
Regards,
Piotr Markushin

X-Cart PDF Catalog Generator NEW
Professional X-Cart Skins Store (7 new skins added in August 2008!)

ahedOffice.com - Web 2.0 Online Groupware
Reply With Quote
  #5  
Old 08-21-2008, 04:51 AM
 
Ginestra Ginestra is offline
 

Advanced Member
  
Join Date: Sep 2003
Posts: 81
 

Default Re: how to remove this from checkout pages?

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
Attached Thumbnails
Click image for larger version

Name:	Immagine.GIF
Views:	221
Size:	5.0 KB
ID:	1084  
__________________
4.1.10 Gold
Reply With Quote
  #6  
Old 08-21-2008, 04:55 AM
  Piotr M.'s Avatar 
Piotr M. Piotr M. is offline
 

Senior Member
  
Join Date: Aug 2008
Posts: 134
 

Default 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="" />
__________________
Regards,
Piotr Markushin

X-Cart PDF Catalog Generator NEW
Professional X-Cart Skins Store (7 new skins added in August 2008!)

ahedOffice.com - Web 2.0 Online Groupware
Reply With Quote
  #7  
Old 08-21-2008, 05:13 AM
 
Ginestra Ginestra is offline
 

Advanced Member
  
Join Date: Sep 2003
Posts: 81
 

Default 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
__________________
4.1.10 Gold
Reply With Quote
  #8  
Old 08-21-2008, 05:53 AM
  Piotr M.'s Avatar 
Piotr M. Piotr M. is offline
 

Senior Member
  
Join Date: Aug 2008
Posts: 134
 

Default 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;
__________________
Regards,
Piotr Markushin

X-Cart PDF Catalog Generator NEW
Professional X-Cart Skins Store (7 new skins added in August 2008!)

ahedOffice.com - Web 2.0 Online Groupware
Reply With Quote
  #9  
Old 08-21-2008, 06:06 AM
 
Ginestra Ginestra is offline
 

Advanced Member
  
Join Date: Sep 2003
Posts: 81
 

Default Re: how to remove this from checkout pages?

thank you very much.

bye
__________________
4.1.10 Gold
Reply With Quote
  #10  
Old 01-19-2009, 12:38 PM
 
ChristineP ChristineP is offline
 

eXpert
  
Join Date: Jul 2008
Posts: 310
 

Default 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>
__________________
______________
version 4.1.9 Gold
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:22 PM.

   

 
X-Cart forums © 2001-2020