Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2006
    Posts
    32
    Plugin Contributions
    0

    Default Customer company name not showing up on Edit, Invoice or Packing Slip pages

    I just updated my store to zen-cart-v1.5.6a and noticed that the customers company name shows up on the Orders page but not on the Edit, Invoice or Packing Slip pages.
    I just created a brand new fresh install store with the sample information, placed a test order and got the same result. No Company name.

  2. #2
    Join Date
    Mar 2005
    Posts
    58
    Plugin Contributions
    0

    Default Re: Customer company name not showing up on Edit, Invoice or Packing Slip pages

    I too have seen this occurring in 1/5/6a and have not been able to find the file/files related to this. Hope someone comes along that can explain how to fix this behavior since we usually copy and paste the customers shipping information from the invoice and do not know any other way to view the shipping address they suppy on the order.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Customer company name not showing up on Edit, Invoice or Packing Slip pages

    Looks like may have had some changes in the previous file that were not followed through completely. After following the bouncing ball, the issue appears to be in includes/functions/functions_customers.php in the zen_address_format function.

    Lines 86 and 87 are affected, so from ZC 1.5.6/a change:
    Code:
    [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]    if (ACCOUNT_COMPANY == 'true' && !empty($adress['company']) && false === strpos($fmt, '$company')) {
            $address_out = $address['company'] . $address['cr'] . $address_out;
    to:
    Code:
    [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]    if (ACCOUNT_COMPANY == 'true' && !empty($address['$company']) && false === strpos($fmt, '$company')) {
            $address_out = $address['$company'] . $address['$cr'] . $address_out;
    Captured in pull request #2114: [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]https://github.com/zencart/zencart/pull/2114/files[/FONT][/FONT]
    [/FONT]
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Mar 2005
    Posts
    58
    Plugin Contributions
    0

    Default Re: Customer company name not showing up on Edit, Invoice or Packing Slip pages

    Quote Originally Posted by mc12345678 View Post
    Looks like may have had some changes in the previous file that were not followed through completely. After following the bouncing ball, the issue appears to be in includes/functions/functions_customers.php in the zen_address_format function.

    Lines 86 and 87 are affected, so from ZC 1.5.6/a change:
    Code:
    [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]    if (ACCOUNT_COMPANY == 'true' && !empty($adress['company']) && false === strpos($fmt, '$company')) {
            $address_out = $address['company'] . $address['cr'] . $address_out;
    to:
    Code:
    [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]    if (ACCOUNT_COMPANY == 'true' && !empty($address['$company']) && false === strpos($fmt, '$company')) {
            $address_out = $address['$company'] . $address['$cr'] . $address_out;
    Captured in pull request #2114: [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]https://github.com/zencart/zencart/pull/2114/files[/FONT][/FONT]
    [/FONT]
    Thank you. Invoices and packing lists now contain the company name as expected :)

  5. #5
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Customer company name not showing up on Edit, Invoice or Packing Slip pages

    Quote Originally Posted by gtgeorge View Post
    Thank you. Invoices and packing lists now contain the company name as expected :)
    Welcome. Glad that you joined in on identifying it as an issue as a second individual. With as much as ZC offers and does, the eagle eye of the community is what helps get things addressed.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Sep 2006
    Posts
    32
    Plugin Contributions
    0

    Default Re: Customer company name not showing up on Edit, Invoice or Packing Slip pages

    Thank you mc12345678! Works great now.

  7. #7
    Join Date
    Mar 2018
    Location
    Perth, WA
    Posts
    10
    Plugin Contributions
    1

    Default Re: Customer company name not showing up on Edit, Invoice or Packing Slip pages

    Quote Originally Posted by mc12345678 View Post
    Looks like may have had some changes in the previous file that were not followed through completely. After following the bouncing ball, the issue appears to be in includes/functions/functions_customers.php in the zen_address_format function.
    Great work, thanks mc12345678!

  8. #8
    Join Date
    Sep 2013
    Location
    Texas
    Posts
    304
    Plugin Contributions
    0

    Default Re: Customer company name not showing up on Edit, Invoice or Packing Slip pages

    Quote Originally Posted by millsii View Post
    Great work, thanks mc12345678!
    Good Job Guys!!
    I spent half a day trying to track this down and finally gave up and searched the forum and found this .
    Works Now.

    Thanks for your time and help!!!!!!!!

 

 

Similar Threads

  1. v150 Edit, Packing Slip, Invoice pages do not appear in admin
    By cathead2012 in forum General Questions
    Replies: 9
    Last Post: 4 Mar 2013, 07:32 PM
  2. Customer details not appearing on Packing slip and Invoice
    By richardsnowstar in forum General Questions
    Replies: 0
    Last Post: 4 Nov 2010, 11:25 PM
  3. Company details on packing slip/invoice
    By bertles86 in forum Managing Customers and Orders
    Replies: 1
    Last Post: 30 May 2010, 05:46 PM
  4. Change font on company address on the top of an Invoice or Packing slip
    By kiddykool1 in forum Managing Customers and Orders
    Replies: 0
    Last Post: 4 May 2008, 09:25 PM
  5. Removing company name from packing slip
    By hboospumpkin in forum Managing Customers and Orders
    Replies: 3
    Last Post: 28 Apr 2007, 08:09 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR