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
1
vote
0 answers

WooCommerce membership directory restrictions

I have a WordPress members site using WooCommerce and WooCommerce membership plugins. We have a members page that is restricted to signed up paid members and gives them access to a TV channel. The problem we have is that a member can gain access to…
1
vote
1 answer

WooCommerce membership plugin

In WooCommerce membership plugin there is a file with name class-wc-memberships-restrictions.php this file have the following class and constructor and that constructor have lots of filters, but I want to remove this filter from my child theme…
1
vote
1 answer

WooCommerce Memberships: Conditional Restricted Content Check

I'm trying to make a menu of pages links that people can access once they have purchased a membership (through WooCommerce Memberships). I want for that pages to be greyed out, if they don't yet have access to them. I've set the pages to gain access…
0
votes
0 answers

How to add a subscription product to woocommerce orders after purchase

so I am trying to add an additional product to a customers cart just before he checks out. In the real sense, I am trying to make sure that all my customers are subscribed to the woocommerce membership as soon as they hit the proceed button on the…
0
votes
1 answer

Woocommerce subscriptions : how to switch between simple subscriptions?

I'm using woocommerce membership with woocommerce subscriptions to allow users to buy one of the three levels of access of my website. The "A level" is free and gives a mininum of access, "B level" costs 10€ and gives more access to the site,…
0
votes
0 answers

YITH Membership / Subscription - How to check if user has any active subscriptions / memberships?

I have YITH Membership + Subscription plugins together, and shop has virtual downloadable products. When Membership / Subscription is active and user has access to a single product, then on a single product page is widget with available downloads –…
0
votes
1 answer

Trying to echo private value (Teams for WooCommerce Memberships)

I'm trying to get a team name that is associated with a user. I've gotten as far as getting the var_dump of the correct team. But the value has :private Is there a way for me to still echo that value? $user_id = $post->post_author ; …
Looq
  • 13
  • 3
0
votes
1 answer

How to echo membership values from this array?

Been trying to echo these individual values from this array echo var_dump($memberships); The two values I'm trying to echo are the ["name"] and ["status"] This is what I've tried to echo those values: if ( $memberships ) { foreach(…
0
votes
0 answers

How to give WooCommerce paid customer random url to hidden website

This is my problem. I have a pdf document which I want to send/download if a customer has paid on my Woocommerce site. But this customer can share this document with others so I have a revenue loss. Other option: after the customer paid I give them…
0
votes
1 answer

Single stock for 2 products Woo Commerce

We are using tickera with woocommerce that used to build an event ticket webshop. There are a couple of different types of tickets. Early bird VIP, Early bird, regular,... All of them have their own stock. So for Early bird VIP, it will be 100…
vanlooverenkoen
  • 2,121
  • 26
  • 50
0
votes
1 answer

Is there a Woocommerce Memberships function to get the "Cancel Subscription" url

I wonder if is there some method from WC_Memberships_User_Membership class to get a link to cancel membership. The way I'm getting the url takes me to the woocommerce my-account/memberships page, not to the real action of cancel…
mikelweb
  • 113
  • 1
  • 7
0
votes
0 answers

Woocommerce Membership API - get restricted content

I am integrating woocommerce memberships into my application using REST API. (https://skyverge.github.io/woocommerce-memberships-rest-api-docs) How do I get access to restrict content details through API call…
0
votes
2 answers

How to change text in WooCommerce My Account Downloads area?

In the Downloads tab of the My Account area in WooCommerce, by default the text says "No downloads available yet". I need to change this text to something more specific. I would rather not do this by copying plugin files to my child theme, but would…
0
votes
1 answer

WooCommerce Memberships check if a specific user is able to access a specific content

The WooCommerce Membership has some conditionals but I can't combine them to specifically test whether a specific member has access to specific content. $post_id = get_the_ID(); // this post is available to access level 'insights' but *not*…
Chris Pink
  • 1,558
  • 1
  • 15
  • 28
0
votes
1 answer

'login_redirect' v 'woocommerce_login_redirect'

I am investigating redirect functions in WP functions.php. My site has woocommerce memberships / subscriptions operating. If I write a regular WP redirect such as: function login_redirect_user() { return…