diff --git a/web/typo3conf/ext/ep_products/Classes/Service/HotelService.php b/web/typo3conf/ext/ep_products/Classes/Service/HotelService.php index abdd1836..75f30b62 100644 --- a/web/typo3conf/ext/ep_products/Classes/Service/HotelService.php +++ b/web/typo3conf/ext/ep_products/Classes/Service/HotelService.php @@ -225,6 +225,11 @@ class HotelService implements SingletonInterface 'images' => $this->hotelImageService->getImages($row['hotelUid']), 'fact' => $row['hotelFact'], ], + 'country' => [ + 'name' => $row['country'], + 'code' => $row['countryCode'], + 'flag' => $this->flagIconService->getImage($row['countryCode']), + ], 'available' => 0, 'board' => $row['board'], 'earlybird' => $row['earlybird'], diff --git a/web/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/TeaserWide.html b/web/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/TeaserWide.html index 6e06a81e..28321389 100644 --- a/web/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/TeaserWide.html +++ b/web/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/TeaserWide.html @@ -1,7 +1,6 @@ + xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers"> @@ -9,8 +8,8 @@
{product.country.name} + src="{item.country.flag}" + alt="{item.country.name}"/> - + - +