• Resolved overismdtm

    (@overismdtm)


    I’m trying to do something that is extremely common and seems like it should be very simple. Woocommerce Products give the option to make a product virtual. So the obvious question is how the customer will access this virtual product after they buy it.

    I understand there is a “downloads” section on the account page, but the products are not downloadable – they involve access to certain pages. I also understand that user roles can be set to give certain types of users access to certain pages. But I am obviously not going to manually change user roles every time someone buys a product.

    So I want users who register at checkout to be automatically assigned roles based on the product(s) they bought. Inexplicably, I have found about 1,000 articles explaining how to make it so only certain users can even see and buy products. But I can find virtually nothing on this very common feature that I know must have a simple solution.

    Thanks for the help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Saif

    (@babylon1999)

    Hello @overismdtm,

    If I understand you correctly, you want to limit access to certain pages and parts of your site for users who pay for a subscription.

    The best and easy way to achieve this is with the WooCommerce Memberships which is maintained by one of our partners.

    If you have any questions about the extension, you can open a ticket from here: https://woocommerce.com/my-account/create-a-ticket/

    You might need to create an account before doing so.

    Hope it helps!

    Thread Starter overismdtm

    (@overismdtm)

    I’m aware of some of these plugins – a few questions:

    – If the customer checks out as a guest, how will the membership purchase assign them access to certain pages?

    – Will the user membership/role be granted as soon as the purchase is processing, or only when it is complete. I have a mix of virtual and physical products – I want virtual access to be granted instantly, but physical product orders should only be marked complete when they are shipped.

    Thank you,
    Ryan

    Hi,

    This is a good question.

    WooCommerce manages some types of products, you can check more on its definitions below:
    https://woocommerce.com/document/managing-products/#product-types

    For example, a virtual product is a product that is not physical, let’s say, a service. On the other hand, a product could be virtual and downloadable (let’s say a CD) at the same time, virtual and downloadable products do not require shipping.

    For limiting access to certain areas (for example, a VIP are for certain customers), WooCommerce Memberships will work for you.

    If the customer checks out as a guest, how will the membership purchase assign them access to certain pages?

    Let’s say you have orders created on the phone, which means without an assigned customer (so as a guest). Assuming you have their email addresses, you can create an account for them manually from WP Admin > Users > Add New User where you can assign them the right role, generate a password and make sure an automated email is being sent to them.

    – Will the user membership/role be granted as soon as the purchase is processing, or only when it is complete. I have a mix of virtual and physical products – I want virtual access to be granted instantly, but physical product orders should only be marked complete when they are shipped.

    When using WooCommerce Memberships, you can create pages that will be only accessible to customers who are members of a specific Membership Plan that you can create. Access can be granted automatically if a customer purchases a specific product.

    This extension includes a 30-days money-back guarantee policy, and you have the possibility to make pre-sales questions.

    I hope this provides clarity ??

    Thread Starter overismdtm

    (@overismdtm)

    Thanks Igor – I don’t think this answers my question just yet.

    Let’s say a customer puts two products in their card: a hardcover book and an online course, and they checkout as a guest. I need the system to automatically and instantly grant them access to the online course. I cannot be manually changing roles for everyone who buys an online product from me – again this functionality is very common.

    Thank you,
    Ryan

    Hi @overismdtm

    So I want users who register at checkout to be automatically assigned roles based on the product(s) they bought.

    Let’s go back to your main inquiry here.

    This feature is an out-of-the-box functionality of WooCommerce. You will either be needing a third-party plugin or custom code for you to achieve this.

    As suggested above, the WooCommerce Memberships plugin is an extension for WooCommerce that allows you to restrict your content so that it’s only accessible to members on your site.

    For us to provide you further details about your presales concerns, please open a support request. The marketplace partner behind the plugin would be able to provide you in-depth reply regarding the plugin

    If you woudl like to custom-code it, I am leaving this thread open for a bit to see if anyone can chime in to help you out since custom-coding is outside our scope of support.

    For questions related to development and custom coding, your best bet is to ask on any of these channels for support. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, too.

    WooCommerce Developer Resources Portal
    WooCommerce Advanced Facebook group
    WooCommerce Community Forum
    WooCommerce Developer Slack Channel.
    – Hire a WooCommerce Expert

    Hope this helps!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Virtual Product Access’ is closed to new replies.