From 32f8eadc071ae7334d24d89be949c84041ae2b09 Mon Sep 17 00:00:00 2001 From: Arnoud Beekman Date: Fri, 27 Jul 2018 13:58:09 +0200 Subject: [PATCH] Don't add empty method to the cart summary In some cases the method html is empty, this will result in an empty list item, which in the end results in an extra margin of 20px because of default styling. --- .../Checkout/view/frontend/templates/cart/methods.phtml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/code/Magento/Checkout/view/frontend/templates/cart/methods.phtml b/app/code/Magento/Checkout/view/frontend/templates/cart/methods.phtml index 5530f7661bb1b..d329e2e8c1770 100644 --- a/app/code/Magento/Checkout/view/frontend/templates/cart/methods.phtml +++ b/app/code/Magento/Checkout/view/frontend/templates/cart/methods.phtml @@ -14,7 +14,8 @@ getMethods('methods') ?: $block->getMethods('top_methods') ?>