Public Ticket #3726163

Category Visibility by User

Closed
Comments
9 Tickets 2
George started the conversation 2 years ago on September 17, 2024 at 5:41am

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,762
KingsPlugins replied 2 years ago on September 20, 2024 at 2:13am

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

9 Tickets 2
George replied 2 years ago on September 26, 2024 at 2:45am

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,762
KingsPlugins replied 2 years ago on September 30, 2024 at 1:13pm

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.

 

Sign In