Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How do I edit product ID number?

How do I edit product ID number?

Views: 1,203

Results 1 to 7 of 7
16 Feb 2011, 10:08 AM
#1
robertwebsite avatar

robertwebsite

New Zenner

Join Date:
Jan 2011
Posts:
42
Plugin Contributions:
0

How do I edit product ID number?

How do I edit the product ID # ?

I am having layout issues in my custom showcase b/c I need to change the product ID # on a couple products.

16 Feb 2011, 10:17 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I edit product ID number?

ID is not editable and only you see it

What issue are you having?

16 Feb 2011, 10:25 AM
#3
robertwebsite avatar

robertwebsite

New Zenner

Join Date:
Jan 2011
Posts:
42
Plugin Contributions:
0

Re: How do I edit product ID number?

Thanks for the response.

My custom slider at the top has 10 items that refer to items 140 to 150. I accidentally deleted 2 of those items, 149 and 150. The slider cannot be changed to reference different ID #'s. When I go to create new products the ID's are already in the 250's. How do I create a 149 and 150 again ?

16 Feb 2011, 10:32 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I edit product ID number?

You can not from any interface

If you know wbout the cross indexing in the DB for cats, products, etc one could edit the tables to re-establish them

Might be a lot easier to determine the slider code

As to why it started at 140 & not some other sequence

16 Feb 2011, 2:25 PM
#5
robertwebsite avatar

robertwebsite

New Zenner

Join Date:
Jan 2011
Posts:
42
Plugin Contributions:
0

Re: How do I edit product ID number?

Thanks again Kobra.

Know any good articles or urls for doing the db tables edit ?

16 Feb 2011, 3:23 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I edit product ID number?

Know any good articles or urls for doing the db tables edit ?
Quite frankly, if you have to ask, you probably should not be attempting this

Trying to tutor the complexities of the relationships in the ZenCart DB structure is far beyond the forum venue

So now that I have warned you and you will most likely make an attempt anyway

Do not do this in a live install, make a DB backup copy in case things go wrong

Get a good code editor that can handle a large sql file size

And review the table/record structure making note of the indexes

Make your alterations and try it

Remember if is crashes you have a backup

16 Feb 2011, 4:44 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How do I edit product ID number?

I believe Ajeh posted the steps and tables/fields to look at, not long ago...