Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Date of Birth / Gender fields


richx

Recommended Posts

Hello. Hopefully someone can give me some suggestions for a new install. I want to get rid of the gender field and date of birth field in the signup. I did get some advice to go to admin-> customers-> customer detail. BUT my admin only has customers - and orders under customer. I have looked in the other modules - nothing that makes sense as a field stopper. Does anyone have a suggestion???? Thanks.

:(

Link to comment
Share on other sites

try admin again, this time under configuration, customer details

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Thanks.... I looked under configuration - no customer details section - under minimums there is the ability to set minumum lengths for fields - there is no selection for turning it off - I tried to enter "false" but the field still appears. I am open to any suggestions..... :unsure:

Link to comment
Share on other sites

what version of OSC are you running. the customer details section is most definately in MS2.2

 

otherwise look through your DB (nothing like going straight to the source) i'm not familiar with the older versions of OSC, so i couldn't really tell you what table to look in. i would assume it would be called customers or customer details.

Link to comment
Share on other sites

Thanks.... I looked under configuration - no customer details section - under minimums there is the ability to set minumum lengths for fields - there is no selection for turning it off - I tried to enter "false" but the field still appears. I am open to any suggestions..... :unsure:

The setting section is "Customer Details" in My store. You can set true or false to these fields.

Gender false   
Date of Birth false   
Company true   
Suburb true   
State true

 

Can check again ;)

Fan of OSC system.................

Comming From China.............

Link to comment
Share on other sites

YOu could always remove it completely from the signup form by deleting the fields from catalog/create_account.php

 

In an umodded OSC, lines 322-325

              <tr>
               <td class="main"><?php echo ENTRY_GENDER; ?></td>
               <td class="main"><?php echo tep_draw_radio_field('gender', 'm') . '  ' . MALE . '  ' . tep_draw_radio_field('gender', 'f') . '  ' . FEMALE . ' ' . (tep_not_null(ENTRY_GENDER_TEXT) ? '<span class="inputRequirement">' . ENTRY_GENDER_TEXT . '</span>': ''); ?></td>
             </tr>

should be removed to remove the gender field, and lines 340-343

              <tr>
               <td class="main"><?php echo ENTRY_DATE_OF_BIRTH; ?></td>
               <td class="main"><?php echo tep_draw_input_field('dob') . ' ' . (tep_not_null(ENTRY_DATE_OF_BIRTH_TEXT) ? '<span class="inputRequirement">' . ENTRY_DATE_OF_BIRTH_TEXT . '</span>': ''); ?></td>
             </tr>

should be removed to remove the DOB field.

 

HTH

Link to comment
Share on other sites

:( Well - I tried a different host (I use two) and the second host must have a newer version because the customer details was there ---- BUT now the graphics do not load. I will look at both again - (any problems with the host install pgm - one is fansastico - and the other scripta)... And thanks for the replies - I appreciate the help.

Link to comment
Share on other sites

Which graphics are not loading?

Your own product graphics? Or the OSC graphics? Or the default (sample) product graphics?

I have never heard of scripta...and Fantastico has never given me any problems...although for better control, I like to upload and install all the files for OSC myself.

Link to comment
Share on other sites

All of the graphics are missing - the osc graphics and the sample items. I have not put any items on the site. Just want to get it up and running before I modify it. Fantastico installed the newer version - - admin seems to work fine - but no graphics. :(

Link to comment
Share on other sites

The most obvious answer is to check your images folder and see if the installation actually installed them.

Secondly, check your configure.php file and make sure the correct path to the images directory was set.

If they are correct, then give me your website, and I will see if I can spot anything...bearing in mind I am an enthusiastic amatuer, not a pro. :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...