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 |
Denotes questions related to Magento CE and EE 2.1.x
2
votes
Accepted
Run a php script everytime admin login happens from within a module
You will need to create a module and use observer.
create events.xml file at path vendor/modulename/etc/adminhtml/events.xml
add the below code,
<?xml version="1.0"?>
<config xmlns:xsi="http://www. …
10
votes
Accepted
How Can I change Session save path?
You can change session save path from file /app/etc/env.php
'session' =>
array (
'save' => 'files',
'save_path' => '/var/www/session',
),
Read magento Doc for more info:
http://devdocs …
2
votes
We're unable to send the password reset email
You will require to install SMTP module to send email in Magento2.Magento 2 default not providing this feature.
You can install below module and configure settings
https://github.com/magepal/magento …
2
votes
Accepted
How to set max length and order of collection
Use setPageSize function to limit for collection and order by product_id.
$collection->setPageSize(10)->setOrder('product_id');
0
votes
Getting data fom UI form
You need to understand fully about UI component,there are so many articles regarding this topic.
Please read below articles,surely you will understand about UI component
http://devdocs.magento.co …
0
votes
Orders are being canceled automatically in Magento 2?
It seems there is any cron job is running and this cron job hitting any observer function which is changing the status of some of your particulars Orders.
Hence you need to check observer functions m …
0
votes
Magento 2 custom Extension extra pages
You will need to create a custom module for it and in this module create a Controller whose front name will be forum.In controller folder create two folder with name Username and Threadname and this f …
1
vote
Accepted
Magento 2.1 How to get custom configuration in custom observer?
Add function in observer file:
public function __construct(\Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig)
{
$this->_scopeConfig = $scopeConfig;
}
and update your code: …
2
votes
Update prices of all simple products via their configurable product in Magento 2
I was getting same issue when Migrated data from Magento to Magento 2.As Magento 2 change scenario to set the Special price for configurable product and
we need to require set special price for every …
0
votes
Reset to default table sales_order_status
You need to import both table again by installing MAGENTO 2.1.6 in local machine.First export both table from newly installed magento then go to DB from which your website is running,delete both corru …
0
votes
Accepted
IP Admin url returning 404 error after succesfull installaion
In order to get proper work admin, you need to enable rewrite module by command
a2enmod rewrite from ubuntu and then
sudo service apache2 restart
and if not working go to path /etc/apache2/ and ed …
0
votes
Multi website and multi store view with custom url in magento 2
You need to change settings from admin section:
Go to admin->store->configuration->General->Web and in
Url Options setting enable Add Store Code to Urls to Yes
Now Clean all cache.