Contributions

Features (Category Index)
Search: 

Required Customer Details

This Add-on is made to give the admin the choice over what items are displayed and/or required for Customer Details.
It will add all fields to "Configuration --> Customer Details", just like it was before, only with the added option "Optional".

- Setting an item to "true" will make the item Required.
- Setting an item to "false" will remove the item completely.
- Setting an item to "optional" will remove the "*" behind the line, and will remove the checking for correctness of the entry.

This one is build on osCommerce 2.2ms2-060817
By AvanOsch a.K.a Zappo the Wizard of Osch

Expand All / Collapse All

Required Customer Details v2 18 Apr 2008

Updated for RC2a. Also updated the commenting to include a "// start..." and "// end..". Changes are sprinkled throughout the files, so save yourself the headache and please use a file comparer like KDiff3, WinMerge, etc!

Also added some changes of my own:
Change "Suburb" to "Address 2" in
Catalog>Includes>Languages>english.php
Catalog>Admin>Includes>Languages>english.php
Change "Post Code" to "Zip Code" in
Catalog>Includes>Languages>english.php
Catalog>Admin>Includes>Languages>english.php

If you want, you can also swap the order entry of address info to make it more familiar (at least for U.S.). Just find the chunks of POSTCODE code and move them below STATE:
from: Address, Zip, City, State
to: Address, City, State, Zip in:
Catalog>Admin>customers.php
Catalog>create_account.php
Catalog>Includes>Modules>checkout_new_address.php
Catalog>Includes>Modules>adress_book_details.php

Fixed forgotten line 9 Sep 2007
Required Customer Details 8 Sep 2007

Note: Contributions are used at own risk.