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 13596

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.

1 vote
0 answers
2k views

My Custom Module is redirecting to 404 page in Magento2 CR2

.*" }, "type": "magento2-module", "version": "100.0.1", "license": [ "OSL-3.0", "AFL-3.0" ], "autoload": { "files": [ "registration.php" …
Pradeep Kumar's user avatar
3 votes
Accepted

How to load Product or order collection outside project in magento2

thank you all i got it i followed as per the post How can I bootstrap Magento 2 in a test.php script? in root folder i created script/abstract.php <?php use \Magento\Framework\AppInterface as AppI …
Pradeep Kumar's user avatar
0 votes

dropdown menu is not working in magento admin panel.I got error of js as follows

run command bin\magento setup:static-content:deploy this issue will happen when you install magento2 freshly …
Pradeep Kumar's user avatar
1 vote

Magento 2 How can declare table in config.xml

in magento2 we are not using any table in config.xml , in m2 config.xml is used for set default value , and also no where we are mention resources tag in xml just directly call the model and collection …
Pradeep Kumar's user avatar
2 votes

Magento 2: Display Active Paymet methods in configuration

i hope below code will help you $paymentM = $this->_objectManager->create('Magento\Payment\Model\MethodList'); $quote = $this->_objectManager->create('\Magento\Quote\Api\Data\CartInterface' …
Pradeep Kumar's user avatar
10 votes

Retrieve items on Order Magento 2

below i code which will help you to get order items (i called in Block class) <?php namespace Sugarcode\Test\Block; class Test extends \Magento\Framework\View\Element\Template { protected $order …
Pradeep Kumar's user avatar
1 vote

How to write magento 1.x config.xml to magento 2.0 config.xml?

in magneto2 no need to mention block, helper, resources, table name, etc. in config file and also it split many xml file ex :- routes.xml crontab.xml cross check catalog module which will help yo …
Pradeep Kumar's user avatar
4 votes
4 answers
10k views

How To get Visual Swatch attribute image path in magento2

I created one attribute with type Visual Swatch now i need to get image path of specific option value or product then how to get it ?
Pradeep Kumar's user avatar
3 votes

How To get Visual Swatch attribute image path in magento2

$swatchHelper=$this->_objectManager->get("Magento\Swatches\Helper\Media"); $swatchCollection = $this->_objectManager->create('Magento\Swatches\Model\ResourceModel\Swatch\Collection'); // brand logo is …
Pradeep Kumar's user avatar
0 votes

How to get product review summary data in magento2

use below code . $productid=1226; $product=$this->_objectManager->create("Magento\Catalog\Model\Product")->load($productid); $RatingOb=$this->_objectManager->create("Magento\Review\Model\ …
Pradeep Kumar's user avatar
0 votes
Accepted

magento 2 get store from block

No need to call store manager class again in __construct you can reuse $context if you call store manager class inside __construct then it will through the error at the time of compile in production …
Pradeep Kumar's user avatar
0 votes

Magento 2.2 error after upgrade

If there is any tag inside tag then will though mentioned error just remove block then it works fine
Pradeep Kumar's user avatar
2 votes
6 answers
6k views

How to load Product or order collection outside project in magento2

I need to load product or order collection outside the magento, i need to play around the data so i need to call collection in magento1.x we use require_once '../app/Mage.php'; $products = Mage::ge …
Pradeep Kumar's user avatar
1 vote
0 answers
413 views

How to add custom mass action with pop up though UI in Magento2

I need to add custom mass action , but when you click on mass action option i need one pop up instead of redirecting to action url that is custom js for my custom mass action can any one help me o …
Pradeep Kumar's user avatar
2 votes
2 answers
4k views

How to get product review summary data in magento2

I need to get Product review summery in magento2 programtically how to get it ? …
Pradeep Kumar's user avatar

1
2 3 4 5
11
15 30 50 per page