Okay
  Public Ticket #3726163
Category Visibility by User
Closed

Comments

  •  1
    George started the conversation

    Hey Stefan,

    Is it possible to hide a product category by user instead of a whole group?

    I know i can show category visibility by user however need this to hide, without needing to create a new group and input pricing etc etc. 

    Also, to avoid having too many unnecessary groups.


    Thank you

  •  2,218
    WebWizards replied

    Hi George,

    I see what you mean, though I'm afraid I don't think we have a great option for this at the moment.

    Creating a new group may still be the best option.


    Do you need this for a lot of users / categories? If not too complex, maybe we can provide a custom code snippet for it.


    Kind regards,

    Stefan

  •  1
    George replied

    Hey Stefan, 

    At the moment it is only 1 user but will be about 8 categories?

    Hence why, i did not want to create another group and have to re-upload a new price list etc.

    Thank you

  •  2,218
    WebWizards replied

    Thank you for the details,

    I looked into this and over our visibility code in more detail. 

    In principle I believe you can add the following code snippet to the site to achieve it: https://pastecode.io/s/1oy5kr7r - in this snippet it is needed to enter the user ID and category IDs in the 3 functions there. It is a bit difficult to manage, unfortunately I don't think we have a simpler solution at the moment - this likely also won't perform as fast or reliable as the regular visibility functionality.