I found a problem on my Drupal 7 site, when a certain user role who has paid for a subscription is viewing their own profile, they see a $0 underneath their profile information. See screen grab attached. I also attached a screen grab so you can see the code as well.

This particular account successfully made their 1st payment and the subscription, which is a 1 month interval will get taken out 7/25/15. How would I get the $0 removed, how would I hide it? As you see in the code there really is no particular div around it besides the main profile and I can't hide that.

Please let me know, thanks.

Also, how would I adjust the verbiage "Expiring roles"?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

TR’s picture

Status: Active » Fixed

I don't know where the $0 is coming from, but it's not core Ubercart. Perhaps uc_recurring or some other contributed module you have installed. Perhaps the module that adds the "Personal information" category on that /user/%uid page. One thing I don't see is the "History" category, which should show up below "Expiring roles" and contain a link to the user's order history.

To change "Expiring roles", you would use the StringOverrides module or implement hook_user_view_alter() in your own module.

fineartist99’s picture

Thanks TR, I do not know how to do what you say but another developer can help me out that knows how to implement hook_user_view_alter()

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.