mermberfix logo x
The MemberFix Team’s got you covered.
Membership plugins

Use WooCommerce to allow gifting of MemberPress products

Use WooCommerce to allow gifting of MemberPress products



One of MemberFix customers needed to implement gifting functionality on her membership WordPress website. This request proved to be quite a challenging one because the MemberPress WordPress plugin she uses on her website was actually not allowing that. So we had to come up with a solution for this.

She has two membership levels on her website: Monthly which is $16.50/month and Annual which is $99/year.

memberpress membership levels - Use WooCommerce to allow gifting of MemberPress products

What she wanted was for someone to be able to buy a Gift certificate from her website (corresponding to one of the two MemberPress membership levels), send the gift to another person (the recipient), and for that person to be able to sign up on the website with his/her name and email address, thus redeeming the gift. As I said above, MemberPress does not have such gifting functionality out of the box, so we found a workaround solution using WooCommerce and another WordPress plugin.

Note that this solution requires using WooCommerce as the shopping cart for any products that you want to use this functionality with. MemberPress will then register the user after they buy via WooCommerce, but you won’t be able to use the default MemberPress checkout form for this. You can, of course, continue using the default MemberPress checkout for any products that do not need to be gifted.

The benefit of this approach is that you can make WooCommerce essentially hidden from sight, and only use it for situations where you need to employ the gifting functionality.

Installing and activating the plugins

Install WooCommerce

Go to Plugins > Add New > Search for “woocommerce” then install and activate the WooCommerce plugin on your WordPress site. It’s free!

install woocommerce - Use WooCommerce to allow gifting of MemberPress products

Install WooCommerce Gift Certificates Pro

We found a cool plugin called WooCommerce Gift Certificates Pro which will help us to achieve the final result. Unfortunately, this one isn’t free (it’s $99) and you’ll have to purchase a license to be able to use it.

Once you’ve purchased it and downloaded the .zip file, go to Plugins > Add New > Upload Plugin then find the .zip file on your hard drive, select it, and install & activate the plugin.

Activate the MemberPress WooCommerce add-on

We also need to install and activate the MemberPress WooCommerce add-on – which is only available on the Plus and Pro tiers of your MemberPress subscription (it’s not available on the lowest plan) – in order to integrate MemberPress with WooCommerce.

To do this go to WordPress > MemberPress > Activate > Add-Ons > WooCommerce > Click “Install”

activate woocommerce addon - Use WooCommerce to allow gifting of MemberPress products

Creating the Gift Certificate product

Let’s say, for example, that we want to create the possibility for people to buy gift certificates for the Annual membership. To start, we will create a WooCommerce product with a $99 price and with the following settings:

virtual woo product - Use WooCommerce to allow gifting of MemberPress products

So the first setting above is to make the product a simple virtual one. And then the below settings are related to the Gift Certificates tab which is added by the WooCommerce Gift Certificates Pro plugin.

gift certificates1 - Use WooCommerce to allow gifting of MemberPress products

The first setting for the gift certificates is to enable them and check “Display in product page”.

Then choose “Gift Certificate/Store Credit” for Discount type, add the $99 value of the coupon (which corresponds to the price of Annual membership) and set “Usage limit” to 1 (which prevents the generated code from used more than once).

gift certificates2 - Use WooCommerce to allow gifting of MemberPress products

So when someone wants to offer a gift to someone else, they will just go and buy the gift certificate. During this process, on the checkout page, they can add the recipient’s name, email address and a personalized message.

gift certiificates page - Use WooCommerce to allow gifting of MemberPress products

gift certificate store credit - Use WooCommerce to allow gifting of MemberPress products

Creating the page for the recipient to redeem the gift certificate code

Once the gift certificate is bought and the payment is completed, then the recipient will get an email with instructions on where to go in order to use the coupon code (which is generated and displayed in the email he will get). That message can be customized by going to WooCommerce > Settings > Gift Certs at the bottom:

email message gift - Use WooCommerce to allow gifting of MemberPress products

