So, da ich jetzt wieder am Rechner bin, hier der Code:
#Template mod_iso_productlist
PHP-Code:
...
foreach ($this->products as $product):
$arrOptions = $product['product']->getOptions();
echo $arrOptions['vari_farbe']['label'] . " " . $arrOptions['vari_farbe']['label'];
# alle ausgeben
foreach ($product['product']->getOptions() as $arrOption):
echo $arrOption['label'] . " " . $arrOption['label'];
endforeach;
....
#Template iso_reader_default
PHP-Code:
...
$arrOptions = $this->raw_options;
echo $arrOptions['vari_farbe'];
# alle ausgeben
foreach ($this->raw_options as $arrOption):
echo $arrOption;
endforeach;
....
Lesezeichen