Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Second Address Field Mod... er Mod


Guest

Recommended Posts

OK, I installed the Second Address Field mod and all went well (yay!).

 

However, my intention was to modify that mod so that it could be used as a "Is residential Address?" checkbox for shipping UPS and avoiding back charges.

 

I've gotten as far as moving the input field from the center of the address section down to the bottom of the list and changing the input field a into a checkbox.

 

However, now, when viewing your address in address_book.php I get the following for the output of the address:

 

Company

First Last

123 Street Ln.

on

City, St Zip

Country

 

The 'on' in the list is the key, it's the fact that I checked the box and save the address back out. However, what I need to know is:

 

1. How can I make the address show 'on' at the bottom?

2. How can I make it say 'Residential Address' instead of 'on'?

 

Any help is greatly appreciated.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...