Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Second address line module


egweimai

Recommended Posts

Hello I have installed the above module (http://addons.oscommerce.com/info/1855) on a fresh install of a sts rc2.2a

 

It works like a charm on create_account.php in admin and in address_book.php (it displays correctly)

However, on address_book_process.php, desite having followed install instructions to the word, it does not display the second line field. This happens when a user tries to edit their current address (which has a 2nd street line) but also when adding a new address to their address book.

 

I have noticed that it only displays those fields which are mandatory (street line 2, isnt)... i dont know if thats got anything to do with it....

 

Anyway, any help would be good!

 

Thanks

Link to comment
Share on other sites

on address_book_process.php, desite having followed install instructions to the word, it does not display the second line field.

some modules are incomplete in contribution database, you will need to complete yourself.

Edited by web-project

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

do you know where address_book_process gets the fields from?

 

In an attempt to discover this, I have removed the name, first line address field which are before the code I added from the contrib in the address_book_process.php file BUT they did not remove these fields from the page.....

 

this makes me believe that address_book_process must draw the fields from another place/file....

Link to comment
Share on other sites

do you know where address_book_process gets the fields from?

 

In an attempt to discover this, I have removed the name, first line address field which are before the code I added from the contrib in the address_book_process.php file BUT they did not remove these fields from the page.....

 

this makes me believe that address_book_process must draw the fields from another place/file....

 

 

There are files in modules that some account pages use.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

In file address_book_process.php there is following line

<?php include(DIR_WS_MODULES . 'address_book_details.php'); ?>

 

This is telling you that the file includes/modules/address_bok_details.php is getting included (in the case of add or edit address.) Going to this file you'll see all input fields listed

Edited by multimixer
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...