Deletion of abandoned carts

every day someone or something deletes our abandoned carts; Have you had any experience like this?

The system automatically deletes abandoned carts older than 30 days with the exception of registered users.

Can you tell me why it happens to me every day?

Is it only abandoned carts that are older than 30 days? If so, the system checks daily for abandoned carts older than 30 days and deletes them.

no, it deletes all my abandoned carts, even those from yesterday

This issue has to be examined directly in your installation. Please contact us via Help Desk on this matter.

Can the 30 day setting be changed to 14 days anywhere

This value is hardcoded, the only way to change it is to change the core file. I do not recommend doing this, but in app/functions/fn.init.php you can find the following line of code:

db_query("DELETE FROM ?:user_session_products WHERE user_type = 'U' AND timestamp < ?i", (TIME - SECONDS_IN_DAY * 30));

and change this SECONDS_IN_DAY * 30 value to the one you need.