Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 9789

General questions about the Magento 2.2.x versions

1
vote
Although Magento has provided configuration for setting the maximum depth for category top navigation, but it does not work in Magento 2.1.x and 2.2.x as expected. This is a bug in Magento 2.2.x and …
answered May 9 '18 by Mohit Kumar Arora
0
votes
For the live store, one should always use Production mode. Reasons: Intended for deployment on a production system, this mode: Does not show exceptions to the user (exceptions are written to logs o …
answered May 24 '18 by Mohit Kumar Arora
1
vote
Although there was a similar question answered on Magento SE a few days ago, I would like to answer it. As I understood you want to add some HTML tags to a custom payment method. By default Magento …
answered Apr 24 by Mohit Kumar Arora
1
vote
1answer
I am trying to add a custom column in my custom grid in the admin panel. To add the custom column, I have used LEFT JOIN and GROUP BY in the collection which I get from the parent grid class. After u …
asked Aug 10 '18 by Mohit Kumar Arora
2
votes
After some research, I found the solution. Below is my approach to fixing the count: Create or open app/code/[Namespace]/[Module]/Model/ResourceModel/[ModelClassFolder]/Collection.php and paste cod …
answered Oct 24 '18 by Mohit Kumar Arora
2
votes
1answer
I am working on a website in Magento 2, but many of the modules are not of my use because my target customers would be from INDIA for now. Also, I only want to sell simple, virtual and downloadable p …
asked Jun 15 '18 by Mohit Kumar Arora
1
vote
After some time investment, I have found success in finding modules which can be disabled based on the above criteria. Below is the list of modules which can be disabled: Magento_AdminNotification …
answered Jul 19 '18 by Mohit Kumar Arora
4
votes
Override <magento_root>/vendor/magento/theme-frontend-luma/i18n/en_US.csv in /app/design/frontend folder and open the en_US.csv file. Find the text you want to translate and change the translation. I …
answered Jul 11 '18 by Mohit Kumar Arora
2
votes
The basic difference between summary.phtml and summary_short.phtml can be understood by below images: => summary.phtml: => summary_short.phtml: If you need more explanation, please feel free to …
answered Jan 5 '18 by Mohit Kumar Arora
2
votes
You should not edit/modify files within pub/* or vendor/* directory. The pub folder is for deployment only. Magento uses LESS CSS preprocessing for managing styles of themes and works in the followin …
answered Dec 28 '17 by Mohit Kumar Arora
1
vote
Magento 2.3 has many new features which are currently being tested and bug fixed. The beta version has been launched so that the developers can start hands on the features. It is not for production w …
answered Nov 27 '18 by Mohit Kumar Arora
-2
votes
1answer
I have updated the parent of a menu item which is coming from a third party extension. I have updated the menu item by my custom module's menu.xml file. For instance, the menu was coming under Market …
asked Apr 18 by Mohit Kumar Arora
3
votes
0answers
Note: I am using layout XML file to create custom admin grid, not UI components. I am working on a custom module where I have created a custom grid using layout XML file. Below is the sample code of …
asked Aug 31 '18 by Mohit Kumar Arora
0
votes
1answer
I have built a custom grid where I have only 3 columns, i.e. Category and Priority, and the Mass Action column. Since the priority field is the only field which can be changed, so I don't want Edit a …
asked Oct 31 '18 by Mohit Kumar Arora
1
vote
1answer
I have got a strange issue in Magento 2.2 (I have checked in Magento 2.2.3zzz and Magento 2.2.4). When a non-logged in user enters email in the checkout page, it checks the existence of email and if …
asked Jun 25 '18 by Mohit Kumar Arora
1
vote
1answer
Magento had a useful observer class RefundOrderInventoryObserver, which was used to observe sales_order_creditmemo_save_after event. The class was part of Magento core until Magento 2.1.x, but from M …
asked May 17 '18 by Mohit Kumar Arora
3
votes
1answer
I want to make the category field required for product form in the backend. I have tried to add the required class in the block class, but nothing happened. Since the category field is not an input …
asked Mar 19 by Mohit Kumar Arora
3
votes
0answers
Note: Before marking the question as duplicate or off-topic, please read the question carefully. Scenario: I have to show custom column in the admin grid of a custom extension. So I used override fea …
asked Apr 23 '18 by Mohit Kumar Arora
1
vote
You need to override 1 file to achieve this. Override /vendor/magento/module-sales/Block/Adminhtml/Order/View.php. Find and comment/remove below code: if ($this->_isAllowedAction('Magento_Sales: …
answered Jun 21 '18 by Mohit Kumar Arora
3
votes
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\F …
answered Jul 19 '18 by Mohit Kumar Arora
2
votes
Instead of: <block class="Magento\Cms\Block\Block" name="block_category_below_collection"> <arguments> <argument name="block_id" xsi:type="string">block_category_below_collection</argumen …
answered Mar 27 by Mohit Kumar Arora
1
vote
The issue has been reported at https://github.com/magento/magento2/issues/16378 and someone from the community team members has started working on the issue. As per the discussion, it will be resolve …
answered Jun 25 '18 by Mohit Kumar Arora
1
vote
In general, Magento 2 themes call the static blocks using widgets and by default, all the widgets are specific to a particular theme. So, when we create a new child theme based on a parent theme, the …
answered Nov 9 '18 by Mohit Kumar Arora
2
votes
1answer
I have added CMS page link to the top menu by following the below tutorial: http://www.amitbera.com/magento2-add-a-cms-page-link-to-menu/ Since one of the custom menu items would be Home, so it shou …
asked Jul 24 '18 by Mohit Kumar Arora
2
votes
For grid view: Go to Stores > Configuration > Catalog > Catalog > Storefront. Change value of Products per Page on Grid Allowed Values. Save Configuration and flush cache. Please check the screens …
answered Oct 23 '17 by Mohit Kumar Arora
1
vote
2answers
I am working on creating a base module for all other modules under one namespace. I want to show a list of all modules (with their version and their status as enabled or disabled). I have injected d …
asked Jul 19 '18 by Mohit Kumar Arora
3
votes
0answers
Note: This is not a duplicate of any similar error I have found a strange bug in Magento 2. It shows the following error in the browser's console for only restricted admin user (the user which has no …
asked Apr 12 by Mohit Kumar Arora
0
votes
There are many free modules available for adding Buy Now button for the products. Please check below links: Link 1 Link 2 If you only want to send customer directly to checkout page after clicking …
answered May 22 '18 by Mohit Kumar Arora
1
vote
0answers
I have already checked this link and found it working, but in this thread, the observer is used to change the success/error message. I want to know whether it is possible to change/update the success …
asked Oct 12 '18 by Mohit Kumar Arora