Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

no state is customer signup or orders!


sandbreak

Recommended Posts

I am using CRE Loaded V5.0 Patches 1-4

 

How do I modify create_account.php to ask for:

Street Address, City, Country, and state?

What else needs to be modified?

 

Currently it only asks for the first three.

 

When shipping an order I have to look up the customers state by the zip code since it is not provided as a field.

Link to comment
Share on other sites

Oh, and after you enable it. Make sure that in the Admin>Configuration>Minimum Values>State that it has a value of 2. That wil make it required. :)

Link to comment
Share on other sites

I see the following options under Admin -> Configuration ->

 

My Store

Minimum Values

Maximum Values

Images

Shipping/Packaging

Product Listing

Stock

Logging

Cache

E-Mail Options

Download

Branding

 

Can I change this from the database?

Link to comment
Share on other sites

Brad,

 

Check your catalog and admin includes/application_top.php and see if there is a "switch" for the state field in them.

Link to comment
Share on other sites

If you don't find the "switch" add this to your aaplication_top.php

 

// customization for the design layout

 define('TAX_DECIMAL_PLACES', '0'); // Pad the tax value this amount of decimal places

 define('DISPLAY_PRICE_WITH_TAX', 'false'); // Display prices with tax (true) or without tax (false)

 define('BOX_WIDTH', '162'); // how wide the boxes should be in pixels (default: 125)



// Control what fields of the customer table are used

 define('ACCOUNT_GENDER', 'false');

 define('ACCOUNT_DOB', 'false');

 define('ACCOUNT_COMPANY', 'false');

 define('ACCOUNT_SUBURB', 'true');

 define('ACCOUNT_STATE', 'true');

 

Then you should be able to control the width of your side columns too!

 

:D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...