• Dear Team,

    As I understand his plugin can work with “WooCommerce Memberships plugin” in order to hide or show some product pages according membership plan purchased by user, if I install toguether “nav-menu-roles”+”nav-menu-roles-woocommerce-memberships”
    https://github.com/helgatheviking/nav-menu-roles-woocommerce-memberships

    The function of this is to show registered user, the direct access to services purchased into the menu.

    I want to use “YITH WooCommerce Membership” plugin instead “WooCommerce Memberships plugin”

    Do you know if NAV-MENU-ROLES is compatible with “YITH WooCommerce Membership” plugin?

    How I can show or hide into menu the access to services purchased accordign registered user rools & membership plans purchased?
    The pluging that I want to use for Membership plans is “YITH WooCommerce Membership”.

    Thanks in advance,

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author HelgaTheViking

    (@helgatheviking)

    >Do you know if NAV-MENU-ROLES is compatible with “YITH WooCommerce Membership” plugin?

    No. I presume it is not, because I presume that YITH is not using the global $wp_roles to register new roles.

    You will probably need to write a custom bridge plugin… Similar to what I’ve done with:
    https://github.com/helgatheviking/nav-menu-roles-woocommerce-memberships

    I’ve tried to write it in such a way that you only need to modify the last three functions to make them specific to the membership plugin you are working on.

    You need:
    a way to get an array of all “roles”
    A way to test if current user has a specific “role”
    And a unique prefix

    Good luck.

    Thread Starter masajeintegrativo

    (@masajeintegrativo)

    Dear helgatheviking,

    Thanks for your answer, I’m not a programmer and I don’t know how to extract and modify the information that you suggest me.

    Is it possible that you change it for me and publish the new plugin “nav-menu-roles-YITH-woocommerce-memberships”?

    Thanks in advance & best regards,

    Plugin Author HelgaTheViking

    (@helgatheviking)

    If you can provide answers to

    1. a way to get an array of all “roles”
    2. A way to test if current user has a specific “role”

    From YITH.. or in their documentation… I could create the integration for $175. If you need me to figure it out on my own, I’d charge $300.

    I’ll also need a link to a copy of the YITH plugin for testing. Contact me at kathyisawesome.com/contact if you’re interested.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Integration with YITH WooCommerce Membership’ is closed to new replies.