I am having an issue where if a user adds various products to a cart and does not purchase commerce is issuing an order number, if that person then then comes back a few weeks later and empties the cart and buys a different product then commerce is giving the complete order a new order number but leaving the old cart in 'shopping carts'.

How do I fix this?

Comments

noovocreative created an issue. See original summary.

czigor’s picture

Status: Active » Fixed

Hi noovocreative,
You can configure a cron job to remove old cart orders. commerce_stock_reserve_cron() in http://cgit.drupalcode.org/commerce_stock_reserve/tree/commerce_stock_re... is doing something similar, in case you need a starting point. It does not remove the order itself, only its line items.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.