• Resolved Sylvie-V

    (@sylvie-aveline)


    Good morning,

    Thank you very much for your plugin which works perfectly with WC roles and custom roles.

    BUT, WooCommerce related products (woocommerce_related_products) still displays in public products from the hidden category for users who are not logged in.

    I tried to remedy this with code in functions.php of the child theme or via css, the woocommerce related products still display products from the hidden category.

    And I didn’t find this option (exclude a category for non-connected users) in your plugin.

    Can you help me ?

    In advance, thank you very much & best regards.
    Sylvie

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ThemeSupport

    (@themesupport)

    Thank you very much for your kind words about our plugin! We’re glad to hear that it’s working well with WC roles and custom roles.

    Regarding the issue with WooCommerce related products displaying items from the hidden categories, we suggest the following steps:

    • Update Your Site: Please ensure that your WordPress, theme, and all plugins are updated to their latest versions. Sometimes, updates can resolve unexpected behavior and compatibility issues.
    • Provide Additional Information: If the problem persists after updating, could you please let us know which specific WooCommerce related products plugin or widget you are using? Additionally, sharing the URL where the issue occurs and the steps to replicate the error would be very helpful for us to understand the problem better.

    In regards to the option that exclude a category for non-connected users, our plugin allows you to exclude categories for guests, who are considered the same as non-connected users. This feature might help you achieve the desired functionality.

    We appreciate your patience and understanding. If you need further assistance, please don’t hesitate to reach out. We’re here to help!

    Thread Starter Sylvie-V

    (@sylvie-aveline)

    Hi !
    Thank you very much for your answer.
    I updated and rechecked the plugin… but the problem still persists.
    I would like to give you a link… but since these are private elements, is it possible to converse in private?

    The situation is A WooCommerce personnal store of old photos (from my private collection).

    Public products visible to non-connected visitors.
    These public products/photos can be purchased by “public users” (guests) who will connect via public form with “customer role” to purchase.

    Private products, “Private Collection” category, for the “Private” role with connection to the “WPEverest User Registration” form, the link to the form is given by invitation to my family.

    The “Private Collection” category is hidden from all roles except the “Admin” role and the “Private” role.

    The “Private” role was created with “User Role Editor by Vladimir Garagulya”.

    Hiding the “Private Collection” category is done by “Hide Category by User Role for WooCommerce”.

    Access to pages and categories is managed with RightHere Team’s “Pages by User Role for WordPress” (Acess control), but does not include a “Guest” role. (Right Here says : “”When a user is not logged in to the website WordPress can’t assign a user role to the person.”

    >> The problem is as follows: The photos (actually just one for tests) which should only be visible to the “Private” role is displayed randomly in the “woocommerce-related-products” of the products for “non connected users” and for the “Customer” role.

    Which means that all photos in the “Private Collection” category will be visible in woocommerce-related-products… every time…

    Not good …
    Many thnks for your help in advance !
    My best regards
    Sylvie

    Plugin Author ThemeSupport

    (@themesupport)

    Yes, you can email us at [email protected] so we can converse privately.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hidden category not hidden in WC related products for non connected users’ is closed to new replies.