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 |
Questions about extending the Magento admin panel and the admin theme
3
votes
Accepted
How to add image role programmatically in magento2
You can add new image type using this code (from setup data script of your module):
namespace Vendor\Module\Setup;
use Magento\Eav\Setup\EavSetup;
use Magento\Eav\Setup\EavSetupFactory;
use Magento\ …
22
votes
Accepted
How to get current Website ID in the Admin Panel?
The general idea is to pass the scope, chosen, through the request parameter.
I think you should use the similar code like in the product edit action:
/** @var \Magento\Store\Model\StoreManagerInter …
0
votes
Accepted
how to add html in ordered item section in admin panel?
Try to add your block as the child of the <block type="core/text_list" name="order_item_extra_info"></block>. It should look like this:
Layout:
<adminhtml_sales_order_view>
<reference name="or …
6
votes
Accepted
How to create custom "Duplicate" buttons for Adminhtml Form in Magento2?
$duplicateUrl . '")'
],
12 // sort order
);
}
Add controller's action:
namespace Vendor\Module\Controller\Adminhtml\Some\Thing;
class Duplicate extends …
0
votes
Exeption error when adding new custom Tab to Order View page in Admin
Open the config.xml of your module and see the <block> section. Maybe the name of the block (alias) is not an ordersedit. If that is true, just use in your layout correct block alias from the config.x …
3
votes
Accepted
Magento 2: available options for grid column config (UI Component)
You can find definition in the .xsd (XML schema) which usually located for the UI components in vendor/magento/module-ui/view/base/ui_component/etc/definition directory.
vendor/magento/module-ui/e …
5
votes
How to create custom tab in product admin section in Magento 2
Add the modifier in app/code/Vendor/Module/etc/adminhtml/di.xml:
<?xml version="1.0"? …
5
votes
Accepted
How to get the billing address from a quote instance: Magento 2
These error comes from a method public function getFormattedAddress(Address $address) because you expect to get the order address as a first argument. Try to remove the argument validation:
public fu …
3
votes
Accepted
Custom Attribute for Product Image Not Showing Saved Values in Admin Form (Media Gallery Att...
Here is my example module from mentioned question/answer on GitHub. You can examine a commit https://github.com/SiarheyUchukhlebau/Dcw_Vm/commit/baf4053dc1d9fa625122cddcfb0da05029bda41f to detect, how …
2
votes
Accepted
Filter admin order by store id magento 2
You should join the store table to the sales_order_grid table to add a store id (group id) to it:
app/code/MageWorx/FilterByStore/etc/adminhtml/di.xml
<?xml version="1.0"? … We must define filter:
app/code/MageWorx/FilterByStore/view/adminhtml/ui_component/sales_order_grid.xml
<?xml version="1.0" encoding="UTF-8"? …