• I have a problem that I can’t really solve: I am searching for a solution to hide the product pages of a woocommerce-shop from unregistered users.
    The best would be if it was possible too leave the shop itself to be seen by everyone, but to make it impossible for unregistered users to click on the product-pages.
    Right now I’ve only managed to hide the prices, but that’s not enough.

    Thanks for your help.

    https://wordpress.org/plugins/woocommerce/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have a similar problem and I installed a plugin call Groups and a plugin for customer login. The Groups plugin lets me choose what pages to show. This way anyone not logged in cannot see the pages I want to hide, namely pages with whole sale prices on them.

    I am still playing with it on my PC on XAMMP, but it seems to work fine for my needs.

    Thread Starter SarahSky

    (@sarahsky)

    That sounds good.

    Actually the problem turned out to be a bit more complicated. Our client wants that unregistered Users are able to click on the product-pages and see them. But the prices and a div called class = summary entry-summary should be hidden.

    Further explanation: The products are grouped products and the different variations of them contain the unit prices. That means, when you click on the product, it is possible to chose one of the first size, one of the second size and so on … and this must be hidden. I only managed to hide the normal prices.

    You can do what you what through WooCommerce and using Groups and if you are willing to duplicate the content. That is similar to what I am doing, if I understand your problem correctly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to hide the product-pages for unregistered Users?’ is closed to new replies.