Questions tagged [magento-2.0]

Questions related to Magento 2.0 version of PHP eCommerce software and platform. Questions should be related to writing code for Magento. General Magento questions may be asked on https://magento.stackexchange.com

General Magento questions may be asked on Magento.SE. Questions not related to programming are off-topic


Related tags


251 questions
2
votes
1 answer

How to fix this magento 2 apptha marketplace issue?

1 exception(s): Exception #0 (Exception): Notice: Undefined offset: 1 in /var/www/html/magento2/app/code/Apptha/Marketplace/view/frontend/templates/product/manage.phtml on line 191 Exception #0 (Exception): Notice: Undefined offset: 1 in…
Anand SN
  • 23
  • 3
2
votes
3 answers

Magento Open Source 2.3 - CSS and JS not loading

I installed Magento 2.3 successfully but when type http://localhost/Magento2/, I get a blank page like this: and these are the errors found in the console: The same issue is also faced on the admin panel. My current version of PHP is 7.2.14.
2
votes
1 answer

Magento2:Extra parameters passed to parent construct:

I have this code in my custom controller: namespace Myweb\CustomArt\Controller\Index; use Magento\Framework\Controller\ResultFactory; use Magento\Framework\Filesystem; class Form extends \Magento\Framework\App\Action\Action { /** * Contact…
Joshi
  • 2,730
  • 5
  • 36
  • 62
2
votes
2 answers

Magento 2 admin error 404 page not found and admin url is also not found

I use all the methods available on google but nothing worked. Same issue is showing again and again. After running this command: php bin/magento info:adminuri. It does not show the admin url.
Huma Saleem
  • 31
  • 1
  • 4
2
votes
0 answers

How to get Associated Products Price in Dropdown of Configurable Prdouts

I am working in Magento 2. I want to display Associated product's price in drop down on detail page. Like producctname + price For example in screenshot:- Green + 10; Let me know please how can I do it. Thanks
Kirmal Brar
  • 397
  • 1
  • 2
  • 17
2
votes
1 answer

Move block of orders in Account Dashboard

How I can move account My orders list in Account dashboard ? As My orders are on top at this time. block block-dashboard-orders what will be block name to move this ?
Learner
  • 238
  • 3
  • 17
2
votes
0 answers

Debug magento 2 codes using netbeans

Iam using netBeans as IDE for magento coding. I have debugged simple php codes using xdebugger. While debugging it will take the path like (http://localhost/netBeans/login.phtml) in browser, ie path of code that…
sushanth
  • 33
  • 5
2
votes
1 answer

Magento 2 Rest Api V1/products missing extension attributes

I am calling the Rest API V1/products to get the product list from Magento 2 store Request: http://{myMagentohost}/Magento/index.php/rest/V1/products?searchCriteria[currentPage]=1&searchCriteria[pageSize]=1 Response: {"items": [ { "id": 1,"sku":…
2
votes
1 answer

How do you send an HTTP Shipping Request in Magento2 from a custom shipping module?

I have created a custom shipping module and it's working perfectly, but I cannot figure out how to send the shipping info via a REST API request to the shipping company's website. I tried to emulate the Fedex and UPS modules, but there has to be an…
jameson1128
  • 135
  • 2
  • 13
2
votes
2 answers

Magento 2 products not being added to cart

The "Add to cart" button changes to "adding" and stays like that. It does nothing after that.It doesn't work from anywhere not even product details page.
Ali Rehman
  • 43
  • 1
  • 6
2
votes
0 answers

Magento2 Estimate Shipping rate and Tax in minicart

I have spent lot of time in to include "Estimate ans shipping rate" in mini cart at header so user can also check shipping rate from minicart rather than to move on to cart page. I could'nt get solution to include "Estimate and shipping rate" in…
Kanchan
  • 21
  • 4
2
votes
2 answers

How do I create a custom header in Magento 2 using HTML and CSS

I want to make a custom header for my theme in Magento 2. I managed to create a working module which just outputs "Hello World" right now and gets displayed in the header section of my shop. Now, how do I remove the old header panel and tell my new…
Dawesign
  • 643
  • 1
  • 7
  • 25
2
votes
1 answer

How to develop Magento 2 Catalog Price Rule programmatically

I want to develop custom product relater module and for that i have to load catalog price rule conditions . I already added tabular format for my module. Any one can please help me for above problem ? CRITICAL: Recoverable Error: Argument 1 passed…
Ankit
  • 43
  • 1
  • 5
2
votes
1 answer

Magento 2 automated testing

I am a newbie of Magento 2, I have been learning it for 2 weeks. I have heard from some people there are some automated testing frameworks for Magento 2. I have been trying this http://devdocs.magento.com/guides/v2.0/mtf/mtf_introduction.html , but…
Luan Tran
  • 376
  • 1
  • 3
  • 15
2
votes
0 answers

Magento2.0 catalogProduct filter

I want to get products from Magento 2.0.2 ce with typeId != "bundle" via SOAP. When i send this request:
Maxim Kitsenko
  • 2,042
  • 1
  • 20
  • 43