From b22ff277a602b9471365ff3e7f97c6edceac262e Mon Sep 17 00:00:00 2001 From: Zorak Date: Tue, 8 Jan 2019 10:49:48 -0200 Subject: [PATCH] Mostrar Erros Mostrar o erros --- Controller/Product/Shipping.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Controller/Product/Shipping.php b/Controller/Product/Shipping.php index 36f738a..3136467 100644 --- a/Controller/Product/Shipping.php +++ b/Controller/Product/Shipping.php @@ -65,6 +65,7 @@ public function execute() $this->_quote->collectTotals(); $result = $this->_quote->getShippingAddress()->getGroupedAllShippingRates (); if (is_string ($result)) die ($result); + if(getType($result)=="string") die( __($result) ); $resultPage = $this->_resultPageFactory->create(); $this->getResponse()->setBody(