VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 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  

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.

VP-ASP New User

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.

Go to Top of Page

VP-ASP Expert

723 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.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000