How To Add Password Protected Collection For Shopify - Updated

Поділитися
Вставка
  • Опубліковано 15 вер 2024

КОМЕНТАРІ • 53

  • @chimpgainz9556
    @chimpgainz9556 6 місяців тому +1

    I just integrated your codes successfully. But there is one thing I noticed is that if you begin to type in the search bar a dropdown of possible results show up and unfortunately the private items show up, but other than that everything works as you explained in your helpful video. Hope you can fix this!

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

      Yes will fix that for sure

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

      @@WebSensePro i am having the same issue i even try a different theme and the issue persist

    • @marysissonart
      @marysissonart 2 місяці тому

      You can put the product in draft mode and your private customer would have to inform you when they need to log in and then put the products in active

  • @marysissonart
    @marysissonart 2 місяці тому

    You can load the product in use a tag such as private and the customers name / PRIVATEMARY. Then use that tag in the collection. Keep the collection in DRAFT and the customer would need to tell you when they need to log in and than out the entire collection in ACTIVE. Put back in draft when they're done

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

    Your videos are awesome !

  • @lennartbaumann184
    @lennartbaumann184 7 місяців тому +3

    Great video! It helps a lot. Is it possible to protect only specific products with a password and not require customer login? Greetings from Germany

    • @WebSensePro
      @WebSensePro  6 місяців тому

      Yes its possible with some code changes

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

      @@WebSensePro do you by chance have a code, or tutorial to where the code needs to be changed to add a password instead of login?

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

      Yes that’s what I’m looking for. I give code and they can order from collection not assign private to a single customer. How is this possible? I do multiple fundraising events & different price points for same product & so lost. I’m paying for multiple platforms for each fundraiser group and it’s insane. Help

  • @poiien12
    @poiien12 6 місяців тому +2

    Hi Thank you for this detailed tutorial. Super helpful. However I encountered a problem along hiding the item in the All Product page. the code didn't work ~ I used a different word, and not "private", do I still edit the "isPrivateProduct" code to that word i used? Example word, Pink, do I change it to "isPinkProduct" or just edit the {if tag == 'private'} Thanks in advance!

    • @WebSensePro
      @WebSensePro  6 місяців тому

      Will have to check the code

  • @daftpunk8139
    @daftpunk8139 26 днів тому

    Thanks for this video. What do you do if 'main-collection-product-grid' does not exist in your theme's code? I am using a theme called Focal.

    • @WebSensePro
      @WebSensePro  18 днів тому

      Please contact via websensepro.com/contact-us for paid support

  • @katieweddle1938
    @katieweddle1938 Місяць тому

    Hi, thank you for this tutorial! I seem to be stuck in an endless loop of logging in, clicking the collection, and having to log in again. I cannot view the collection even after logging in. Any recommendations?

    • @WebSensePro
      @WebSensePro  Місяць тому

      Yes it's doable but will have to check the store. Please contact via websensepro.com/contact-us for paid support

  • @KatieDavey-n6e
    @KatieDavey-n6e 7 місяців тому +1

    Hi i tried this, it's absolutely great an i think it can work for what i am after. The one thing i was able to do, was as a logged in user, if i chose to send that link of the product when open, this could be ac cessed by a person not logged in. is this true with you or have I done something a bit silly :D either way thanks for creating this awesome code.

    • @WebSensePro
      @WebSensePro  6 місяців тому +1

      Hmmm... with another IF condition in main-product liquid file. We can overcome this issue also

    • @WebSensePro
      @WebSensePro  6 місяців тому

      Thanks for mentioning by the way, will update that

    • @KatieDavey-n6e
      @KatieDavey-n6e 6 місяців тому

      @@WebSensePro amazing, i'd be keen to use this for my website if you can solve it. Also, any additional tips for creating this as a wholesale section would be really cool. Great stuff :D

    • @JasonRodgers
      @JasonRodgers 6 місяців тому

      @@WebSensePro I successfully followed your your excellent tutorial, thank you. I also found access to the direct links without permission. I would be very interested in your solution to the issue.

  • @user-sh5ot8yw8h
    @user-sh5ot8yw8h 7 місяців тому +1

    What if the new collection doesn't have any customer yet. When they sign up, does it automatically add the private tag?

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

      No you will have to manually add Private tag

  • @user-xc9xy4bg7b
    @user-xc9xy4bg7b 2 місяці тому

    Hi there, thanks for this video, its really easy to follow. The only issue I'm having is that I am getting an error message after I sign in to my account and try to view the page. This is the error: Liquid error (templates/collection.private line 2): Error in tag 'section' - 'main-collection-product-grid' is not a valid section type. I'm not sure if its because I'm using a different theme? MY theme is Showcase.

    • @WebSensePro
      @WebSensePro  2 місяці тому

      Please contact via websensepro.com/contact-us for paid support

  • @Brady20502
    @Brady20502 6 місяців тому +1

    will this work on all themes or just Dawn? I currently run Impulse theme but can not seem to find the code for steps 2-4 that needs to be changed.

    • @WebSensePro
      @WebSensePro  6 місяців тому

      Tutorial is for Dawn theme but logic of the code can be implementes on all themes

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

    Hello! This video is awesome, and still working on the Dawn 14. But I have an issue. When I type in the search bar, it shows the products. Not when I hit enter, only in the dropdown product suggestions. I'm sure we can solve this, but I have no clue how. Can you help? Thanks in advance!

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

      Yes it's doable but will have to check the store. Please contact via websensepro.com/contact-us for paid support

  • @sg.johnlim
    @sg.johnlim 4 місяці тому

    Awesome video and codes. Found a bug, if the person is not tagged as "private", but login. The private products will still be shown on main collection, feature collection and via search.

    • @Mauro-cf1nc
      @Mauro-cf1nc 3 місяці тому

      i would love to know how to avoid this situation too @websensepro

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

      Please contact via websensepro.com/contact-us for paid support

    • @marysissonart
      @marysissonart 2 місяці тому

      You have to add a tag with their name such as PRIVATEMARY. do not desperate the two words

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

    i dont want to login i want to have a password to see the collection . is it possible?

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

      Yes its possible but with code customization

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

    Hello, this would be perfect for me but unfortunately, I am not getting the screen you have. I'm using dawn 13.0.1 and it's not allowing me to "add a new template" to add the name and it is not showing me the option to select the ".liquid" file. I only get the .json. Is there another way?

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

      You are missing a drop down option to choose from that

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

    This is great, thank you for the tutorial and code. After working thru this I am still seeing the items in the search page, any ideas on this?

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

      It should not show on search page

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

      @@WebSensePro I found out that there is a predictive-search.liquid section now in the new version of dawn. This is another area where this needs to be blocked.

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

      @@WebSensePro there is a new predictive-search.liquid section in the dawn theme. this is where the items are still searchable. Can you advise on adding code for this as well?

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

      Do you have an code to help with predictive search .liquid file?@@WebSensePro

    • @Zeb.Goodman
      @Zeb.Goodman 7 місяців тому

      I'm also still seeing the products in the search. Any fix for this yet? @@WebSensePro

  • @marysissonart
    @marysissonart 2 місяці тому

    This way the product in DRAFT never populates if another customer is searching on the website because its not ACTIVE

  • @marysissonart
    @marysissonart 2 місяці тому

    Its easier to load the product twice and select different tags - this way if you don't put the Private collection on your storefront the one tagged private will not show anywhere