If I change the language in top of the screen I get an error:
1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Theme layout update file '/home/jukeboxs/public_html/app/design/frontend/Ubertheme/megamall/Magento_Checkout/layout/checkout_index_index.xml' is not valid. StartTag: invalid element name Line: 2 XML declaration allowed only at the start of the document Line: 2 Extra content at the end of the document Line: 9 The site does not work anymore then until I delete all browser history. this happens with all browsers (google, edge and explorer)
I tried to connect the site to check the problem but it seem your site down right now: https://www.dropbox.com/s/hrwfa4wypi8jqn4/2018-01-18_09-14-05.png?dl=0
Please resolve it let me know when site back.
It is working now. Maybe there was some maintenance.
I see you modified the file: /public_html/app/design/frontend/Ubertheme/megamall/Magento_Checkout/layout/checkout_index_index.xml. I wonder if you had backed up this file before making your custom change? You can compare and revert the old file, if it is in place.
Alternatively, you can edit the file as follows:
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<move element="logo" destination="header-wrapper"/>
Please let me know how it works then.
Works again. Thanks. I was trying to remove the “apply discount code” from the cart and checkout page. We never use that. Is there an easy way to do that?
You can simply hide such block using CSS workaround as follows:
Go to the file: app\design\frontend\Ubertheme\megamall\Magento_Checkout\web\css\source\module\_cart.less at line 29 and add the new line below:
Once done, please re-compile LESS -> CSS using CLI commands below:
Step 1: Go to your root site with CLI and type: rm -rf var/* pub/static/*
Step 2: php bin/magento setup:static-content:deploy -f
Hope that helps.
Just what I needed. Many thanks again.
Glad that helps.
Please get back to me here in case you have the additional question.