osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Edit any customer address in administration

This is a discussion on Edit any customer address in administration within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Someone discovered that my original contribution broke if an invalid entry (such as not enough characters in a name) was ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Welcome to osCMax Join osCMax Now! Download osCMax Here
Reply

 

LinkBack Thread Tools
  #1  
Old 11-01-2008, 04:00 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,482
Thanks: 83
Thanked 356 Times in 334 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Edit any customer address in administration

Someone discovered that my original contribution broke if an invalid entry (such as not enough characters in a name) was made during address entry and the update process reloaded the information for the address with the invalid fields editable. The revised instructions attached here fix the problem.

For those that have already installed this contribution the fix is quite simple as detailed below.

1) Immediately before the code you added in step 2d add the following line:



2) Immediately after the code you added in step 2d add the following line:



3) Replace EVERY instance of address_firstname with entry_firstname. This is true whether it occurs as part of a variable name or inside quotes. There should be a total of 13 replacements made.

4) Replace EVERY instance of address_lastname with entry_lastname. Again this is true whether it occurs as part of a variable name or inside quotes and once again there should be a total of 13 replacements made.

Steps 3 and 4 of the correction allow the variable reload to work properly.

More...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Edit any customer address in administration michael_s New osCommerce Contributions 0 10-22-2008 05:10 PM
What's up with the hanging ?> on Edit Address Page Dubious osCMax v2 Installation issues 2 10-13-2006 10:19 AM
Defect: Edit/New Address (modules/address_book_details.php) met00 osCMax v2 Customization/Mods 0 02-23-2006 03:49 PM
customer cannot edit address battleaxe osCommerce 2.2 Modification Help 0 09-08-2005 04:27 AM
edit/delete customer address bug! cutxpaste osCommerce 2.2 Modification Help 2 11-13-2003 04:30 PM


All times are GMT -8. The time now is 03:26 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax