Search Results
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 |
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.
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 …
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 …
5
votes
1
answer
5k
views
Magento 2: Disabled configurable product still appear in the frontend
I have a configurable product and i want this product to stop appearing in the frontend. I have already disabled the product and set visibility to 'Not visible individually' but still frontend showing …
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 …
4
votes
3
answers
13k
views
Magento 2: How to get first and last name of customer?
I have a customer ID and I want to get first name and last name of that customer. Any solution?
4
votes
0
answers
397
views
Magento 2: Show/Hide product attribute based on other attribute value
I created two custom attributes for product. One attribute is of type drop down and other attribute is of type multi select. I want to hide multi select type attribute when drop down attribute is sele …
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 …
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?
3
votes
0
answers
906
views
Magento 2: Sales Order report show wrong data
Orders Report gives wrong results when compared with the actual orders. For example, in Dec 22,2017, there are total 5 orders having "complete" status.
But when I view orders report after applying …
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?
2
votes
1
answer
768
views
Magento 2: Remove 'low stock' label from product image
I created a product and set 'Manage Stock' to no. But when i see a product on frontend, it shows a label 'Low Stock' on product thumbnail image. I do not want to show that label. I think there is an o …
2
votes
0
answers
313
views
Magento 2: How to add array of input fields in admin panel?
I wanna display an array of input fields in Cart Prices Rules page under Condition's tab like this:
I have a similar example which does this in stores/configuration section but I wanna achieve this …
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?
1
vote
2
answers
1k
views
Magento 2: Setup version for module is not specified
I was working on the Magento 2 CE, in which Data Migration Tool was already installed. I cleared the root folder and installed fresh Magento 2 EE in that folder. I also truncated the database of CE an …
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')
- …