Forums / General Questions / Resetting category and product numbers

Resetting category and product numbers

Started by glock1 on 1 Jan 2012, 7:06 PM · Views: 572

Results 1 to 3 of 3
1 Jan 2012, 7:06 PM
#1
glock1 avatar

glock1

Zen Follower

Join Date:
Sep 2011
Posts:
118
Plugin Contributions:
0

Resetting category and product numbers

Previously I was uploading a 14k product csv file in stages. Now, I have narrowed that down to 4k products and am ready to upload it all at one time.

I want all my category id #'s and product numbers reset before I do.

I have deleted all the products and categories before and uploaded new only to find it picked up where it left off.

How do i get it to start over at 1? :unsure:

4 Jan 2012, 9:08 AM
#2
glock1 avatar

glock1

Zen Follower

Join Date:
Sep 2011
Posts:
118
Plugin Contributions:
0

Re: Resetting category and product numbers

I found the AUTO-INCREMENT place in the MyPHPAdmin to change this. I reset it and the product #'s. Started them both over at 1. :cool:

AND, it still works. lol

4 Jan 2012, 4:32 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Resetting category and product numbers

Hopefully you removed ALL database references to products and categories - including any historical test purchases / orders and the associated order histories.

There are a LOT of places where zc uses ID's for relational data, and missing just one of these can cause problems later.

20 years a Zencart User