Forums / Basic Configuration / Unable to delete country

Unable to delete country

Views: 1,258

Results 1 to 5 of 5
21 Apr 2014, 3:04 AM
#1
rivercity avatar

rivercity

Zen Follower

Join Date:
Jul 2009
Location:
Arkansas
Posts:
178
Plugin Contributions:
0

Unable to delete country

Hello,

I had my site originally set up to ship only within the U.S. but somehow, Canada showed up, not sure how. I wasn't aware until I received an order tonight from a Canadian customer.

I refunded the money and sent an email advising that I wasn't able to ship to their location. Afterwards, I logged into my admin, went to delete Canada from my country list but it wouldn't let me due to being linked to a customer. I went back and cancelled the original order and deleted it, then went and deleted the customer then logged off and back on to try but it still wouldn't let me delete it again saying it was linked to a customer.

How can I get it deleted?

Thanks

Jim

Jim Stiles
http://www.missyscollectibles.com
Coming home to Zen Cart!

21 Apr 2014, 1:06 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Unable to delete country

You would need to check the table:
address_book

and see who else is using Canada for the field:
entry_country_id

is set to 38 (the default of Canada) ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 Apr 2014, 1:15 PM
#3
rivercity avatar

rivercity

Zen Follower

Join Date:
Jul 2009
Location:
Arkansas
Posts:
178
Plugin Contributions:
0

Re: Unable to delete country

Ajeh:

You would need to check the table:
address_book

and see who else is using Canada for the field:
entry_country_id

is set to 38 (the default of Canada) ...

Thanks, if you have a sec could you tell me where to go to check that table?

Thanks again,

Jim

Jim Stiles
http://www.missyscollectibles.com
Coming home to Zen Cart!

21 Apr 2014, 1:49 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Unable to delete country

You would need to go to your phpMyAdmin to review that table in your database and locate which customer(s) are using Canada ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 Apr 2014, 1:57 PM
#5
rivercity avatar

rivercity

Zen Follower

Join Date:
Jul 2009
Location:
Arkansas
Posts:
178
Plugin Contributions:
0

Re: Unable to delete country

RiverCity:

Thanks, if you have a sec could you tell me where to go to check that table?

Thanks again,

Jim

That worked, got it deleted, had one other one in there I didn't know about.

Thanks again,

Jim Stiles
http://www.missyscollectibles.com
Coming home to Zen Cart!