Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add a text field after "your address" when creating an account


stab

Recommended Posts

Posted

Ok. I'm almost done to go live with my shop but...

I need to insert a "textfiled" under "your address" where people can define their address .

 

Why do I need this??

Well in Sweden the shipping address is like this:

Name

street

postalcode.city

Country

 

But a US shipping address (as the default address in Oscommerce) is:

Name

Street

City,state,zip/postalcode

country

 

If I ship something within Sweden with the US "type" of addressing there might be some delivery problems(It would work most of the times but not sometimes)

 

So I would like people to define how their shipping address is "written" to avoid delivery problems.

 

Is there a way of doing this (I understand you need to insert afield after country where you fill in these informations ,but how????)

 

Thanks.

Posted

Ok No bother.

I changed the define('TABLE_HEADING_COMMENTS', 'Add Comments About Your Order');

in both checkout_shipping.php and checkout_payment.php to

 

IF THE SHIPPING ADDRESS IS NOT DEFINED CORRECT eg, ZIP/POSTAL CODE SHOULD BE IN FRONT OF CITY. PLEASE WRITE HERE EXACTLY HOW YOUR SHIPPING ADDRESS IS DEFINED.

Example:

Your Name

Street

zip/postalcode,City

Country.

 

Now I just have to figure out how to change just that 'TABLE_HEADING_COMMENTS' to red in the stylesheet.css

So it will catch the buyers attention....

Posted

Ok.solved ......like this...(if somebody ever wants do do something simular)

 

In both checkout_shipping.php and checkout_payment.php

 

define('TABLE_HEADING_COMMENTS', '<font color="#ff0000">If the shipping address is not defined correct eg, zip/postal code should be infront of city. please write here <u>EXACTLY</u> how your shipping address is defined.<br><font color="#000000">Example:<br> Your Name<br>Street<br>zip/postalcode,City<br> Country.');

Archived

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

×
×
  • Create New...