joew36:
We have a site that liquidates products for others. So, our inventory changes daily and items sell out all the time. Products automatically turn off when sold out, but how would I go about setting up a procedure (chron, php, mysql) to turn off sold out categories?
frank18:
Don't think it will work since in our case the function
**zen_count_products_in_category()
**is looking for inactive products but not for products which are sold out (stock = 0) but still active.So IMHO one would first need to set a sold out product to inactive.
Bolded above indicates that the products are turned off/inactive, therefore meetiing the rewuirement that is humbly suggested. Unless this additional post is related to a different issue/situation than posted by the OP.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...