• I am using WooCommerce for a clients website and have created an extra tab field (using YIKES extra tab plugin) and I would like it only to be visible when someone is a logged in user.

    Currently the WooCommerce is set to catalog mode and will be for quite some time.

    My clients wants to use the (soon to be hidden) new tab to be notes for his staff that he does not want the public to see

    I have WooCommerce Membership plug-in but I think to restrict something there it would mean all viewers would need to register and I don’t want that

    so to summarize – I want a field in a Woo Commerce product that can only be viewed if a user is logged in

    …. any suggestions?

    SITE DETAILS
    https://greenlifestructures.com/
    has hide my site password of ” greenhouse ”

    SYSTEM REPORT

    
    ### WordPress Environment ###
    
    Home URL: https://greenlifestructures.com
    Site URL: https://greenlifestructures.com
    WC Version: 2.6.7
    Log Directory Writable: ?
    WP Version: 4.6.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.6.27
    PHP Post Max Size: 4 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.36.0
    OpenSSL/1.0.1e
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.33
    Max Upload Size: 4 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 2.6.7
    : 
    woocommerce_sessions: ?
    woocommerce_api_keys: ?
    woocommerce_attribute_taxonomies: ?
    woocommerce_downloadable_product_permissions: ?
    woocommerce_order_items: ?
    woocommerce_order_itemmeta: ?
    woocommerce_tax_rates: ?
    woocommerce_tax_rate_locations: ?
    woocommerce_shipping_zones: ?
    woocommerce_shipping_zone_locations: ?
    woocommerce_shipping_zone_methods: ?
    woocommerce_payment_tokens: ?
    woocommerce_payment_tokenmeta: ?
    MaxMind GeoIP Database: ?
    
    ### Active Plugins (13) ###
    
    Disable Comments: by Samir Shah – 1.5.2
    Hide My Site: by Justin Saad – 2.0.5
    Photo Gallery: by WebDorado – 1.3.15
    Simple Lightbox: by Archetyped – 2.5.3
    TinyMCE Advanced: by Andrew Ozz – 4.4.1
    Woocommerce Catalog: by Leonidas Maroulis – 1.2.5
    Woocommerce CSV Import: by Allaerd Mensonides – 3.3.0
    WooCommerce Memberships: by WooThemes / SkyVerge – 1.7.2
    WooCommerce: by WooThemes – 2.6.7
    Yoast SEO: by Team Yoast – 3.7.1
    WP Media Category Management: by DeBAAT  – 1.9.0
    WPide: by Simon @ WPsites – 2.4.0
    YIKES Custom Product Tabs for WooCommerce: by YIKES Inc – 1.4.4
    
    ### Settings ###
    
    Force SSL: –
    Currency: AUD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    
    ### API ###
    
    API Enabled: ?
    
    ### WC Pages ###
    
    Shop Base: #12 - /shop/
    Cart: #13 - /cart/
    Checkout: #14 - /checkout/
    My Account: #15 - /my-account/
    
    ### Taxonomies ###
    
    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### Theme ###
    
    Name: Road Fighter Pro Responsive Theme
    Version: 1.2.3
    Author URL: https://www.inkthemes.com
    Child Theme: ? – If you're modifying WooCommerce on a parent theme you didn't build personally
    then we recommend using a child theme. See: How to create a child theme
    
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: Your theme has a woocommerce.php file
    you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.
    
    Overrides: –
    
  • The topic ‘Hiding a product field by password’ is closed to new replies.