added the trends model and fixed the cart total issues for public activity