Fix product display history, avoid to rely on flash message