I'm using Sitecore 9.1.1 and SXA 1.8.1.
I have the following structure: A shared site in which i create the page designs, partial designs and rendering variants. And I have another two sites: Site A and Site B.
I have a case in which there is a page content structure component defined in the shared site, and two different rendering variants for this component defined in each of site A and site B.
I need to set the rendering variant of this component to be chosen according to the current site. I know I could do that for the datasource parameter using query: $site/Data/....
, however, the rendering variant parameter is a dropdown menu in which I have to choose one variant for both sites.
Is there a way to make the rendering variant different in each site just like the datasource parameter?