Viewing 8 replies - 1 through 8 (of 8 total)
  • Moritz

    (@hellomoritzqueisnerde)

    I have the same problem: actually the shop page is not a wordpress page, but transformed into a “custom post type” (see here)
    I found the code to password protect a post type (see here). More info is on the woocommerce documentation.
    However I dont know how to implement this in wordpress. I tried several plugins but it doesnt seem to work.
    I think we could frame the questions as: how do you password protect a custom post type in wordpress and how do you hide the content on that kind of post?

    Moritz

    (@hellomoritzqueisnerde)

    see this discussion: here

    Plugin Contributor royho

    (@royho)

    Well if you want to only target certain post type you can always use:

    if ( get_post_type() == 'product' && ! is_user_logged_in() ) { //do something }

    there is an extension just this purpose: Catalog Visibility Options
    http://www.woothemes.com/products/catalog-visibility-options/

    It has some features as:
    -Provides the ability to hide prices, or show prices only to authenticated users.
    -Allows configuration of alternate price content, when prices are disabled or shown only to logged in users.
    -etc…

    Moritz

    (@hellomoritzqueisnerde)

    thx @royho and @manush. that helps! the extensions sounds good, even though it does not exactly what i need (which is password protect the shop with a global password, without a login needed). will check it out. thanks!

    Moritz, were you able to figure this out? This is exactly what I’m trying to do as well (one global password without need to login).

    Thanks in advance for sharing!

    Moritz

    (@hellomoritzqueisnerde)

    Hi TechDaddyK,
    we continued the discussion here and actually (more or less) resolved the problem. Take a look: http://wordpress.org/support/topic/woocommerce-shop-page-visbility-for-members-only?replies=3
    Does that help?

    Thanks for replying, Moritz! Actually, after discussing other requirements of the project, we went another direction.

    I created a subdomain with it’s own installation of WordPress. We password-protected that subdomain and modified the original theme to make the store have a different menu and slightly different look.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: WooCommerce – excelling eCommerce] I can't password protect my shop.’ is closed to new replies.