diff --git a/public/typo3conf/ext/ep_products/Classes/Controller/ProductController.php b/public/typo3conf/ext/ep_products/Classes/Controller/ProductController.php
index 7be5cbca..148cf5a5 100644
--- a/public/typo3conf/ext/ep_products/Classes/Controller/ProductController.php
+++ b/public/typo3conf/ext/ep_products/Classes/Controller/ProductController.php
@@ -173,7 +173,6 @@ class ProductController extends ActionController
$this->view->assignMultiple([
'hotels' => $hotels,
'product' => $product,
- 'currentPageUid' => $GLOBALS['TSFE']->id,
'linkHotel' => true,
]);
}
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/_app.js b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/_app.js
index baa96e25..059117b3 100644
--- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/_app.js
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/_app.js
@@ -30,8 +30,8 @@ import ContactForm from './components/ContactForm.vue'
import WatchlistToggle from './components/WatchlistToggle.vue'
import Watchlist from './components/Watchlist.vue'
import HotelList from './components/HotelList.vue'
-import ReferrerLink from './components/ReferrerLink.vue'
import FacebookPixel from './components/FacebookPixel.vue'
+import BackLink from './components/BackLink.vue'
// Define global constants
const $window = $(window);
@@ -64,7 +64,7 @@ new Vue({
WatchlistToggle,
Watchlist,
HotelList,
- ReferrerLink,
+ BackLink,
MyEp: () => import('./myep/components/App.vue'),
FacebookPixel
},
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/BackLink.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/BackLink.vue
new file mode 100644
index 00000000..d7c482e0
--- /dev/null
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/BackLink.vue
@@ -0,0 +1,31 @@
+
+
+
+
+
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/HotelList.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/HotelList.vue
index 2667052d..d6dad1a4 100644
--- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/HotelList.vue
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/HotelList.vue
@@ -1,13 +1,11 @@
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/SearchResult.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/SearchResult.vue
index 900198c0..78731a80 100644
--- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/SearchResult.vue
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/SearchResult.vue
@@ -204,14 +204,11 @@
},
updateFilterSettings (settings) {
this.filterSettings = { ...this.filterSettings, ...settings };
- sessionStorage.setItem('filterSettings', JSON.stringify(this.filterSettings));
}
},
created () {
if (!$.isEmptyObject(this.initialFilterSettings)) {
this.updateFilterSettings(this.initialFilterSettings)
- } else if (sessionStorage.getItem('filterSettings')) {
- this.updateFilterSettings(JSON.parse(sessionStorage.getItem('filterSettings')))
}
},
mounted () {
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/SearchResultItem.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/SearchResultItem.vue
index 5ab7a32a..d1817b37 100644
--- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/SearchResultItem.vue
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/SearchResultItem.vue
@@ -2,8 +2,7 @@
@@ -70,12 +69,10 @@
import dayjs from 'dayjs'
import 'dayjs/locale/de'
import WatchlistToggle from './WatchlistToggle.vue'
- import ReferrerLink from './ReferrerLink.vue'
export default {
components: {
- WatchlistToggle,
- ReferrerLink
+ WatchlistToggle
},
props: {
item: {
@@ -85,15 +82,11 @@
section: {
type: Object,
required: true
- },
- referringPage: {
- type: Object,
- default () {
- return {
- url: null,
- label: null
- }
- }
+ }
+ },
+ methods: {
+ getUrl () {
+ return this.item.detailPageUri + '?ref=' + window.location.pathname;
}
},
computed: {
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/TeaserWide.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/TeaserWide.html
index bf7515cf..d0fac703 100644
--- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/TeaserWide.html
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/TeaserWide.html
@@ -10,10 +10,13 @@
-
+
-
+
{product.concept.name}
@@ -70,32 +73,46 @@
{f:if(condition: '{item.dates -> f:count()} > 1', then: 'Zeitraum', else: 'Termin')}
{ep:dateRange(dateFrom: item.minDateStart, dateTo: item.maxDateEnd, includeLabel: 0)}
-
+
{item.dates -> f:count()} Termin{f:if(condition: '{item.dates -> f:count()} > 1', then: 'e')}
-
+
{ep:nightsOptions(options: item.nights)}
ab {item.minPrice} €
-
+
Details & Buchen
-
+
ausgebucht
- Details
+
+ Details
+
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Product/HeaderDetail.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Product/HeaderDetail.html
index 2db63d30..5f262b46 100644
--- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Product/HeaderDetail.html
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Product/HeaderDetail.html
@@ -60,8 +60,6 @@
-
+
{v:render.template(file: 'EXT:ep_theme/Resources/Private/Partials/Breadcrumb.html')}