Pages:

How to delete phone field

Angel36

No avatar

2009-04-13 21:13

Sorry, but it's not possible to start a "New Topic".

I have also a question about the order form.


How can I delete the company, telephone and comment option in the order form of quick cart v.3.3?

I searched in de order_php but these are the only options to remove;

  throwStrLen$aForm['sFirstName'] ) > 1
      
&& throwStrLen$aForm['sLastName'] ) > 2
      
&& throwStrLen$aForm['sStreet'] ) > 1
      
&& throwStrLen$aForm['sZipCode'] ) > 2
      
&& throwStrLen$aForm['sCity'] ) > 2
      
&& throwStrLen$aForm['sPhone'] ) > 2
      
&& checkEmail$aForm['sEmail'] )
      && isset( 
$sPrice )
      && ( ( isset( 
$aForm['iRules'] ) && isset( $aForm['iRulesAccept'] ) ) || !isset( $aForm['iRules'] ) )



The phone I can remove... but...

I can not find for example: && throwStrLen( $aForm['sCompany'] ) > 2 and && throwStrLen( $aForm['sComment'] ) > 2

So, when I go to templates/orders_form.tlp and I remove for example

<div id="company">
            <
label for="oCompany">$lang[Company]</label>
            <
input type="text" name="sCompanyName" value="$aUser[sCompanyName]" maxlength="100" class="input" onblur="saveUserData( this.name, this.value )" id="oCompany" />
          </
div>



Then this will not work correct because in the order_php I can not find anything about the company option. After I try to fill in the order form on my website I get still the message "Please fill in all required fields".

Hopefully my question is clear :-)

Angel36

Angel36

No avatar

2009-04-13 22:03

And...

If I do not change anything at the order form and I fill all requierd fields in and click on send, then I get also the message "Please fill in all required fields"...

Is this a bug?

Angel36

Pages:
Back to top
about us | contact