Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Mar 2010
    Location
    Nottingham UK
    Posts
    87
    Plugin Contributions
    1

    Default Company name before name??

    Hi all,


    not 100% sure if this is the correct place for this post. But just have a quick query really:

    why does customer shipping/billing address within checkout show company name before the customers name and address? Is this how its supposed to be.

    I have tried changing the address format for the country but this doesn't move company name. Can i move the company name between the fits/last name and first line of the address?


    thanks!

  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Company name before name??

    In Admin > Tools > Developers Toolkit do a search for 'company' (without the quotes) and then look for the relevant template file tpl_ etc etc

    Then in that file move the relevant company div to where you want it.

    Don't forget to backup before you are attempting to do this.

  3. #3
    Join Date
    Mar 2010
    Location
    Nottingham UK
    Posts
    87
    Plugin Contributions
    1

    Default Re: Company name before name??

    Quote Originally Posted by frank18 View Post
    In Admin > Tools > Developers Toolkit do a search for 'company' (without the quotes) and then look for the relevant template file tpl_ etc etc

    Then in that file move the relevant company div to where you want it.

    Don't forget to backup before you are attempting to do this.
    Hi Frank,

    Thanks for the reply but i'm still struggling. I can't find the company name divs, that reside just before the rest of the address details. I'm not looking to move the fields that customers edit with, just where it is listed with the edit button to the side.

    I think it might even be down to the way that zen pulls fields from the customer details database. As the field for company name is before the rest.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Company name before name??

    That's happening because the address-format does NOT include the company name, so what you're seeing is a result of displaying the company name, followed by the formatted address (formatted using the address-format specified for the country in the address).
    It's the way it was architected by osCommerce, and inherited here. One day we may rewrite it the way it should have been written, but yours is the first complaint about it that I've seen in years.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Mar 2010
    Location
    Nottingham UK
    Posts
    87
    Plugin Contributions
    1

    Default Re: Company name before name??

    Quote Originally Posted by DrByte View Post
    That's happening because the address-format does NOT include the company name, so what you're seeing is a result of displaying the company name, followed by the formatted address (formatted using the address-format specified for the country in the address).
    It's the way it was architected by osCommerce, and inherited here. One day we may rewrite it the way it should have been written, but yours is the first complaint about it that I've seen in years.
    Sorry Dr Byte


    I didn't mean it to sound like a complaint. I just suspected that it would be easy enough to swap around. Generally, in the UK, the contact name comes before company name. Its only a minor thing and i shouldn't imagine it would stop an item being delivered etc...

    It would be nice to mayb have the option in the future though please. Thanks!

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Company name before name??

    Noted !
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Jun 2010
    Posts
    3
    Plugin Contributions
    0

    Default Re: Company name before name??

    H, I am also very interested in this possibility :)

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Company name before name??

    Why ?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v154 Company Name after Customer Name Support
    By dw08gm in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 24 Aug 2015, 07:08 AM
  2. v151 Company Name after Customer Name (instead of before)
    By dw08gm in forum General Questions
    Replies: 3
    Last Post: 8 Oct 2014, 11:42 AM
  3. Show store name before product name in title tag
    By askjv in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 Mar 2010, 06:39 PM
  4. Paypal RETURN TO shows my real name instead of company name
    By tuanle55 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 28 Jul 2008, 03:47 AM
  5. Company name vs Customer name at registration
    By sanji in forum Managing Customers and Orders
    Replies: 4
    Last Post: 28 Jan 2008, 10:57 AM

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