Questions tagged [woocommerce-memberships]

WooCommerce Memberships is an extension for WooCommerce that allows you to restrict your content so that it's only accessible to members on your site. Question related to WooCommerce Memberships can be asked

WooCommerce Memberships is an extension for WooCommerce that allows you to restrict your content so that it's only accessible to members on your site.

WooCommerce Memberships Documentation

Similar application by another vendor WebToffee

62 questions
0
votes
2 answers

WooCommerce Memberships: How to adjust query to account for delayed content/content drip?

I'm trying to build a query that shows the latest post a member has access to, but I cannot find what parameters to add so that posts that they have access to in the future are removed from this list. Does anyone know how to do this? If not, can…
user13492466
0
votes
1 answer

Programmatically extending a WooCommerce Subscription

I have over 30,000 users with expired WooCommerce Subscriptions that I am looking to easily extend. Is there a way that I can do this programmatically? Or a simple MySQL statement that I can run? Has anyone done this before? Any help will be greatly…
0
votes
1 answer

capture update membership status hook from admin memberships panel

I'm working on a woocommerce plugin, an extension for woocommerce memberships. I need to capture the hook which is fired when the status of the membership change. So I try to use wc_memberships_user_membership_status_changed but it won't fire when…
Gtazer
  • 11
  • 3
0
votes
1 answer

How to set sitewide download limits per user, to be reset each month.?

I've got a WordPress membership site using WooCommerce and WooCommerce Membership plugins. The site is used to download resources for schools. I need to set it so that a user can download a maximum of 150 products per month. Any ideas? I can set…
0
votes
1 answer

How to automatically check the Woocommerce Memberships "Disable restrictions" checkbox when creating a new blog post

When a new Wordpress post is being created using post category "A" (or "B" or "C"), I need to automatically check the Woocommerce-Memberships Disable restrictions checkbox with a PHP hook. This will allow all viewers unrestricted access to view the…
ztron
  • 1
  • 1
0
votes
1 answer

How to make Custom User fields searchable?

I've set up a custom post type (People) that outputs WordPress user content on it's single page. In brief, the way it works is when adding a new post, you give it a user ID and the post will populate the page based on this users info. (Name,…
0
votes
1 answer

Output Subscription Number in WooCommerce to use as a Membership Number

I am using WooCommerce with Memberships and Subscriptions. There's two parts to my question. Firstly I am not sure what the best practice is when we want to assign a membership number to a member. A the moment the memberships are assigned to a…
Evakos
  • 152
  • 2
  • 11
0
votes
1 answer

Wordpress force the_content() to return complete when using WooCommerce Memberships

I'm using the WooCommerce Memberships plugin to restrict post access on my site, and this appears to limit the_content() to only show the first 55 words (the_excerpt()). Any content following that is hidden by the Membership plugin, which is the…
dungey_140
  • 2,602
  • 7
  • 34
  • 68
0
votes
1 answer

Add a new user to a WooCommerce membership

I have a registration form where I programmatically create the user. I need to be able to add that user to a membership plan already setup in WooCommerce and my current context is $user = new WP_User($userId); I've looked everywhere and can't find a…
zanderwar
  • 3,440
  • 3
  • 28
  • 46
0
votes
1 answer

WooCommerce Membership only show highest membership plan discount

I am looking to get a programmatic way to approach this where if a member has multiple membership plans, that only the highest purchase discount applies. This needs to display on the product page as well as at checkout. Currently, it seems to stack…
Johan Rheeder
  • 319
  • 4
  • 23
0
votes
1 answer

Enable registration only for selective product WooCommerce

I am using WooCommerce membership for one product and the rest of the WooCommerce products are generic products. But I want that the visitors should be able to register for WooCommerce membership but not for other products. For other products, I…
0
votes
0 answers

WooCommerce Memberships: Conditional check if restrictions are disabled

This is a question about the membership plugin for WooCommerce: I want to hide post feature images for non-members using the plugin. Content is restricted by categories, this is the code I have so far: // if post content is restricted if (…
george
  • 167
  • 1
  • 4
  • 16
0
votes
1 answer

How to have two registration forms in WooCommerce? one for regular customer and two for membership

As per subject line, I want to have two forms in my WordPress website that has a WooCommerce store integrated. I want one of the form(billing form) as a default and two for membership. I am using YITH WooCommerce Subscription plugin for…
0
votes
1 answer

WooCommerce Membership calculates taxes of all products twice (Only with an active membership)

I have a problem with the calculation of the product tax after binding a membership to a user. The product price (in the frontend) without a membership: 1000$ + 19% tax = 1190$ The product price (in the frontend) with a membership: 1190$ + 19% tax…
0
votes
2 answers

How to get logged in users membership plan in WooCommerce

Currently I am working on membership site where their are two types of membership 1) Free Membership 2) Premium membership Based on these membership I want to change content of any pages For this I am using WooCommerce, WooCommerce Subscription and…