diff --git a/web/typo3conf/ext/ep_products/Classes/Domain/Serialization/Product.php b/web/typo3conf/ext/ep_products/Classes/Domain/Serialization/Product.php index 5aa5eef9..64465daa 100644 --- a/web/typo3conf/ext/ep_products/Classes/Domain/Serialization/Product.php +++ b/web/typo3conf/ext/ep_products/Classes/Domain/Serialization/Product.php @@ -50,7 +50,7 @@ class Product 'images' => [], ]; - $product['@id'] = $entity->getUid(); + $product['@id'] = $entity->getBusProId(); $product['@code'] = $entity->getCode(); $product['name'] = preg_replace('/[\r\n\s]+/', ' ', $entity->getName()) . ' - ' . $entity->getConcept()->getName(); diff --git a/web/typo3conf/ext/ep_theme/Resources/Private/Templates/Product/Detail.html b/web/typo3conf/ext/ep_theme/Resources/Private/Templates/Product/Detail.html index 86b3e1f2..72513c1f 100644 --- a/web/typo3conf/ext/ep_theme/Resources/Private/Templates/Product/Detail.html +++ b/web/typo3conf/ext/ep_theme/Resources/Private/Templates/Product/Detail.html @@ -17,7 +17,7 @@ }' argument-prefix='' :hotel-first="{f:if(condition: settings.hotelOnTop, then: 'true', else: 'false')}" - :fb-pixel-data="{ productUid: {product.uid}, nameInternal: '{product.nameInternal}' }" + :fb-pixel-data="{ productUid: {product.busProId}, nameInternal: '{product.nameInternal}' }" :watchlist="watchlist" :daytrip="{product.daytrip -> v:variable.convert(type: 'int')}" inline-template>