Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Editing an Order changes Country to a number
Author « Topic »  

knowwareman
Starting Member

USA
7 Posts

Posted - 07/29/2025 :  10:28:54  
Just upgraded to 7.7.8.
Editing an order causes the Bill/Ship country to change to the country number, not the country.
Didn't actually edit the country field, just other fields.

Jay Arthur

Vince
Administrator

43061 Posts

Posted - 07/30/2025 :  04:59:45  
Hi Jay
I just tried here and that doesn't happen on my test site and I have to say, nothing has changed in that area in quite a while. Have you got any edits or modifications on the site?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

knowwareman
Starting Member

USA
7 Posts

Posted - 07/30/2025 :  05:58:14  
Not to that part of incorders.php.
Change seems to happen after I save a edit. Correct beforehand.
If I change the country, I still get a number, not a country.

Jay Arthur

Phil
ECT Moderator

United Kingdom
7767 Posts

Posted - 07/30/2025 :  07:36:27  
quote:
Not to that part of incorders.php


I've just tested here and all's fine

Would it be worth temporarily uploading an unmodified version of incorders.php to see if it sorts out the issue?



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Edited by - Phil on 07/30/2025 07:58:43

knowwareman
Starting Member

USA
7 Posts

Posted - 07/30/2025 :  10:20:30  
In vsadmin 7.7.8, inorders.php code to edit the country is:

print '<option value="' . $rs2['countryID'] . '"';
This puts in a country number (e.g., 1 for USA) instead of the name.

I installed the old code, and it works to put in the country name correctly:

print '<option value="' . htmlspecials($rs2['countryName']) . '"';

FYI

Jay Arthur
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000