Our WooCommerce Integration allows you to sell Membership as a WooCommerce Product, among other features including member product discounts globally or per-product.

If you are using WooCommerce to sell membership as a product, this recipe will display the level name associated with a product on the single product page.

Show the PMPro level name for memberships sold as WooCommerce products

The Code Recipe

Adding the Recipe to Your Website

You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.

Screenshot showing the membership level name on the single product page in WooCommerce
Screenshot showing the membership level name on the single product page in WooCommerce

There are no major customizations needed for this recipe to work on your site. If your site is not in English, you can update the term “Membership Level” on line 20 for your translation.

Tip when setting a membership level on the product, also edit the Inventory > “Sold individually” setting. This will hide the input field to adjust the quantity of items to the shopping cart.

Free Course: Membership Site Development—The Basics

Develop a deeper understanding of membership site development in this beginner-level course. Learn how to make your site work better, save yourself time and money, and improve your site's performance.

Featured Image for Membership Site Development Course: The Basics
Was this article helpful?
YesNo