So in the above email we can add a link to the product which he will be able to buy using the gift certificate code. We will create the virtual WooCommerce product for this and call it Annual Subscription, and use the same price of $99 (which is exactly the value of the gift certificate which the giftee has received).

woo product - Use WooCommerce to allow gifting of MemberPress products

Next, click on the MemberPress tab and choose the Annual Subscription membership:

wocommerce memberpress - Use WooCommerce to allow gifting of MemberPress products

This step is very important because when the recipient is “buying” this WooCommerce product he will also automatically become a member of the Annual Membership product inside of MemberPress. And that is because the Annual Subscription product is tied with the MemberPress Annual membership via the MemberPress WooCommerce add-on that we activated earlier.

capisce - Use WooCommerce to allow gifting of MemberPress products

Yea, it’s a bit confusing but just follow the steps and it’ll work fine. 🙂

Shortly, the recipient will go to the Annual Subscription page:

woo product1 - Use WooCommerce to allow gifting of MemberPress products

And then, before proceeding to checkout he will add the coupon code which he got via email which has a $99 value. This will make the final value of the product he will “buy” to be $0.

gift certificate code - Use WooCommerce to allow gifting of MemberPress products

In this way, the recipient automatically becomes a MemberPress user with access to the respective MemberPress protected content as a result of using his gift certificate that somebody was kind enough to purchase for him. That’s it!

Just let me know any comments, questions and I’ll be happy to answer.

You may also enjoy...

WordPress based membership sites have certain requirements, and make use of certain applications that, in my experience, makes most of the popular hosting providers a poor choice.
Want to migrate your ACTIVE customer subscriptions from Chargebee to Stripe? This step by step guide will show you exactly how to do it…
Sick of crappy contractors from India and the Philippines? Learn why thousands of online businesses are turning to Eastern Europe instead…
Notify of
Newest Most Voted
Inline Feedbacks
View all comments
Vic Dorfman
September 16, 2019 10:05 am

Update: MemberPress has discontinue support for WooCommerce, so this tutorial doesn’t work as written anymore. We’re looking for an alternative solution in the meantime.

Reply to  Vic Dorfman
November 8, 2019 9:43 pm

Any alternatives discovered yet?

Vic Dorfman
Reply to  Kady
November 10, 2019 2:19 am

Hi Kady,

Not really. The best solutions I’ve found so far were suggestions I read on The Membership Academy.

Please see:

1 –

2 –

Alternatively, you can keep using the WooCommerce add-on for MemberPress. There’s just no guarantee that it won’t stop working as MemberPress ships new updates.

December 13, 2018 12:52 pm

Hey there! Thank you so much for this article – I think this is exactly the solution I’m looking for. I do have a couple questions, however. If I made the initial product a variable product, would it allow me to create multiple options for someone to purchase? Instead of just having an option to purchase a one-month membership for $25, have a 2month for $50, 3-month for $75, etc.? And is there a way for the customer wanting to purchase a gift certificate to create their own value, rather than choosing one that I’ve pre-established? AND, lastly, if someone… Read more »

Vic Dorfman
Reply to  Dana
December 21, 2018 12:00 am

Hi Dana,

We’d have to look into all of that for your particular use case. 🙂 We wrote this article based on a customer’s requirement and then basically documented what we did.

So while it’s probably possible, we’d need to dig around for you a bit. If you’re still looking to have this done please get in touch at victor.dorfman(at)


Andrew Lawrence
Andrew Lawrence
March 29, 2019 7:37 am

Interesting work around, thank you for taking the time to post. Would you be able to use the same idea to purchase coupons on one site to pay for membership on another? I have 2 sites and one holds the membership and the other promotes the membership site.

Vic Dorfman
Reply to  Andrew Lawrence
April 26, 2019 11:11 am

Hi Andrew, I think it could be done but would probably take a bit of custom coding. The main issue I see is that Site B doesn’t “know” that John Smith bought a coupon on Site A. And so he isn’t even registered on Site B. So unless there’s a plugin that does something along these lines already, Site A would need to ping Site B upon purchase of a coupon to then create the user and attribute that coupon to him. I’d have to know your particular case but I reckon there’s probably a more elegant way to achieve… Read more »