My Membership addon creates a dedicated page in the WooCommerce "My Account" area where customers can view all their membership information at a glance. No more confusion about expiration dates, remaining downloads, or membership status β everything is clearly displayed in one beautiful dashboard.
What It Does
Membership Overview
Displays membership details: product name, purchase date, type, and status.
Expiration Tracking
Shows expiration date with countdown for time-based memberships.
Download Quota
Visual progress bar showing used vs. remaining downloads.
Smart Alerts
Automatic warnings for expiring memberships or low quota.
Download History
planned for the next update
Status Badges
Clear visual indicators: Active, Expired, or Lifetime.
Key Features
π¦ Membership Information Display
Customers see their complete membership at a glance:
| Information | Description |
|---|---|
| Product Name | Name of the membership pack purchased |
| Order Number | Clickable link to view the original order |
| Purchase Date | When the membership was purchased |
| Membership Type | Download Quota or Time-based |
| Status | Active or Expired with colored badge |
β° For Time-Based Memberships
Expiration Date
Clear display of when the membership expires, with days remaining countdown.
Lifetime Memberships
Special "Lifetime" badge for memberships that never expire.
π₯ For Download Quota Memberships
Visual Progress Bar
Beautiful progress bar showing downloads used vs. total quota.
Color-Coded Display
Progress bar changes color based on usage:
- Green: 0-79% used
- Orange: 80-89% used
- Red: 90-100% used
β οΈ Smart Alert System
Automatic alerts appear at the top of the membership page:
Your membership has expired. Please contact us to renew your membership.
Your membership expires soon! Only 3 days remaining.
Your download quota is running low! Only 5 download(s) remaining.
Installation
-
Upload the Addon
Upload the addon ZIP file via WordPress admin or FTP to
/wp-content/plugins/ -
Activate
Go to Plugins β Installed Plugins and activate "My Membership Addon"
-
Flush Permalinks
Go to Settings β Permalinks and click "Save Changes" to register the new endpoint
-
Done!
The "My Membership" menu item now appears in WooCommerce My Account
After activating the addon, you MUST go to Settings β Permalinks and click "Save Changes". This registers the new endpoint. Without this step, you'll get a 404 error!
How Customers Use It
-
Navigate to My Account
Customer logs in and goes to their WooCommerce account page
-
Click "My Membership"
New menu item appears right after "Dashboard"
-
View Everything
All membership information displayed in one clean interface
When Customer Has No Membership
If a customer doesn't have an active membership, they see:
Design Highlights
Modern UI
Beautiful gradient header with purple theme matching Download Box Pro branding.
Fully Responsive
Looks perfect on desktop, tablet, and mobile devices.
Visual Badges
Color-coded status badges (green for active, red for expired).
Smooth Animations
Subtle hover effects and transitions for better UX.
Technical Details
| Feature | Details |
|---|---|
| Text Domain | dbp-addon-my-membership |
| Endpoint | /my-account/my-membership/ |
| Menu Position | After "Dashboard" in My Account menu |
| Hook Available | dbp_my_membership_after_card |
| Translation Ready | Yes (use Loco Translate or Poedit) |
For Developers
Extend with Hooks
A hook is available to add custom content after the membership card:
The $membership array contains:
found- Boolean (true if membership exists)order_id- Order IDproduct_name- Product nametype- 'downloads' or 'duration'is_expired- Booleanquota_total,quota_used,quota_remaining(for downloads)expiry_date,days_left(for duration)recent_downloads- Array of last 5 downloads
Your customers now have a beautiful, informative membership dashboard. They'll love the clarity and transparency!