How to Restrict Pages with WooCommerce Products - Elementor Wordpress Tutorial

Поділитися
Вставка
  • Опубліковано 5 жов 2024
  • You can lock down or restrict access to pages - until a WooCommerce Product is purchased.
    Use this Plugin: wordpress.org/...
    See our Modules: websquadron.co...
    Some extra Code Snippets:
    a) Autocomplete WooCommerce = websquadron.co...
    b) websquadron.co...
    How to Restrict Pages with WooCommerce Plugins - Elementor Wordpress Tutorial
    -----------------------------------------------------
    Get Code Snippets: r.freemius.com...
    Get Elementor Pro: be.elementor.c...
    Get Elementor Cloud Hosting: trk.elementor....
    Support us: paypal.me/Webs...
    Mastery Membership: websquadron.co...
    Hire us to work on your Website!
    Contct us at info@websquadron.co.uk or visit websquadron.co.uk
    Facebook: / websquadrontraining
    LinkedIn: / imran-siddiq-7320a74a
    Instagram: / batswebsitedesign
    Twitter: / imranwebsites
    -----------------------------------------------------
    Equipment Used:
    Softbox Lighting Kit (to focus main light onto me in a dark room): amzn.to/3feqH18
    Soundproof Panels (to provide a dark setting, and prevent sound bounce): amzn.to/3HVfwqa
    3m Ethernet Cat 7 Cable (to maximise the Internet Connection as the room is upstairs): amzn.to/3GlBvGw
    Anker 6 in 1 Adaptor (for the Macbook Air to increase USB-C, USB-A, HDMI, Ethernet Ports): amzn.to/3tiukLA
    USB-C to Lightning Port Cable (from my iPhone to my Macbook Air): amzn.to/3K2tGaU
    Powerline Adaptor (boosts internet connection from downstairs 380mbs to the upstairs room 120mbs): amzn.to/3r8YcYc
    Floodlights (positioned to glow onto the walls): amzn.to/33mRqWD
    LED Light stands (either side of me): amzn.to/3Iaerez
    Fifine Dynamic Microphone: amzn.to/3osbxu2
    Floating Shelves: amzn.to/3Fhxyl1
    Hanging Pendant Light Holders: amzn.to/3qgwnhg
    Vintage Light Bulbs: amzn.to/3K0bQ8B

