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 |
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:
|
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> </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. |
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? |
Re: register_ddinfo.tpl modification
Quote:
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? |
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. |
All times are GMT -8. The time now is 05:09 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.