Add show purchased items functionality