Support » Plugin: Hide This » Restrict content based on Woocommerce subscription

  • Resolved Simone

    (@simonttz)


    Hi there, great plugin!

    Would it be possible to restrict content based on what product the user has purchased through woocommerce? Or more specifically, if a user has a subscription level of A, can we restrict content and only show it to subscribers of product A?

    Thank you!!

    -S

Viewing 1 replies (of 1 total)
  • Plugin Author Andrés Villarreal

    (@andrezrv)

    Hi Simone,

    The plugin can restrict content by roles and capabilities, so I think you need to find a way to assign a new role or capability to a user that has purchased a certain product, and use the shortcode for that role or capability. However, something like this is out of the scope of this plugin, and you have to solve it with a third-party plugin or some custom code.

    Hope this helps.

    Best,

    Andrés.

Viewing 1 replies (of 1 total)
  • The topic ‘Restrict content based on Woocommerce subscription’ is closed to new replies.