Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Delete old products & categories during upload

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-04-2004, 01:22 PM
 
willirl willirl is offline
 

eXpert
  
Join Date: Mar 2004
Location: OHIO
Posts: 271
 

Default 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?
__________________
Richard

x-cart version 4.0.17
http://roguewavemarine.com
Reply With Quote
  #2  
Old 11-06-2004, 11:42 AM
 
willirl willirl is offline
 

eXpert
  
Join Date: Mar 2004
Location: OHIO
Posts: 271
 

Default 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.
__________________
Richard

x-cart version 4.0.17
http://roguewavemarine.com
Reply With Quote
  #3  
Old 11-07-2004, 02:55 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

i suppose its your personal preferance
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #4  
Old 11-08-2004, 06:10 AM
 
willirl willirl is offline
 

eXpert
  
Join Date: Mar 2004
Location: OHIO
Posts: 271
 

Default

Apparently.
__________________
Richard

x-cart version 4.0.17
http://roguewavemarine.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:44 AM.

   

 
X-Cart forums © 2001-2020