From 1ed09398582aae700fb35b586803377610eb53d3 Mon Sep 17 00:00:00 2001
From: lucasgacek <87780059+lucasgacek@users.noreply.github.com>
Date: Tue, 21 Feb 2023 12:48:45 -0700
Subject: [PATCH] =?UTF-8?q?Revert=20"[EX-438]=20[M1]=20Define=20Magento=20?=
=?UTF-8?q?Configuration=20Settings=20to=20Reserved=20"Inte=E2=80=A6"?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Extend/Warranty/Block/Installation.php | 46 -------------------
.../base/default/layout/extend_warranty.xml | 28 +++++------
.../template/warranty/installation.phtml | 9 ----
3 files changed, 11 insertions(+), 72 deletions(-)
delete mode 100644 app/code/local/Extend/Warranty/Block/Installation.php
delete mode 100644 app/design/frontend/base/default/template/warranty/installation.phtml
diff --git a/app/code/local/Extend/Warranty/Block/Installation.php b/app/code/local/Extend/Warranty/Block/Installation.php
deleted file mode 100644
index 6c48d19..0000000
--- a/app/code/local/Extend/Warranty/Block/Installation.php
+++ /dev/null
@@ -1,46 +0,0 @@
-isLiveMode();
-
- $integrationConfig = array(
- 'auth' => array(
- 'mode' => $isLiveMode ? \Extend_Warranty_Helper_Connector::LIVE : \Extend_Warranty_Helper_Connector::DEMO,
- 'id' => $isLiveMode ? $helper->getApiStoreId() : '',
- 'sandboxId' => $isLiveMode ? '' : $helper->getApiStoreId(),
- 'extendStoreName' => $helper->getApiStoreName()
- ),
- 'general' => array(
- 'enableExtend' => $helper->isExtendEnabled(),
- 'balancedCart' => $helper->isBalancedCart(),
- 'enableRefunds' => $helper->isRefundEnabled()
- ),
- 'syncProducts' => array(
- 'batchSize' => $helper->getBatchSize(),
- 'lastSyncDate' => $helper->getLastSyncDate()
- ),
- 'orders' => array(
- 'ordersAPI' => $helper->isOrdersApiEnabled()
- ),
- 'offers' => array(
- 'displayCartOffers' => $helper->isDisplayOffersEnabled(),
- 'postPurchaseLeadsModal' => $helper->isOffersLeadModalEnabled(),
- 'orderInformationOffers' => $helper->isOffersOrderOffersEnabled()
- ),
- 'syncHistoricalOrders' => array(
- 'batchSize' => $helper->getHistoricalOrdersBatchSize(),
- 'lastSendDate' => $helper->getHistoricalOrdersSyncPeriod(),
- 'enableCronSync' => $helper->getHistoricalOrdersSyncEnabled()
- )
- );
-
-
- return json_encode($integrationConfig);
- }
-}
\ No newline at end of file
diff --git a/app/design/frontend/base/default/layout/extend_warranty.xml b/app/design/frontend/base/default/layout/extend_warranty.xml
index a8ff113..c4c8e65 100644
--- a/app/design/frontend/base/default/layout/extend_warranty.xml
+++ b/app/design/frontend/base/default/layout/extend_warranty.xml
@@ -20,9 +20,7 @@
-
-
@@ -37,11 +35,6 @@
-
-
-
-
@@ -70,9 +63,7 @@
warranty/checkout/cart/item/default.phtml
-
-
@@ -87,13 +78,16 @@
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
diff --git a/app/design/frontend/base/default/template/warranty/installation.phtml b/app/design/frontend/base/default/template/warranty/installation.phtml
deleted file mode 100644
index 9697526..0000000
--- a/app/design/frontend/base/default/template/warranty/installation.phtml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
\ No newline at end of file