Prepare items (and so process bulk actions) *before* printing sales data etc (updates #23465)