Skip to content

Instantly share code, notes, and snippets.

@jmvelasco
Created February 12, 2014 08:23
Show Gist options
  • Save jmvelasco/8951810 to your computer and use it in GitHub Desktop.
Save jmvelasco/8951810 to your computer and use it in GitHub Desktop.
foreach ($elements as $elementCode => $elementData) {
if ($configuratorService->isCompoundElement($country, $elementCode)) {
echo $elementCode . ' is compound<br>';
$scooterElements[$accessoryDescription[$elementData['accessoryType']]][$elementData['description']] = $configuratorService->getCompoundOptions($country, $elementCode);
$universesConfigurationNames[$elementData['description']] = $configuratorService->getCompoundDescription($country, $elementCode, $configuratorService->getValues($country, $universSelected, $elementCode));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment