$entry_type): if ( 'y' == $entry_type['hasBacking'] ): foreach ($backing_types as $backing_type_id => $backing_type): $item_id = "{$entry_type_id}-{$backing_type_id}"; $offers = $options['delivery_scope'][$entry_type_id][$backing_type_id]['offers'][$lang]; $additional_costs = $options['delivery_scope'][$entry_type_id][$backing_type_id]['additional_costs'][$lang]; include 'delivery-scope-item.php'; endforeach; else: $item_id = "{$entry_type_id}"; $offers = $options['delivery_scope'][$entry_type_id]['offers'][$lang]; $additional_costs = $options['delivery_scope'][$entry_type_id]['additional_costs'][$lang]; include 'delivery-scope-item.php'; endif; endforeach; ?>