In commerce_cart_order_refresh() we load every product attached to an order one by one while refreshing it. Not really fabulous for performance.

The point is just to reset the price calculation, so we can do better now that we store the original price structure in 'original'.

Comments

damien tournoud’s picture

Status: Active » Needs review
StatusFileSize
new1.53 KB
rszrama’s picture

Status: Needs review » Fixed

Testbot says it's fine, and my local test with a product pricing rule worked as expected. Commit ahoy!

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