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"?
Comment | File | Size | Author |
---|---|---|---|
Screen Shot 2015-07-01 at 1.19.28 AM.png | 106.64 KB | fineartist99 | |
Screen Shot 2015-07-01 at 1.06.40 AM.png | 31.79 KB | fineartist99 |
Comments
Comment #1
TR CreditAttribution: TR commentedI 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.
Comment #2
fineartist99 CreditAttribution: fineartist99 commentedThanks 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()