КОМЕНТАРІ • 95

  • @Mymysticmama
    @Mymysticmama 3 місяці тому +2

    I LOVE YOU + you've spoiled me from watching any other videos for Wordpress + elementor!
    Love your casual no-nonsese nature, your humor, how simply you explain things (why/where/how) and that you offer free workarounds when most others are pushing big bloaty plugins.
    THANK YOU for all you do ❤

  • @MariaSaleem-gi4uj
    @MariaSaleem-gi4uj 4 місяці тому +1

    Really liked that awesome explanation. I was wander like a month, in memberships plugin / Woocommerce / LMS pro plans to restrict courses. I will see this video again and again untill I get to learn step by step.

  • @forumautoimmune
    @forumautoimmune Рік тому

    Thanks a lot, Imran! Last week you've been taking me out of despair so many times!

  • @antonichristian5845
    @antonichristian5845 2 роки тому +2

    great tutorial Imran, thanks! i love the simplicity of it yet how powerful it is.

  • @nosheensalman980
    @nosheensalman980 2 роки тому +1

    Thank you so much for sharing, I don't know why I didn't find your videos earlier

  • @SamWereb
    @SamWereb 2 роки тому +2

    Very useful snippets. This could be a very good microniche for someone like you, Imran.

  • @amrfarrouh
    @amrfarrouh 2 роки тому +1

    Thanks Imran, Its a great tutorial and you really give a complete solution using code snippets.

  • @IonelColtea
    @IonelColtea 3 місяці тому

    Great video! How about quizzes and exams?

  • @mayurdotca
    @mayurdotca Рік тому +1

    Thanks so much for sharing! I used the plugin and it worked great.

  • @RalphDost
    @RalphDost Рік тому

    Great plug-in and thanks for the PHP shippets. I just had a problem with the woocommerce autocomplete shippet using PHP 8.0. Maybe the snippet have to be updated.

    • @websquadron
      @websquadron  Рік тому +1

      It should have been fine but I’ll check now

  • @Melissa_Lawrence
    @Melissa_Lawrence 2 роки тому +1

    This is great, thanks for sharing! Not sure I have anything at the moment that I can use it with but that's not to say I won't sometime soon!

    • @Melissa_Lawrence
      @Melissa_Lawrence 2 роки тому +1

      Also LOVE that snippet....the whole address thing has driven me crazy over the years and the hubby has been asking me for that to be adjusted for his music website for the virtual music/album when purchased! That's awesome Imran!!!

    • @websquadron
      @websquadron  2 роки тому +2

      I used to hate having to fill in all of those details for simple downloadable products. Never made sense :))

    • @Melissa_Lawrence
      @Melissa_Lawrence 2 роки тому

      @@websquadron yes exactly, so annoying. And the husband would always complain about how it could throw ppl off from wanting to buy and download music (or whatever) because of having to fill all that unneeded information! Can't wait to put this snippet to use!

  • @gracebryce3853
    @gracebryce3853 7 місяців тому

    I will really thank you forever. God bless you, you have saved me 100%

    • @websquadron
      @websquadron  7 місяців тому

      No worries!

    • @websquadron
      @websquadron  7 місяців тому

      Do share the video (click the share button to get the right URL) and let the world know :)

  • @Jason_1010
    @Jason_1010 2 роки тому +1

    Seems to work well Imran, good method!

  • @eva_aro
    @eva_aro Рік тому

    Thank you very much for your video and for mentioning the plugin. It has solved a problem that has been bothering me for several months. Best regards and I wish you all the best.

  • @AlvaroLuksic
    @AlvaroLuksic 8 місяців тому +1

    awesome thank you!!!

  • @pixelgap
    @pixelgap 2 роки тому +1

    Great tutorial. Thanks Imran

  • @GideonAbochie
    @GideonAbochie Рік тому

    I really like what you are doing..Big Ups man!!!

  • @Onlinebusinesspioneer
    @Onlinebusinesspioneer Рік тому +1

    What an absolute legend!

  • @toolazytostudy2316
    @toolazytostudy2316 5 місяців тому +1

    thanks 4 this!

  • @stonesharpimages4804
    @stonesharpimages4804 2 роки тому +1

    Amazing! Thank for sharing this!

  •  Рік тому +1

    Thank you!!!! :D Amazing!

  • @visualmodo
    @visualmodo 2 роки тому +1

    Very good job!

  • @rameshnaidu8368
    @rameshnaidu8368 Рік тому

    Highly useful video sir, thank you so much, my doubt is as you said we can sell quizzes as a product on woocommerce, after payment buyers can complete quiz on website itself, kindly answer this

    • @websquadron
      @websquadron  Рік тому +1

      You would need to add a quiz plugin for those pages

    • @rameshnaidu8368
      @rameshnaidu8368 Рік тому

      @@websquadron yes sir, I will do that. Thanks for the video, your knowledge is insane

  • @ByronBrownSydney
    @ByronBrownSydney Рік тому

    thanks for the tips will def use

  • @shubhamdhumal7859
    @shubhamdhumal7859 Рік тому

    I am using the WooCommerce subscription plugin. I am offering courses in this. But if any user buys a course, then his role becomes subscriber mode. And he can also watch videos of other courses. How to set a specific page for a specific course? Please guide me.

  • @dots560
    @dots560 2 роки тому +1

    Thanks for sharing this.

  • @gianmarcogiuliarig
    @gianmarcogiuliarig 8 місяців тому +1

    The plugin is giving me and Error with woocommerce... ⚠ This plugin is incompatible with the enabled WooCommerce feature 'High-Performance order storage', it shouldn't be activated. Manage WooCommerce features, any idea why? thanks!

    • @websquadron
      @websquadron  8 місяців тому

      I've not delved into that and I would be hesitant on using the HPOS as many plugins/tools are not fully set up for that. Have you contacted the plugin to check/query?

  • @pixelgap
    @pixelgap Рік тому

    Amazing tutorial. Imran what if you sell digital and physical products on your Woo store. The code you use to unset the checkout fields is for both physical and digital products. What if you want to unset specific fields only for digital products. Thank you for this tutorial.

    • @websquadron
      @websquadron  Рік тому +2

      Hmmmmm.... I'll need to see if anyone has similar code...

    • @pixelgap
      @pixelgap Рік тому

      @@websquadron Thank you

  • @ashman123456789
    @ashman123456789 Рік тому

    Hey man, have you done any videos on product subscriptions with elementor? ie. dog trainer has a subscription that sends out a box of goodies once a month?

  • @timvivian7063
    @timvivian7063 7 місяців тому

    Great video! How did you add the 'access the module' button to your product? I'm trying to achieve the same result, but can't figure out how to add the button. I only have the free version of woocommerce and elementor. Thanks!

    • @websquadron
      @websquadron  7 місяців тому +1

      Add a Button that is either a static button as that's just a page and not a product grid, or add the URL as an ACF field and then use that for URL Link.

    • @timvivian7063
      @timvivian7063 7 місяців тому

      Thank you!

  • @TobiLotta
    @TobiLotta 2 роки тому

    wow thanks for that video. i checked the plugin. the page that has to be restricted to someone who buy a product should show the message “Buy “productName” in order to access this page! WITHOUT that the customer should login first. so i just want to restrict part of a page wnd make it visble to all not only to loged in uswer.. how to achive it’?

    • @websquadron
      @websquadron  2 роки тому +2

      In a way they can't see the page until they have purchased. To stop them seeing a part of the page will be tricky.

  • @inderpreetsingh8585
    @inderpreetsingh8585 2 роки тому +1

    thanks a lot

  • @mahbubjubayer9453
    @mahbubjubayer9453 3 місяці тому

    I have a curiosity!!
    The timeout showing in the page restriction settings .
    Is that meant it will expire once the time is reached . Let’s say I put 90 days. So the access will expire after 90 days ?

  •  Рік тому

    Actually I tried it, but it's not compatible with Elementor, because it doesn't show the page exactly how I edited and the second thing is that it is very slooow....it's 21 seconds load time...

    • @websquadron
      @websquadron  Рік тому +1

      It works absolutely fine for me with no delays whatsoever. Have you purged your server and regenerated the css?

  • @GeoChange_
    @GeoChange_ 5 місяців тому

    Thank you! what if we have 270+ products and the condition to get to the page is you have to purchase atleast one... do i have to go through and select all 270+ products?

    • @websquadron
      @websquadron  5 місяців тому +2

      You'll have to modify the code to accommodate that. Stick the code in ChatGPT and ask it to modify as per your exact requirements.

    • @GeoChange_
      @GeoChange_ 5 місяців тому

      @@websquadron Thank you Imran, Absolute legend - do you know how we would be able to find the code/what to ask?

    • @Mymysticmama
      @Mymysticmama 3 місяці тому

      @@websquadron ChatGPT likes to give me suggestions that require paid/premium plugins. Doesn't tell you this off the bat though. Today, I told it that it should direct more ppl to WebSquadron (as a source of solutions).

  • @simonlacey70
    @simonlacey70 Рік тому

    Hi Imran, Great video thanks for this. In fact all of your content is really helpful. With Page Restrict, I've run into a problem, namely that the page restrict settings I'm putting in for those pages I want to restric access to, keep getting erased everytime I click away from the page (after I have saved them). Any idea what might be causing this?

    • @websquadron
      @websquadron  Рік тому +1

      That’s never affected me.
      What other plugins or optimisation tools have you got loaded?

    • @simonlacey70
      @simonlacey70 Рік тому

      ​@@websquadron I just went in and configured it again and it seems to be sticking now. Although I will check again in 24 hours and see if that's still the case. I have the usual plugins such as Elementor Pro, Astra, WooCommerce, as well as Crowdsignal Forms and some that give me extra fonts (Custom Adobe Fonts for example).
      Another question I have for you is if I don't have a membership plan set up with login credentials for each user that purchases access to a page, how does Page Restrict know when a user has actually purchased the product and should thus be authorised to access it? Does it go off the IP address or some other identifier? Cheers!

  • @donherion377
    @donherion377 3 місяці тому

    I'd like to change - Restricted Pages - under My Account to something like - Premium Content - what php page do I need to edit to make that change? thanks...

    • @donherion377
      @donherion377 3 місяці тому

      I found the page - class-wc-my-account.php

  • @massi368
    @massi368 Рік тому

    i used this method and it worked fine but when i use the Elementor to build a post, there is two cases. The first when i build directly the post with Elementor and i go buy the product to see the post, it shows nothing. And the 2nd case is when i have a certain post page build automatically with the Theme builder in this case either the restriction doesn't work and it shows everything.

    • @websquadron
      @websquadron  Рік тому

      I'm trying to picture the settings that you may have but not seeing it (in my head). Have you ensured that the Restrict Plugin's settings are restricting that Post to the Product?

    • @massi368
      @massi368 Рік тому

      @@websquadron yes

    • @massi368
      @massi368 Рік тому

      @@websquadron yeah, the problem is when i dont use elementor i can restrict a post normally. As soon as i use elementor theme builder for a post even if i restricted it, it shows all the content to a user who doesnt bought the product.

    • @websquadron
      @websquadron  Рік тому +1

      @@massi368 I use Elementor too and I don't get that issue. I could off to look but we charge for 1-2-1 support.

  • @jadson.empreendedor
    @jadson.empreendedor Рік тому

    Hey, man! Great tutorial. Thank you so much!
    Can you help me with a problem? "My Account of Elementor Pro" widget options (change pass, order etc...) disappears (control painel, change pass etc...) when this module (Page Restrict) is enabled. How to solve this problem?
    Thanks!

    • @websquadron
      @websquadron  Рік тому +1

      That shouldn't happen.
      As I don't get that issue.
      Check with the Page Restrict Devs, or have you got any other Wordpress Admin plugins or codes added?

    • @jadson.empreendedor
      @jadson.empreendedor Рік тому

      @@websquadron, thanks! I will check with PRdev. I disable all plugins, but the issue remains.

    • @malindasueangel
      @malindasueangel Рік тому

      Same here dude luckily enough i just got mine fixed back with the help of a very reliable and professional expert! Called LYFT_TECHZ he helped me a lot when i was desperate and i think he can help you too, i suggest you send him a request

    • @malindasueangel
      @malindasueangel Рік тому

      On Instagram

  • @AlqassamIzzadhin
    @AlqassamIzzadhin 4 місяці тому

    I have a website which sell both digital and physical products in variable type on woocommerce, how to add show page or post after woocommerce purchase as variable product which include printed version and digital version,
    Did it possible

    • @websquadron
      @websquadron  4 місяці тому

      You’ll need to add different redirects per product: ua-cam.com/video/7COm1RdMEKc/v-deo.htmlfeature=shared

  • @FaceMaskHenry
    @FaceMaskHenry 2 роки тому

    Doesnt worked at all

    • @websquadron
      @websquadron  2 роки тому +1

      It does work for us because we use it a lot.
      Which bit doesn't work for you?
      Have you assigned the Products within the Plugin?

    • @FaceMaskHenry
      @FaceMaskHenry 2 роки тому

      @@websquadron I have applied for "Restrict if user not logged-in". That portion is not working. Still users can see the page. I want some pages like Products, Cart, Orders to view only if user is logged in

    • @websquadron
      @websquadron  2 роки тому +1

      @@FaceMaskHenry It should work. Try contacting the Plugin Dev Team. Make sure that you've Regen the CSS, and Purged your Site and Server.

  • @ElMineroSudaka
    @ElMineroSudaka Рік тому

    Crack

  • @tanvir99991
    @tanvir99991 Рік тому

    No one replies???☹

    • @websquadron
      @websquadron  Рік тому

      What???

    • @tanvir99991
      @tanvir99991 Рік тому

      I think you missed my first comment. here is it 'I am using Houzez them's packages as agent or agency subscriptions and these packages are already connected to Woocommerce as a product because the payment system is activated by Woocommerce. but I can't see any products after clicking the "select value" in the woo-commerce restrict pages plugin. please help me to solve the issue. Regards' . @@websquadron

  • @tambourine_man
    @tambourine_man Рік тому

    I'm getting this error with Gutenberg. The page eventually loads but won't save the “Lock by Products” menu. All latest versions: WordPress 6.0.2, WooCommerce 7.0.0, Page Restrict for WooCommerce 1.4.10
    Warning: Invalid argument supplied for foreach()
    /wp-content/plugins/page-restrict-for-woocommerce/admin/partials/menu-pages/pages/pages-vars.php on line 62
    Warning: Invalid argument supplied for foreach()
    /wp-content/plugins/page-restrict-for-woocommerce/admin/class-admin.php on line 144
    Seems like $all_pages in an empty array.
    Works fine with the Classic Editor tough. Anyone else having this issue? Thanks

    • @websquadron
      @websquadron  Рік тому +1

      Can you check on their support forum as that doesn’t sound good.

    • @tambourine_man
      @tambourine_man Рік тому +1

      ​@@websquadron They already released an update that fixed it a few hours after I reported. Can't get much better than this. Thanks

    • @websquadron
      @websquadron  Рік тому +1

      @@tambourine_man Awesome :)