Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Johan Dahlström 33 posts 146 karma points
    Apr 18, 2021 @ 20:16
    Johan Dahlström

    Show different property content depending on user selections


    I have an ecommerce site where users can select their desired market. I would like properties on the same page to be able to show different content depending on the user's current market (not to be confused with language).

    What are my options? My initial thought was using nested content where I wrap properties with a market picker. It felt so-so, do you have any other ideas? Creating a custom property editor or are there any existing packages?

  • Dhanesh Kumar MJ 158 posts 512 karma points MVP c-trib
    Apr 19, 2021 @ 07:29
    Dhanesh Kumar MJ

    Hi Johan,

    I think there is no existing package to do this, but you can look into this package repository, maybe this will help you to get an idea to hide & show the backend properties.

    You need to create a custom property editor for this, and you can access userService in custom property, and based on the userGroups you can show & hide ;)

    Check the doc here for backoffice api

    Regards Dhanesh ;)

Please Sign in or register to post replies

Write your reply to: