Skip to main content
54 votes
Accepted

Something went wrong while saving this configuration: Area is already set

Note : This is a know issue in Magento 2.2.4 (see GitHub issue) and below fix is just a temp fix. You should not directly change the Magento core file (override or create a plugin) Change in Magento\...
Vishwas Bhatnagar's user avatar
33 votes

How to add Bootstrap 4 in a Magento 2 theme?

For adding Bootstrap 4 In Magento 2.2.3 (tested) & above in your custom theme follow below steps 1) Bootstrap css files inside web folder Note: THEME_LOCATION => app\design\frontend\vendor-...
Manoj Deswal's user avatar
  • 5,805
16 votes

Integration not secure

If you use an empty "Callback URL" or "Identity link URL" for the integration, then run these SQL queries to remove the error UPDATE `integration` set `endpoint` = '' where `...
lemk0's user avatar
  • 608
15 votes
Accepted

Magento2: breadcrumbs disappeared from product page after upgrading to 2.2.4

I found the same problem and did it little bit easier and without ObjectManager. I found out the way how it's done with categories and used that. In catalog_product_view.xml, I rewrite template back ...
tomis's user avatar
  • 293
13 votes
Accepted

How can I remove "As low as" in Magento 2.2.4

Helpfull comand to check where we can find 'As low as' grep -rnw '/var/www/html/your magento-directory' -e 'As low as' You can use one of this three methods: Rewrite final_price.phtml Just copy ...
BartZalas's user avatar
  • 1,757
11 votes

Magento2: breadcrumbs disappeared from product page after upgrading to 2.2.4

These two lines restores the class breadcrumb block. That's it. No custom plugins or something else: <referenceBlock name="breadcrumbs" template="Magento_Theme::html/breadcrumbs.phtml" /> <...
Detzler's user avatar
  • 1,332
11 votes

How to add Bootstrap 4 in a Magento 2 theme?

You can add Bootstrap this way, follow below steps: Note: This solution doesn't work with Magento 2.2.3 and above 1) Place your JS and CSS at below location /app/design/frontend/vendor-name/...
Mayur Rathod's user avatar
11 votes
Accepted

Magento 2 Pagination not working on search results - Porto Theme

After messing around with this for a bit I think I found the issue. I'm by no means an expert or know much about Magento 2. I'm also on Magento 2.4.0 and on Porto 3.2.5(One update back). The Issue is ...
Darin Minard's user avatar
9 votes

magento 2.2.4 white blank page after setup:di:compile on windows 10

I am also facing the same issue for me a temporary fix is force deploying developer mode (even if you are already on it or not) i.e. Executing the following command after di compile php bin/magento ...
Vishwas Bhatnagar's user avatar
9 votes

Breadcrumbs not displaying on Product Page Magento-2.2.4

It's still possible to activate the classic breadcrumb. Just put these lines into your layout-xml: <referenceBlock name="breadcrumbs" template="Magento_Theme::html/breadcrumbs.phtml" /> <...
Detzler's user avatar
  • 1,332
7 votes

Add Captcha to magento 2 contact form on cms page

There is no need to call <p>{{block class="Magento\Contact\Block\ContactForm" name="contactForm" template="Magento_Contact::form.phtml"}}</p> in the content tab. If you don't have any ...
Mohit Kumar Arora's user avatar
7 votes
Accepted

Get list of all modules using code in Magento 2

After some study of Magento core modules, I checked the source, from where the following command is executed: php bin/magento module:status I found that Magento is using \Magento\Framework\Module\...
Mohit Kumar Arora's user avatar
7 votes
Accepted

Magento 2.2.4 issue with module version

Most likely you have been working on this project before and already have a database in place which apparently has newer versions of the modules you're trying to use. The current versions of the ...
Niels's user avatar
  • 1,416
6 votes

magento 2.2.4 white blank page after setup:di:compile on windows 10

First Open “Validator.php” file located as the following path. vendor\magento\framework\View\Element\Template\File\Validator.php find the function : protected function isPathInDirectories($path, $...
Sushant Vishwas's user avatar
6 votes

Javascript error on product page in magento 2.2.4

In app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/view/gallery.phtml replace "arrows": <?php /* @escapeNotVerified */ echo $block->getVar("gallery/arrows"); ?>, ...
Allen Infante's user avatar
6 votes

Magento2: breadcrumbs disappeared from product page after upgrading to 2.2.4

For the ones who wants a Fix Module until Magento fixes this: https://github.com/CompactCodeEU/FixProductBreadcrumbs.git I created this to add the home and product to the breadcrumb. Also this ...
CompactCode's user avatar
  • 2,477
6 votes

URL Key not changing in Magento 2

The issue resolved with below solution. As I said url_key was not regenerating only with Migrated Products from Magento 1 to Magento 2 with UB Migration Tool Lite Extension. At the time of Migrating ...
zubair's user avatar
  • 115
6 votes

How to add Bootstrap 4 in a Magento 2 theme?

You should use bower package manager to add bootstrap 4 in your theme web folder. WHY? Because there are constant update & easy to manage. Run the update command the Bootstrap 4 is updated. ALSO:...
Ananth's user avatar
  • 142
5 votes
Accepted

Magento 2.2.4 - Source class "\amazonClient" for "amazonClientLogger" generation does not exist

Weird but got fixed by running following commands in the order: bin/magento deploy:mode:set developer bin/magento cache:clean bin/magento setup:di:compile bin/magento deploy:mode:set production
Kalpesh's user avatar
  • 2,325
5 votes

Magento 2.2.4: Module Manager not showing

setup/src/Magento/Setup/Model/Grid/Module.php line 181 replace with $item['moduleName'] = isset($item['moduleName']) ? $item['moduleName'] : $this->packageInfo->getModuleName($item['name']); ...
Marcelo's user avatar
  • 51
5 votes

How to add Bootstrap 4 in a Magento 2 theme?

After reading the above answers, I have another suggestion: put Bootstrap 4 into a module, and use CDN to link the Bootstrap files instead. I assume you know how to create a basic module. If not, you ...
PY Yick's user avatar
  • 2,705
5 votes

How to remove logout page

create preference of Magento\Customer\Controller\Account\Logout class and override execute method in the execute method you find below code $resultRedirect->setPath('*/*/logoutSuccess'); ...
Murtuza Zabuawala's user avatar
5 votes
Accepted

Magento 2.2.4 Reset password of user using Rest API in (react-native)

You can achieve below way: Step 1: Send a reset token to customer mail by using below API. By default magento send a reset link password link in mail. For that customer will redirected to web view to ...
Prasanta Hatui's user avatar
5 votes
Accepted

Sales Emails going via wrong email address magento 2.2.x

Source: https://github.com/sashas777/bug-from-email Issue on Magento's GitHub Repo: https://github.com/magento/magento2/issues/14952 Please check following steps to resolve this issue. Create ...
Aasim Goriya's user avatar
  • 5,454
5 votes
Accepted

Magento 2: Default mode not merged css

Is there any specific reason why you are trying to merging CSS in default mode ?!! I think if site development is completed then you should move to the production mode not even developer or default. ...
anonymous's user avatar
  • 3,752
4 votes

Add Ajax Quantity Increment and Decrement Button on cart page in Magento 2

@Lalit Kaushik You can try in this way. app/code/Custom/ShoppingCart/registration.php <?php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\...
Bhaskar C Pothineni's user avatar
4 votes
Accepted

Hide Tabs on product details page for specific product Magento2

Yes you can achieve this thing by writing small code. What you can do is add add layout via event layout_load_before, you can use this event to add your dynamic layout. Here is sample code for you, ...
Murtuza Zabuawala's user avatar
4 votes

How can I remove "As low as" in Magento 2.2.4

In the last version of magento (2.3), the template that holds the final price is: your-magento-directory/vendor/magento/module-configurable-product/view/base/templates/product/price/final_price....
LTroya's user avatar
  • 151
4 votes
Accepted

Magento 2 Plugin for Contact Form Post Controller

At this,case you have to use around method (aroundExecute()). First, create di.xml at app/code/{VendorName}/{Modulename}/etc/frontend/ for define plugin class. <?xml version="1.0"?> <config ...
Amit Bera's user avatar
  • 77.6k
4 votes

Get list of all modules using code in Magento 2

A shot in the dark here, but maybe you could look how the terminal function bin/magento module:status works and copy that somehow? Because that shows all modules and the statuses? No idea how though.
Sanne's user avatar
  • 1,316

Only top scored, non community-wiki answers of a minimum length are eligible