Results 1 to 3 of 3
  1. #1
    Join Date
    May 2006
    Posts
    40
    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!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

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

    Interesting concept ... and no you cannot ...

    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: v1.5.5]
    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!

  3. #3
    Join Date
    May 2006
    Posts
    40
    Plugin Contributions
    0

    Default 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!

 

 

Similar Threads

  1. v150 Changing number of items shown in admin side of the cart
    By FeelGoodWatches in forum Basic Configuration
    Replies: 1
    Last Post: 10 Sep 2012, 05:36 PM
  2. Control which side box is shown in a certain position depending on the page shown?
    By enzo-ita in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 28 Nov 2011, 10:14 AM
  3. Changing the URL in the Order Confirmation when running site in iframe
    By ibuttons in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 30 Dec 2010, 06:03 PM
  4. changing the default product URL
    By davidhwalker in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 13 Aug 2006, 10:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR