Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Posts
    9
    Plugin Contributions
    0

    Default Deleting Products

    If I delete a product, what happens to records in the order table that refer to it? Will I lose those records? I've got many I want to delete, but I'm paranoid...

    Thanks

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

    Default Re: Deleting Products

    In theory the data you need is stored in the orders tables following each order so it should not be a problem deleting products that you sold ...

    However, anything related to reporting that is pulling data from the products tables will be effected ...

    If the reports, displays, etc. are only referencing the orders tables, then again, you are fine to delete the product itself ...

    Another way to manage this is to set the products_status to 0 so it does not show in the catalog but you retain the information in the admin ...
    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!

  3. #3
    Join Date
    Jun 2005
    Posts
    9
    Plugin Contributions
    0

    Default Re: Deleting Products

    My main concern is removing the files (they are downloadable products.) I suppose I could just remove the files, leave the product records in place and just set products_status to 0. I think the only ill effect would be that the attribute controller will flag the files as missing, right?

    Thanks for your help

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

    Default Re: Deleting Products

    If you are on unix and use redirects then the files expire on the customer's order and the files cannot be downloaded in any manner as they are accessed via symbolic links and cannot be directly obtained ... unless something is configured wrong on your server ...

    Deleting the downloads or moving to a private directory will prevent that problem for sure ...
    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!

 

 

Similar Threads

  1. deleting products
    By yalus in forum General Questions
    Replies: 0
    Last Post: 30 Dec 2010, 02:22 PM
  2. deleting products
    By webman2041 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 1 Apr 2010, 04:11 PM
  3. Deleting products in Specials and Featured Products
    By arrow in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Nov 2007, 05:30 PM

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