Results 1 to 3 of 3
  1. #1
    Join Date
    May 2010
    Posts
    21
    Plugin Contributions
    0

    Default need to change product ID

    v1.3.9a

    a employee accidentally renamed an item instead of creating a new one. Then in an attempt to sort it out she deleted the one that was renamed. So now that product id #71 is gone. She recreated the missing product but the ID is #756 now so links around the internet are all busted and we likely lost the reporting for that ID?

    I'd like to rename that ID back to 71. I tried doing this in the database and that doesn't work (noob move I know).

    suggestions?

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: need to change product ID

    There are various tables the product id can appear in, and missing one while changing a product id would mess up the db. Ajeh would know the correct tables/fields - I've seen the info but can't find it now.

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

    Default Re: need to change product ID

    Let's step through this slowly ...

    Check the following tables and see if there is a reference to the OLD products_id 71 in any of them:
    products
    products_description
    products_to_categories
    specials
    featured
    products_attributes

    Next, check the following tables and see if there is a reference to the NEW products_id 756 in any of them:
    products
    products_description
    products_to_categories
    specials
    featured
    products_attributes
    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!

 

 

Similar Threads

  1. Replies: 1
    Last Post: 8 Jan 2014, 06:25 PM
  2. Need help to SQL change the Product Add Date
    By explorer1979 in forum General Questions
    Replies: 2
    Last Post: 1 Sep 2012, 03:22 PM
  3. Replies: 3
    Last Post: 14 Jun 2010, 08:12 PM
  4. Product Listing Page - Model Number - Need to change color
    By beyre in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 24 Feb 2010, 12:30 PM
  5. SQL Help - Need To Change Product Type
    By robinstl in forum General Questions
    Replies: 5
    Last Post: 16 Dec 2008, 02:45 AM

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