X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Delete old products & categories during upload (https://forum.x-cart.com/showthread.php?t=10205)

willirl 11-04-2004 01:22 PM

Delete old products & categories during upload
 
I'm considering a mod to delete old products, i.e. products on the store but not in the upload, and empty categories during an upload.

I'm undecided whether to actually delete the product or just mark it disabled (i think i can do that). This came to light when a customer noticed that his order showed something like "Product deleted from database". I assume that if you delete a product that product no long shows up on any orders. (not very nice behavior). Further I am assuming that if you mark it as disabled, it will still show up on all orders.

Anyone have any insights into this matter?

Anyone have code to do this?

willirl 11-06-2004 11:42 AM

Delete product or disable?
 
Maybe I need to ask a more general question.

When you don't want to sell a particular product any more do you delete it or do you mark it hidden or disabled?

If you delete it then all past orders for that item will show the item as "deleted from database" or similar.

shan 11-07-2004 02:55 PM

i suppose its your personal preferance

willirl 11-08-2004 06:10 AM

Apparently.


All times are GMT -8. The time now is 11:06 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.