Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

erase sold items or hide them?


hellohello

Recommended Posts

Posted

Hello,

 

Before I will dive deep into the code and try to make something in php, I'd like to ask if it aint already done ;)

 

Most items I'm selling is e-bay like - I have one or two same things, which when sold, I will never have again. I'd like to sell the item and erase it completly from the database (noone other will be able to buy or even view the same thing), eventually move it to "sold", so if the buyer won't pay, I'd be able to move his order back to store.

 

Does anyone have solution for this or is it already implemented in OSC?

 

Thank you!

Posted

You can "deactivate" a product.

 

The Easy Populate contribution is an easy way to use it. Just read the documentation for a good how to.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted
You can "deactivate" a product.

 

The Easy Populate contribution is an easy way to use it. Just read the documentation for a good how to.

 

Hi, thank you for fast reply. I have read all 114 pages of documentation PDF prior to asking. A lot of useful info there, but I haven't found solution for my problem. I have tried also find word "deactivate" in PDF to be sure I haven't overlooked what you advised, but no luck.

 

I know I can deactivate the product in admin panel, that's good, but how to deactivate the product "automatically" when it is sold?

 

Could you please provide me with a more specific help? Or a link to online documentation if there is some?

 

Thank you again.

Posted

To automatically delete the product you would have to detect it had been sold and then set the active flag.

 

EP will not do this out of the box but an sql to deactivate all zero stock items in a certain category is possible.

 

EP is a contribution and includes some good documentation.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted
To automatically delete the product you would have to detect it had been sold and then set the active flag.

 

EP will not do this out of the box but an sql to deactivate all zero stock items in a certain category is possible.

 

EP is a contribution and includes some good documentation.

Thanks, but no. Oscommerce can do this automatically, just found it out :)

 

Admin->Configuration->Stock->Allow Checkout - set to false

 

The product is automatically deactivated when sold, so no longer displayed to other buyers. This is exactly what I needed.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...