Ausgewählte Konfigurator Optionen ausgeben

Hallo,

Hiermit lasse ich mir im Konfigurator alle ausgewählten Optionen ausgeben:

                                  {$configurator = $sArticle.sConfigurator}
                                  {foreach $configurator as $configuratorGroup}
                                  {foreach $configuratorGroup.values as $option}

                                  {if $option.selected}
                                  
                                  {$configuratorGroup.groupname}
                                  {$option.optionname}
                                  
                                  {/if}

                                  {/foreach}
                                  {/foreach}

 

Was muss ich ändern um hierbei nach einer bestimmten Auswahl zu filtern. Z.B. möchte ich die nur die ausgewählte Option der Gruppe mit der ID “113” ausgeben.

Das hat nicht funktioniert:

{if $sConfigurator.groupID == 113}
{if $option.selected}

{$configuratorGroup.groupname}
Ausgewähte Option

{/if}
{/if}

Wie wird sowas gemacht?

Grüße,

Alexander H.