Craft 2 Commerce 1 cart session expiry Is it possible to change the cookie timeout just for the cart?  E.g. I'd like to clear abandoned carts after X hours and keep all the other sessions untouched (e.g. user sessions etc).

Please advise anyone!
Create a commerce.php config file in your config folder and set the cartCookieDuration to a time interval. The default is 3 months.

&lt;?php
return [
    'cartCookieDuration' =&gt; 'P3M',
    'purgeInactiveCarts' =&gt; true,
    'purgeInactiveCartsDuration' =&gt; 'P3M',
];