πŸ‘€

My Membership

Allow customers to view their membership details in their WooCommerce account

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.

Expiration Date: March 15, 2025 (45 days left)
♾️

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.

Download Quota 35 / 100 ━━━━━━━━━━━━━━━━━━━━ 35% 65 remaining
🎨

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:

πŸ”΄ Membership Expired

Your membership has expired. Please contact us to renew your membership.

🟠 Expiring Soon

Your membership expires soon! Only 3 days remaining.

🟠 Low Download Quota

Your download quota is running low! Only 5 download(s) remaining.

Installation

⚠️ Important: Flush Permalinks

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

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:

add_action('dbp_my_membership_after_card', function($membership) { if ($membership['found']) { echo '<div class="custom-section">'; echo '<h3>Custom Content</h3>'; echo '<p>Add your custom functionality here</p>'; echo '</div>'; } });

The $membership array contains:

βœ… Ready to Use!

Your customers now have a beautiful, informative membership dashboard. They'll love the clarity and transparency!