Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How unpublish for only products with price 0 when his stock arrives to 0?


Alb3rt

Recommended Posts

Posted

Hello, someone can help whit this?, the products don't unpublish automatically, when his stock arrives to 0, I have the version 2.2 RC1 (have a lot of custom programation), and for now, unpublish manually, but is horrible.

 

If more information is needed I will put.

 

Thanks and hope which someone help me, I apologize if this has already been asked before, I have not been able to find.

Posted

Hello Steve, this is my configuration:

 

no1MIoN.png

 

The problem is I do not want to unpublish products with price > 0, but yes the samples (price = 0), when his stock arrive to 0.

 

Thanks for your quickly.

Posted

I tried to put this condition in index.php queries:

 

and p.products_price > '0'

 

after of this condition:

 

p.products_status = '1'

 

But nothing.

Archived

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

×
×
  • Create New...