Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Jan 2012
    Posts
    26
    Plugin Contributions
    0

    Default Which PHP Files For Shipping Addresses?

    Morning All :)

    Right I am trying to locate the PHP files that contain the FORM code for the shipping address and also the alternative shipping address, could some kind soul provide me with the paths to these please?

    Thanks in advance

    Chris

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Which PHP Files For Shipping Addresses?

    Silly question ... What do you need to change?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Jan 2012
    Posts
    26
    Plugin Contributions
    0

    Default Re: Which PHP Files For Shipping Addresses?

    Hello

    Thanks for the reply, I want to add and tweak the fax number field into a shipping telephone number field, it is a condition with our courier company that we supply telephone numbers for recipients, not to much of a hassle if a customer is sending to their own address however we have a number of customers that buy our offerings as gifts and send them direct to the gift recipient so I need to be able to take a telephone number for the person who is to receive the gift. There is an add on that some have tried to use however it is less than elegant and seems to need a lot of "maintenance" to get to work properly in 1.5.
    If I can access the form code I can add the field in and place it within the form where I need it, I realise I may have a little tweaking to do but my thinking is as the fax number field is already present within the code as an option it should be less work to alter this into what I need rather than trying to create my own add on from scratch.
    The cart is only being used in a test environment at the moment so it is the perfect time to experiment before I make the final move sometime over the weekend :)

    Thanks

    Chris

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Which PHP Files For Shipping Addresses?

    If you don't need the fax field, just change the text associated with it (in language files) and use it for the shipping address phone number.

    You can find the file yourself by pasting the text from the input label into Tools > Developers Toolkit (top box) and searching.

  5. #5
    Join Date
    Jan 2012
    Posts
    26
    Plugin Contributions
    0

    Default Re: Which PHP Files For Shipping Addresses?

    Hello, thanks for taking the time to reply :)

    The problem is that the fax number field only shows on customer registration, I need to actually add the amended field to the alternative shipping address form. The changing of the text seems quite straight forward I am just struggling finding the actual form code so I can add the field, I will then need to assign it within the PHP file that handles the alternative address so it sends it to the database (I think)

    It would be a hell of a lot easier if the fax field already showed up but sadly unless it is a new registration it does not As said the cart is in a test environment at the moment so no fears about breaking it, I have found the relevant PHP files but cannot locate the raw form code anywhere.

    The developers kit seems excellent, a really excellent feature however even this cannot locate the raw code for the form, I may be looking at this from the wrong angle, this seems the most common sense way of solving it.

    I do however hope the developers include this quite simple feature in a future update, as said here in the UK it is becoming the "norm" for courier companies to require a telephone number for a delivery recipient........................................

  6. #6
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Which PHP Files For Shipping Addresses?

    I think the form code is found in includes/modules/create_account.php.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 29 Apr 2013, 05:40 PM
  2. Replies: 2
    Last Post: 31 Jan 2013, 12:27 AM
  3. which config files for upgrade?
    By polygone in forum Upgrading to 1.5.x
    Replies: 7
    Last Post: 13 Aug 2012, 03:23 AM
  4. Customize center box on homepage - which php files to edit?
    By jennie in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 Feb 2008, 05:53 AM
  5. Replies: 10
    Last Post: 8 Jun 2006, 08:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg