Okay
  Public Ticket #3956442
Inquiry About Role-Based Variation Visibility in B2BKing
Open

Comments

  • Ben started the conversation

    Dear Plugin Developer's,

    I hope this message finds you well.

    I am considering purchasing your plugin, B2BKing, and I would like to confirm if it supports a specific functionality.

    Here is my use case:

    • I have a product with several variations (e.g., A1, A2, B1, B2 based on the "price" attribute. red, blue based on the "color" attribute.).

    • I want different user roles to see only certain variations:

      • Regular users should only see red A1 and red A2, blue A1 and blue A2.

      • VIP customers should only see red B1 and red B2, blue B1 and blue B2.

    Is it possible to configure such variation-level visibility based on user roles using your plugin?

    Thank you in advance for your help. I look forward to your reply.

    Best regards,
    Ben

  •  2,361
    WebWizards replied

    Hello Ben,

    Thank you for getting in touch with us,

     

    The plugin does have a visibility feature, however I'm afraid this can only hide products completely, not individual variations.

     

    For individual variations, what you could do is to create a "hidden price" dynamic rule. For example:

    6054389850.png

    With such a rule, when that variation is selected, it will be grayed out and not possible to add to cart. It would show a message such as "this item is not available":

    5984556233.png

    The message shown there can be customized in B2BKing -> Settings -> Language & Text.

     

     

    Let me know if you have any questions or anything I can help with,

    Kind regards,

    Stefan