Skip to main content
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
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
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 not deleted user 16346

General questions about Magento 2, not specific to a minor version. Use this tag to distinguish from Magento 1. If you have issues with a specific version, please use the appropriate 'Magento-2.x' tag instead. Functionalities between Magento 2 minor versions might differ.

0 votes
1 answer
235 views

Magento 2: Load customers by customer group

How to load all customers by a specific customer group in magento 2?
umair ayub's user avatar
  • 1,083
3 votes
Accepted

Magento 2: Customer related notifications do not disappear even after refreshing the page

Update messages.js in vendor/magento/module-theme/view/frontend/web/js/view. define([ 'jquery', 'uiComponent', 'underscore', 'Magento_Customer/js/customer-data', 'jquery/jquery-st …
umair ayub's user avatar
  • 1,083
2 votes
4 answers
9k views

Magento 2: How to get address from customer's object?

I want to get country, state and city of a customer. Any idea?
umair ayub's user avatar
  • 1,083
3 votes
4 answers
5k views

Set default values in Install Schema

I want to create a table with one default row. i.e. I have two attributes. How to create table with (1,1) entry by default using Install Schema?
umair ayub's user avatar
  • 1,083
6 votes
1 answer
2k views

Magento 2: Customer related notifications do not disappear even after refreshing the page

I am facing a problem, when customer enters incorrect username/password, error message appears below the navigation bar which does not disappear even after refreshing the page. When the customer navig …
umair ayub's user avatar
  • 1,083
4 votes
Accepted

Magento 2: Disabled configurable product still appear in the frontend

Fixed. Visibility scope was set to 'store view' level and i was not changing the attribute for my required 'store view'. After choosing the appropriate 'store view' and setting visibility attribute as …
umair ayub's user avatar
  • 1,083
0 votes
0 answers
610 views

Magento 2: How to change scope of 'visibility' attribute programmatically?

When i edit the visibility attribute from admin and press save, It gets stuck in ajax loader and does not save that attribute. I simply wants to change the scope from store view to global. Is there an …
umair ayub's user avatar
  • 1,083
0 votes
1 answer
3k views

Downgrade magento 2 version

I excidently upgraded the magento version from 2.2.0 to 2.2.1 through composer. Is there a proper way to downgrade back to 2.2.0? I have a database backup of magento 2.2.0.
umair ayub's user avatar
  • 1,083
0 votes
2 answers
398 views

Magento 2: Data migration tool installation

I am going to migrate data from M1(CE) to M2(EE). I have a module of data migration tool. I placed it in vendor/magento directory. Module does not install when i run magento upgrade command as i do …
umair ayub's user avatar
  • 1,083
1 vote
1 answer
3k views

Magento 2: Get IP address from order

How to get IP address from order ID in Magento 2? Any solution?
umair ayub's user avatar
  • 1,083
1 vote
1 answer
538 views

Magento 2: Get collection in specific order

I want to get collection in specific order (apart from ASC or DESC order). Here is my collection: $productCollection = $block->getProductCollection() ->create() ->addAttributeToSelect('entity_id') - …
umair ayub's user avatar
  • 1,083
0 votes
1 answer
4k views

Magento 2: Plugin class does not exist

I am working on Magento 2.2 enterprise version. It is working fine on my local system but on live environment it throws an exception: {"0":"Plugin class Magento\TargetRule\Model\Indexer\TargetRul …
umair ayub's user avatar
  • 1,083
1 vote
1 answer
705 views

Magento 2: How to assign a category to CMS page?

How to redirect a category page to CMS page in Magento 2? I have tried several methods by using URL-rewrite but these methods work only on Magento 1.
umair ayub's user avatar
  • 1,083
-2 votes

Magento 2: How to assign a category to CMS page?

This module solved my problem. Category Redirect
umair ayub's user avatar
  • 1,083
8 votes
4 answers
23k views

Magento 2: Static files are present but shows 404

I installed Magento 2 in my local environment and executed each command: php bin/magento cache:clean php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-conten …
umair ayub's user avatar
  • 1,083

15 30 50 per page