diff --git a/public/typo3conf/ext/ep_products/Classes/Controller/AjaxTableController.php b/public/typo3conf/ext/ep_products/Classes/Controller/AjaxTableController.php index 3bbc1ddd..b650aef6 100644 --- a/public/typo3conf/ext/ep_products/Classes/Controller/AjaxTableController.php +++ b/public/typo3conf/ext/ep_products/Classes/Controller/AjaxTableController.php @@ -226,7 +226,8 @@ class AjaxTableController extends ActionController Product $product, Hotel $hotel, Date $date, - bool $singleDate = false + bool $singleDate = false, + string $bookingUrlTemplateCode = 'base' ): void { $forcedConceptUids = GeneralUtility::trimExplode(',', $this->settings['forcedConceptUids'], true); $filterSettings = $this->filterService->getNormalizedFilterSettings([], $forcedConceptUids); @@ -236,7 +237,7 @@ class AjaxTableController extends ActionController 'hotel' => $hotel, 'filterSettings' => $filterSettings, 'date' => $date, - 'template' => $this->settings['bpnBookingUrlTemplateCode'], + 'template' => $bookingUrlTemplateCode, 'paCode' => GeneralUtility::_GET('pa'), ]); $hasSurchargeOrDiscount = $this->dateService->checkSurcharcheOrDiscount($priceTable); diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Hotel/DetailEvent.html b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Hotel/DetailEvent.html index 6a8ee2f5..37c3b9af 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Hotel/DetailEvent.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Hotel/DetailEvent.html @@ -21,7 +21,7 @@

Buchungsoptionen

+ data-ajax-content-uri-value="{ep:uri.ajax(action: 'pricetableHtml', controller: 'AjaxTable', pageUid: settings.defaultAjaxUid, arguments: '{product: product, hotel: hotel, bookingUrlTemplateCode: settings.bookingUrlTemplateCode}', format: 'html')}">