Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-ASP 7.0 Questions
 Does CategoryId Have To Be Sequential?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rrempala
Starting Member

1 Posts

Posted - May 03 2012 :  18:58:45  Show Profile  Reply with Quote
Do the CategoryId's in the Categories table need to be sequential numbers?

In our retail store, category numbers are in ranges depending on the type of product... 1000 series are Womens Clothing products, 2000 series are Mens Clothing products, etc.

I would like to keep the category numbers consistent between the retail and online stores.

pdieppa
VP-CART New User

USA
86 Posts

Posted - May 08 2012 :  12:25:41  Show Profile  Reply with Quote
I don't think it has to be but the number is autogenerated by the database, so be careful if you manipulatae the data manually in the database.

PD
Go to Top of Page

diegomilito
VP-CART Expert

Argentina
779 Posts

Posted - June 02 2012 :  05:13:08  Show Profile  Reply with Quote
category ids are autogenerated numbers in db, they cannot be edited because it is a primary key in categories table.
the field category id can be used in other tables so they are related. if you update certain category ids , it will causing other tables that have this relation becoming incorrect.

Diego.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00