Jump to content

Reseting/ managing product_id?


Recommended Posts

Hi guys

 

I am having hard to on managing my product_ids within my shop, after a couple deletions my product_id starts skipping. for example i would have id form 1 ~ 5 and then 9~13 and 18~21

 

Now I am just trying make them all continues again so that i could keep track of them easily in the future.

 

i really need your help:)!!! thank you!!

Link to comment
Share on other sites

hmm but altering will not crash the db in this case? there are some rows related to the products, in this case it will be also necessary to change other database fields where the id_product field are stored

 

just thinking ;)

Link to comment
Share on other sites

hmm but altering will not crash the db in this case? there are some rows related to the products, in this case it will be also necessary to change other database fields where the id_product field are stored

 

just thinking ;)

 

 

Well, not if you deleted all products coming next, as this is the only table which auto increments the product id as far as I know. All the related ones us INSERT_ID to get it from that table

Link to comment
Share on other sites

×
×
  • Create New...