Can anyone help, I need to adjust the code for the new products page so it also reads the date modified field, this way if I increase a products stock it will show up in the new stock page.
Can anyone help, I need to adjust the code for the new products page so it also reads the date modified field, this way if I increase a products stock it will show up in the new stock page.
Date modified is not a reliable indicator of being back in stock, as it will be reset any time you touch a product.
I modified a copy of the zen_get_new_date_range() function to also show products if the products_date_available field is current; then a test in the product icons function on this field will flag as "back in stock" for appropriate items in the new products or product listing.
I still have some testing to do to make sure it all works together. Will let you know when it is ready.
wow, your skills know no bounds!
I wish :)