nicolas wrote: Hi,
First, regarding the product_created column, I don't see why that would happen. It definitely doesn't on our end. It's the product_modified column which is updated when you update the product information.
As far as I remember, product_created column is updated by product import and Product Cron Update plugin.
@Cattelan
I created a custom field date_created_order containing product_created value prefixed with 9 or 8 (product out of stock) and set menu item to order products by this field.
1. Create custom field as at picture 1
2. Create mass action as at picture 2
Value for operation in Actions section is:
CONCAT(IF(`product_quantity`=0 ,'8','9'), CAST(product_created AS CHAR))
3. click Process button to update custom field for all products
4. set ordering in menu to date_created_order at Products Options tab
If you have a lot of products and you know how, consider adding index to date_created_order column or convert this column to VARCHAR