Can the telephone number be deleted?

keirel

No avatar

2006-01-23 07:41

Hi, I also have problems with the mandatory field for the telephone number. Not all my customers will leave their phone number on the website... how can I delete the phone number in the form (and the check of the number of course, otherwise it will be interpreted as a missing field...)

Thank you!

orinoco

No avatar

2006-01-23 16:28

And what about version of Quck Cart you use?
Fortuneteller has a day off...

~Joop

No avatar

2006-04-27 21:06

Same here. Many customers will not leave ther telephone number so I would like to make it optional or, if that's easier, just delete is.

Using QC V1,2

Thanks,
Joop

keeb

No avatar

2006-04-28 03:22

yeah you can remove the telephone number , it is a pain but here it is in a nutshell...

you have to edit core/orders.php remoe every telephone , core/order-ff.php, you dont have to but i did it lang/en.php , templates/order_delivery.tpl and order_print.tpl

by removing telephone from all of those places you will be rid of that annoying feild..

=keeb - The boss of the little people=

treewood (OpenSolution)

Avatar: treewood

2006-04-28 06:46

keirel - You can delete only from html code. delete then:

- from templates/orders_delivery.tpl line below:
,Array( 'sTelephone' )

- from templates/orders_delivery.tpl lines below:
<tr>
<th>
$lang[Telephone]:
</th>
<td>
<input type="text" name="sTelephone" maxlength="30" />
</td>
</tr>

- from templates/orders_delivery.tpl add line
<input type="hidden" name="sTelephone" value="1" />
before/after where is:
<input type="submit" value="$lang[send]" class="submit" />

- from templates/orders_print.tpl delete lines below
<tr>
<th>
$lang[Telephone]:
</th>
<td>
$aData[sTelephone]
</td>
</tr>

CVS

Avatar: CVS

2006-04-28 20:37

Wow.... Works like a charm! Thanks Treewood!

Joop

Back to top
about us | contact