Forums / Setting Up Categories, Products, Attributes / Changing product ID's (shown in the URL)

Changing product ID's (shown in the URL)

Locked

Views: 1,348

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
27 Sep 2006, 12:27 AM
#1
empirenine avatar

empirenine

New Zenner

Join Date:
May 2006
Posts:
37
Plugin Contributions:
0

Changing product ID's (shown in the URL)

When setting up a few demo products, the product ID was created for me automatically. I'm referring to the number that shows up in the URL: "products_id=180". I think they're also referred to as "master category id", but I'm not certain. And being that I can't use "ID" in a search on this forum because its too short, I needed to post!

Is there a way to change this number for each product to a number of my choosing? I have products that are gender specific and I would prefer to keep the ID structure I created (for ease of fulfillment). This would mean a girls "Audi" t-shirt would have a product ID of 181, and the men's version would have an ID of 281.

I need to be able to edit those product ID's. Any ideas? Thanks!

LMNOtees.com - Wear your humor on your sleeve!

27 Sep 2006, 3:32 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Changing product ID's (shown in the URL)

Interesting concept ... and no you cannot ... :cry:

The products_id has no relation to the master_categories_id ...

The master_categories_id is the Category that "owns" the Product when the Product is a Linked Product ...

The products_id itself is assigned as a purely unique tracking or pointer of a Product and is assigned as "next" number up for grabs ...

It is not designed to allow for manual assignment nor would this work well in the long run as Products get deleted, copied etc.

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

27 Sep 2006, 5:03 AM
#3
empirenine avatar

empirenine

New Zenner

Join Date:
May 2006
Posts:
37
Plugin Contributions:
0

Re: Changing product ID's (shown in the URL)

I was afraid that was the answer.

I've already created a Javascript function that grabs the ID from the URL in order to assign images and links to identical items in the opposite ***. It will still work for me, but there won't be any system to the ID's. Oh well!

Thanks for confirming this!

LMNOtees.com - Wear your humor on your sleeve!