Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

New answers tagged

2

The cause of such errors is hidden in the template files. In the following commented code 1 <?php //echo "this is an unwanted php code";?> there is no space between the semicolon “;” and the closing tag of php i.e. “?>” which causes the error. For the above code, when the HTML file is minified, the closing tag of php is considered as a part of the ...


1

As I ran into the same problem and it's already the behavior observed in Magento 2.2.8, I decided to post this answer. In Magento 2.3.x this issue seems to be fixed. You can override the form.phtml template used in the cart and there change the order of the submit buttons. In Magento core it is as follows: <button type="submit" name="...


0

You have 2 ways to achieve that: 1) Using theme : app/design/frontend/Vendorname/Theme/Magento_Checkout/web/template/shipping.html 2) Using extension : app/code/VendorName/ModuleName/view/frontend/web/template/shipping.html app/code/VendorName/ModuleName/view/frontend/requirejs-config.js var config = { paths: { 'Magento_Checkout/...


0

Rewrite your requirejs-config like below: var config = { "map": { "*": { 'Magento_Checkout/template/shipping': "Vendor_Namespace/template/shipping" } } }


0

You can actually remove it using CSS rule display:none of display property in your custom CSS: ul.compare{ display:none; }


0

Have you considered installing an extension such as this https://www.yireo.com/software/magento-extensions/emailtester


0

You can check the Customer Block Class in: Magento\Customer\Block\Account\Customer.php


1

In your Custom/Theme/Magento_Theme/layout/default.xml <move element="top.search" destination="header.panel" before="minicart" />


1

You can move header search bar using below xml element, app\design\frontend\YourVendor\YourCustomTheme\Magento_Theme\layout\default.xml <move element="top.search" destination="where you want to move" /> As per your current search my suggestion is that you can manage it via CSS


0

You can't find <ul class="header links"> tag in whole magento directory you can find <li class="greet welcome"> in below path : vendor/magento/module-theme/view/frontend/templates/html/header.phtml Actually <ul> tags comes from the vendor/magento/module-theme/view/frontend/layout/default.xml below is code. <block class="Magento\...


0

You can check it from customer default layout file. Magento/Customer/view/frontend/layout/default.xml


0

Instead of messing around with the layout files, I just added custom CSS inside style tags with the html editor inside the magento 2 page design area. Then Added custom js with a script tag in the same editor that selected the divs that were already there and removed their css classes. The divs are still there which is not a problem in my case as it was only ...


2

The link does not come from a template file. It is added via layout (view/frontend/layout/default.xml from the customer module) via these lines: <block class="Magento\Customer\Block\Account\RegisterLink" name="register-link"> <arguments> <argument name="label" xsi:type="string" translate="true">Create an ...


Top 50 recent answers are included