A site’s configured priority can affect its precedence in the SiteIdForItem selection process. For example:

Priority settings being equal, the following example of SiteIdForItem generally gives precedence to the current site—SiteA—over any other site. However, given SiteA and SiteB’s priority settings, SiteIdForItem gives precedence to SiteB over SiteA and returns SiteB’s site ID:

<dsp:importbean bean="/atg/dynamo/droplet/multisite/SiteIdForItem"/>
<dsp:droplet name="SiteIdForItem">
  <dsp:param name="item" param="myProduct"/>
  <dsp:param name="currentSiteFirst" value="true"/>