Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customer address change from admin - UPDATE


TB

Recommended Posts

Hi all,

 

Link to contribution (by Richard Harrod):

http://www.oscommerce.com/community/contributions,118

 

If you're running the 'admin customer change' contibution and have noticed that an error appears when you 'double click' the customer in the admin to edit their details then this update is for you.

 

Search for the following code: (around line 560 - 600)

echo '          <tr class="dataTableRowSelected" onmouseover="this.style.cursor='hand'" onclick="document.location.href='' . tep_href_link(FILENAME_CUSTOMERS, tep_get_all_get_params(array('cID', 'action')) . 'cID=' . $cInfo->customers_id . '&action=edit') . ''">' . "n";

 

and replace it with this code:

echo '          <tr class="dataTableRowSelected" onmouseover="this.style.cursor='hand'" onclick="document.location.href='' . tep_href_link(FILENAME_CUSTOMERS, tep_get_all_get_params(array('cID', 'aID', 'action')) . 'cID=' . $cInfo->customers_id . '&aID=1' . '&action=edit') . ''">' . "n";

 

Hope this helps...

Tony

"The price of success is perseverance. The price of failure comes much cheaper."

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...