dynamically show transaction history in both user page and product page