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

register_ddinfo.tpl modification

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-16-2008, 06:50 PM
 
ladybird ladybird is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 93
 

Default register_ddinfo.tpl modification

I am currently looking to change the tpl that pertains to direct deposit payments

firstly - does any one know if this is the correct template?

register_ddinfo.tpl

secondly, does anyone know where it is located in the tpl hierachy

My current version of direct payments asks for this additional and unnecessary information

PO Number:
Company name:
Name of purchaser:
Position:

which I want to delete, or at least prevent from showing up. Any suggestions?

Thanks

L
__________________
x-cart gold 4.1.9
x-cart gold 4.1.5
www.makeuwell.com.au
www.amberbebe.com
Sydney Australia
Reply With Quote
  #2  
Old 12-16-2008, 07:11 PM
  Vetrivel's Avatar 
Vetrivel Vetrivel is offline
 

eXpert
  
Join Date: Apr 2008
Posts: 398
 

Default Re: register_ddinfo.tpl modification

hi,
1. tpl file name is correct.
[quote=ladybird] firstly - does any one know if this is the correct template?
register_ddinfo.tpl[quote=ladybird]

2.This file is located in root/skin1/main/
[quote=ladybird] secondly, does anyone know where it is located in the tpl hierachy[quote=ladybird]


Quote:
Originally Posted by ladybird
I am currently looking to change the tpl that pertains to direct deposit payments

firstly - does any one know if this is the correct template?

register_ddinfo.tpl

secondly, does anyone know where it is located in the tpl hierachy

My current version of direct payments asks for this additional and unnecessary information

PO Number:
Company name:
Name of purchaser:
Position:

which I want to delete, or at least prevent from showing up. Any suggestions?

Thanks

L
Reply With Quote
  #3  
Old 09-26-2009, 05:08 AM
 
ladybird ladybird is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 93
 

Default Re: register_ddinfo.tpl modification

Here is the code ...

{* $Id: register_ddinfo.tpl,v 1.2 2006/01/16 06:47:37 mclap Exp $ *}
{if $hide_header ne "Y"}
<tr valign="middle">
<td height="20" colspan="3"><font class="RegSectionTitle">{$lng.lbl_check_informatio n}</font><hr size="1" noshade="noshade" /></td>
</tr>
{/if}

<tr valign="middle">
<td align="right">
<script type="text/javascript">
<!--
requiredFields.push(['debit_name','{$lng.lbl_ch_name|escape}']);
requiredFields.push(['debit_bank_account','{$lng.lbl_ch_bank_account|es cape}']);
requiredFields.push(['debit_bank_number','{$lng.lbl_ch_bank_routing|esc ape}']);
-->
</script>
{$lng.lbl_ch_name}</td>
<td><font class="Star">*</font></td>
<td nowrap="nowrap">
<input type="text" id="debit_name" name="debit_name" size="32" maxlength="20" value="{if $userinfo.lastname ne ""}{$userinfo.firstname} {$userinfo.lastname}{/if}" />
</td>
</tr>

<tr valign="middle">
<td align="right">{$lng.lbl_ch_bank_account}</td>
<td><font class="Star">*</font></td>
<td nowrap="nowrap">
<input type="text" id="debit_bank_account" name="debit_bank_account" autocomplete="off" size="32" maxlength="20" value="" />
</td>
</tr>

<tr valign="middle">
<td align="right">{$lng.lbl_ch_bank_routing}</td>
<td><font class="Star">*</font></td>
<td nowrap="nowrap">
<input type="text" id="debit_bank_number" name="debit_bank_number" autocomplete="off" size="32" maxlength="20" value="" />
</td>
</tr>

<tr valign="middle">
<td align="right">{$lng.lbl_ch_bank_name}</td>
<td>&nbsp;</td>
<td nowrap="nowrap">
<input type="text" id="debit_bank_name" name="debit_bank_name" autocomplete="off" size="32" maxlength="20" value="" />
</td>
</tr>

Which bit do I change? I can't see anything that looks promising.
__________________
x-cart gold 4.1.9
x-cart gold 4.1.5
www.makeuwell.com.au
www.amberbebe.com
Sydney Australia
Reply With Quote
  #4  
Old 09-28-2009, 07:24 PM
  Vetrivel's Avatar 
Vetrivel Vetrivel is offline
 

eXpert
  
Join Date: Apr 2008
Posts: 398
 

Default Re: register_ddinfo.tpl modification

Hi,
I think you have renamed the check payment method right?
If you don't need that details then go with some other method like phone ordering etc.It won't show any details. Similar to one you asked.
Will that help you?
Reply With Quote
  #5  
Old 09-28-2009, 07:39 PM
 
ladybird ladybird is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 93
 

Default Re: register_ddinfo.tpl modification

Quote:
Originally Posted by Vetrivel
Hi,
I think you have renamed the check payment method right?
If you don't need that details then go with some other method like phone ordering etc.It won't show any details. Similar to one you asked.
Will that help you?

No I haven't renamed the check payment - this is the direct deposit option that is part of my standard x-cart. CAn you identify the code I need to change in order to delete or stop those features showing in the template?
__________________
x-cart gold 4.1.9
x-cart gold 4.1.5
www.makeuwell.com.au
www.amberbebe.com
Sydney Australia
Reply With Quote
  #6  
Old 09-28-2009, 08:15 PM
  Vetrivel's Avatar 
Vetrivel Vetrivel is offline
 

eXpert
  
Join Date: Apr 2008
Posts: 398
 

Default Re: register_ddinfo.tpl modification

What i am trying to say is if you don't need the check details to show .why don't you use that method.You have lot of option in the admin/payment_methods.php.
Just change the name of the phone order method to as you like.That will help you .and it is easy to do also.
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 05:26 PM.

   

 
X-Cart forums © 2001-2020