Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Greyerash

Pioneers
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Greyerash

  1. I installed this mod and it works great except for one thing. When I go to admin>orders.php and select an order, the customer's phone number does not show up. The delivery phone and billing phone shows up, but not the original number. This is bad if the customer does not enter a different shipping address, now we have no way of contacting them. I have 100's of customers who will be reordering, I need to get their home phone number. The numbers are still in the database in the customers table under customer_phone, but the new orders page seems to be taking all the numbers from the address book table in entry_telephone. Since this field was just created, it is empty for all the old customers. How do I get the customers phone number to show in the orders.php page?

     

    Dan

    To have the original customer phone number to show up go to includes/classes/order.php

     

    Find $customer_address_query

     

    and add this c.customers_telephone to it.

     

    after this line: 'format_id' => $customer_address['address_format_id'],

     

    add 'telephone' => $customer_address['customers_telephone'],

     

     

    That's it. Hope it helps

×
×
  • Create New...