Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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?
I think there is no existing package to do this, but you can look into this package repository https://github.com/KOBENDigital/ConditionalDisplayers, 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 https://our.umbraco.com/apidocs/v8/ui/#/api
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted