From 833665d6e2bfe042ffe816120b6f07c81e97841c Mon Sep 17 00:00:00 2001
From: "michael.danielczok" <michael@pcsg.de>
Date: Wed, 13 Sep 2023 12:47:31 +0200
Subject: [PATCH] feat: disable content-header in shipping and order site types

---
 index.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/index.php b/index.php
index 72af202..9abf164 100644
--- a/index.php
+++ b/index.php
@@ -12,7 +12,7 @@
  */
 $templateSettings = QUI\TemplateCologne\Utils::getConfig([
     'Project' => $Project,
-    'Site'    => $Site,
+    'Site'    => $Site
 ]);
 
 /**
@@ -59,6 +59,8 @@
 if ($Site->getAttribute('type') == 'quiqqer/order:types/orderingProcess' ||
     $Site->getAttribute('type') == 'quiqqer/order:types/shoppingCart') {
     $createBasketButton = false;
+
+    $Template->setAttribute('content-header', false);
 }
 
 $InitialBasketPrice = new QUI\ERP\Money\Price(0, $Currency);
-- 
GitLab