Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Woo Memberships plugin with Variable product – doesn't restrict the content
Tagged: variable product, Woo Membership
- This topic has 17 replies, 3 voices, and was last updated 7 years, 3 months ago by H.K. Latiyan.
-
AuthorPosts
-
August 24, 2017 at 9:03 pm #126341sirindesignsSpectatorHi, Please advise on this issue. I installed WPLMS membership addon and Woo Membership and followed your guide to create membership plans and tie them to a course. My 2 memberships are called Section3 and Section4 (for testing) and restrict few different units from the same course. Say, Section3 gives access to units #1-12, and section 4th to all 27 units of the Course. However, when I do purchase the course's variation (any of them) I simply get an access to the whole course without any restriction. I set prices of Sections to 0.00$ for testing purposes. Can the mistake be related to use of variable products? Attaching screenshots. https://prnt.sc/gcnr9p https://prnt.sc/gcnrik http://prntscr.com/gcnsfk http://prntscr.com/gcns7pAugust 25, 2017 at 2:37 pm #126522Anshuman SahuKeymasterWell that is not how wplms woocommerce membership works . It provides access based on course not on units . So when user is purchase memberhsip he will get access to whole courses not some particular units . refer this tip for more info : https://vibethemes.com/documentation/wplms/knowledge-base/woocommerce-membership-integration-with-wplms-addon/August 25, 2017 at 6:14 pm #126566sirindesignsSpectatorI see, is there any way I can override this behavior by using just Woo Membership instead? Thanks.August 26, 2017 at 10:23 am #126663Anshuman SahuKeymasterWell if you connect membership level in units then it will restrict unit's content . But course access will be given .TO prevent course access you need to connect membership level as mentioned above .August 29, 2017 at 9:28 am #126999sirindesignsSpectatorI actually did connect the membership level in units and restricted content by units. Then I followed the guide you mentioned, from the very beginning. Still it doesn't work like should be. The whole course is available and no units are restricted. https://prnt.sc/gedsty http://prntscr.com/gedt8v http://prntscr.com/gedtn9August 29, 2017 at 1:14 pm #127041Anshuman SahuKeymasterOkay please share the url of that course in which you are facing this issue to check this . PS : mark reply as private while sharing credentials.August 29, 2017 at 8:37 pm #127072sirindesignsSpectatorThis reply has been marked as private.August 30, 2017 at 12:55 pm #127179Anshuman SahuKeymasterThis reply has been marked as private.August 30, 2017 at 3:34 pm #127202sirindesignsSpectatorThis reply has been marked as private.August 31, 2017 at 1:27 pm #127306Anshuman SahuKeymasterWell again this is not how the wplms memberhsips addon works . It releases access to whole course once memberhsip is purchased . If woocommerce memberhsip is allowing access to unit's content even when user dont have required memberhsip then its the woocommerce membership plugin issue for which you should contact plugin author or support .September 6, 2017 at 7:35 am #127971sirindesignsSpectatorI contacted Woo support and this is what they replied: http://prntscr.com/ghoix0 So main question remains: if I do not use a variable product and do not separate course's content by membership, the whole system should work correct, shouldn't it? I believe the main issue is the use of variable product and variations tied to membership plans. Am I right? They also advise to use some Sensei soft. Would it be compatible with WPLMS? Thanks.September 7, 2017 at 2:08 pm #128224Anshuman SahuKeymasterWell this is not at all our issue . Its woocommerce memberships plugin unable to restrict the content. Im sorry we cant do anything in this . We load the content of the unit on course status page and woocommerce memberhsips is unable to hide that content . All memberships plugins used to work on content . but I guess woocommerce memberships is just running on page load .September 7, 2017 at 9:44 pm #128249sirindesignsSpectatorThank you, Alex. Woo Membership support replied again and proposed this explanation: http://prntscr.com/gif5f5 Please comment, if that is the issue indeed? If so we'll wait for Woo extension update at least. Thx.September 9, 2017 at 6:13 am #128419H.K. LatiyanParticipantHi, This issue is not a wplms theme issue. We show the content using the wordpress the_content function in the unit, refer: http://prntscr.com/giya7t The issue lies in the woocommerce membership plugin. They are clearly not restricting the content using the the_content filter. My guess is that they are using the template_redirect action and checking the global $post, which will not work in this case, they need to restrict the content using the the_content filter. We never output anything outside the wordpress, we use the default the_content for outputing the content of the unit. I am very sorry but they are not even trying to check their plugin code to solve the issue.September 13, 2017 at 10:03 pm #128970sirindesignsSpectatorOkay thx, we keep on investigating the case with them.
-
AuthorPosts
- The topic ‘Woo Memberships plugin with Variable product – doesn't restrict the content’ is closed to new replies.