• Resolved zackr

    (@zackr)


    I created a virtual product and age that’s restricted. So you can access the restricted page only if you purchased the specific product.

    When using the short-code: [woocommerce-payperpost template=’purchased’], it will display 2 items:

    
    	<li>the product</li>
    	<li> the restricted page</li>
    

    how can I display only the restricted page and not the product

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Matt Pramschufer

    (@mattpramschufer)

    What I would suggest, is to make sure that you are using single quotes and not the tick mark or curly single quotes when outputting your shortcode. For instance, [woocommerce-payperpost template=’purchased’] does not equal [woocommerce-payperpost template='purchased'] .

    Thread Starter zackr

    (@zackr)

    Both shortcodes are resulting in the same: the product link and the link to the restricted page

    Plugin Author Matt Pramschufer

    (@mattpramschufer)

    If you could contact me directly at https://pramadillo.com/ I can see what I can do to troubleshoot for you.

    Plugin Author Matt Pramschufer

    (@mattpramschufer)

    Just to resolve this thread here. The issue was because Zach had thought he needed to link products to pages and pages to products. I resolved the issue by removing products from the custom post type settings, and then going to the page he wanted to protect and selecting the product.

    🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘short-code: [woocommerce-payperpost template=’purchased’]’ is closed to new replies.