Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [magento2]

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.

Filter by
Sorted by
Tagged with
2
votes
1answer
2k views

OAUTH Flow in Magento2

I need to create the Rest API in magento in 1.x or 2.x and I need to expose to the third party , I have doubt on the authentication how its going to be carried out for the OAUTH ->How the 3rd party ...
16
votes
5answers
12k views

Magento 2 events list

Is there any complete list of events in Magento 2? I'm looking for something like Magento Events Cheat Sheet (1.9)
3
votes
1answer
733 views

Magento 2: Share Javascript/CSS Between Backend and Frontend

In Magento 2, is there a way, as a module developer, to share a javascript or css file between the frontend and adminhtml areas? In Magento 2, your css and javascript files are kept in the following ...
0
votes
1answer
893 views

Business question about “Pending Payment” state/status

It's a business question but I hope someone will answer. Why "Pending Payment" state/status is not visible on frontend by default? I'm implementing right now Magento 2 integration with some payment ...
2
votes
1answer
3k views

Magento 2 Component manager (extension installation)

I'm developing an extension for Magento 2, and was wondering what are my options for the installation process for users. I saw in the magento documentation that there supposed to be a component ...
1
vote
1answer
2k views

Migrate Magento 1.8.1.0 to Magento 2.0

I want to Upgrade existing magento website with around 3000 products from magento 1.8.1.0 to magento 2.0. Note : Design is custom.
1
vote
1answer
5k views

How to debug custom theme layout in magento 2

Today when i check var/system.log [2015-10-26 19:43:28] main.CRITICAL: Broken reference: the 'page.bottom' element cannot be added as child to 'page.bottom.container', because the latter doesn'...
7
votes
4answers
19k views

how do you call Blocks in Controller Magento2?

I want getBlock Adb/Block/Index in controller Adb/Controller/Category/View. So How do it? Edit in controller. namespace Addon\Faq\Controller\Category; class View extends \Addon\Faq\Controller\...
2
votes
1answer
399 views

Debug the admin grids and forms

In Magento2 the admin grids and forms are built as I can see with a mix of require js and knockout js. Now the forms and grids are built via the ui_component xml files as well but because a lot of the ...
1
vote
2answers
802 views

Copy XML nodes from layout files of another action in Magento2

My use case is, that I copied parts of the Magento checkout to the bundle's product's page. i.e. I copied parts from app/code/Magento/Checkout/view/frontend/layout/checkout_cart_index.xml to app/...
4
votes
1answer
834 views

Magento 2 Pattern Library — Date & Time Selectors

I would like to implement the "Horizontally Stacked Time Range Picker" from the Magento 2 Pattern Library into an admin form input http://devdocs.magento.com/guides/v2.0/pattern-library/getting-user-...
4
votes
2answers
2k views

How can i rewrite TierPrice Block in Magento2

I am facing one issue in block rewrite. I am trying to rewrite app/code/Magento/Catalog/view/base/layout/catalog_product_prices.xml I want to Call my own tier_prices.phtml <code> <layout xmlns:...
1
vote
3answers
916 views

Magento 2 script errors when running MAGE_MODE=production

I've installed Magento 2 and set MAGE_MODE=production. However, I'm receiving a lot of JavaScript errors when visiting the home page (requireJS). I tried flushing the cache and reploying static ...
6
votes
1answer
3k views

Magento 2: Soap Credentials

Poking around the codebase and some questions here it looks like Magento 2 -- much to the chagrin of certain segments of the web development community -- will still support SOAP API endpoint. (...
7
votes
2answers
8k views

How do the extension attributes work in Magento 2?

I'm not sure what the docs are saying. I know they're used to add attributes (complex or not) via etc/extension_attributes.xml and I managed to make the compilation process create an interface with ...
0
votes
1answer
285 views

Unable to extend adminhtml customer addresses tab in magento2

In magento1 i could extend the adminhtml customer addresses tab class Vendor_Module_Block_Adminhtml_Customer_Edit_Tab_Addresses extends Mage_Adminhtml_Block_Customer_Edit_Tab_Addresses { public ...
1
vote
3answers
992 views

custom xml get error is not valid?

i have default.xml in frontend. <?xml version="1.0"?> <!-- /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ --> <page xmlns:xsi="http://...
-1
votes
2answers
2k views

Composer installation issue for Magento 2 on WAMP [closed]

I'm trying to install magento 2 on WAMP Windows 10. I have downloaded. When i run it gives error Autoload error "Vendor autoload is not found. Please run 'composer install' under application ...
23
votes
4answers
11k views

Magento2 CLI module:enable gives error “Unkown module(s)”

In Magento2 I've built a simple custom module and want to enable it by CLI: bin/magento module:enable Vendorname_Modulename But it is giving me the following error: Unknown module(s): '...
-2
votes
1answer
2k views

replace or over write the Magento 2 footer phtml file [closed]

How to replace or overwrite the footer phtml file without changing the core file of Magento 2?
2
votes
4answers
558 views

Magento 2: Composer Only Instalation

I'm trying to write up a tutorial explaining how to install Magento 2 only via composer, and use that tutorial as an in to exploring how third party composer repositories work. Looking at the current ...
0
votes
1answer
365 views

ko.getObservable is not a function in admin section

After updating may Magento2 instance to commit I am seeing the error ko.getObservable is not a function in the file events.js. I have performed and composer install, bin/magento update and bin/...
1
vote
2answers
2k views

Add an admin with basic custom form for Magento2

I am trying to create an admin page for my extension. I managed to add a new button to the side menu just below the System icon by adding the following menu.xml under etc/adminhtml. <?xml version="...
0
votes
1answer
1k views

How to get a configurable parent product from catalog in Magento2?

In Magento 1 I had an extension that did the following to get the configurable parent product by child ID: // $full_product holds the child in the first place $configurable_product_model = Mage::...
24
votes
4answers
10k views

Magento 2: Sending Email Programmatically

Does Magento 2 have any built-in integration with third party transaction email deliverability systems like Amazon SES, Mandrill, etc., or is the built-in email functionality still based around PHP's ...
3
votes
4answers
5k views

How to enable Full Text search in admin grid of magento2

i created admin grid using UI component when i try to search from full test search or keyword search i am not getting correct search data can any one help me on this rest all thing are working ...
6
votes
3answers
3k views

Adding button in Magento 2

I'm trying to add button in customer address form. But I don't know how to do it from customer_form.xml file. If any one knows please suggest me. I have registered button control on ui_definition.xsd ...
0
votes
0answers
579 views

magento2 setup error with database MariaDB?

today I uninstall mysql and add new mysql-5.6.27-winx64, Windows (x86, 64-bit), ZIP Archive in https://dev.mysql.com/downloads/mysql/. and add pubbin mariaDB in Zendserver. when i setup magento2 ...
4
votes
1answer
282 views

Magento 2 1.0.0-beta creating a new vendor/theme from Magento/luma breaks FE

I created a new Vendor/theme where, in the theme.xml, i referenced the Magento/luma theme. As i understand it right, the fallback should now grap styles from the luma theme and my new theme should ...
12
votes
3answers
10k views

Magento 2 : Error 404 not found at magento 2 admin login page

I have installed magento 2 into my Personal Computer. It working fine over there. I have installed same copy at another system then frontend is working fine admin is not. (its showing 404 page) ...
2
votes
2answers
5k views

How to add new column to core module of admin grid in Magento2 [duplicate]

I need to add new column to sales and customer admin grid in Magento2 and also as all we know it uses UI Component, then how to extend grid with UI as well as non UI ex newsletters modules
0
votes
1answer
754 views

magento 2 conn't login to admin panel in local host with xampp

when i given correct logins also it conn't login Thnaks
20
votes
4answers
2k views

Magento 2: What's a Service Contract

In Magento 2, is there a concrete example of something that's built using the Service Contract concept? I've seen this term thrown around a lot, but looking at Magento 2 as it exists now it's not ...
3
votes
1answer
1k views

Magento 1.9.2 Upgraded to magento 2 via admin panel

I was reading the upgrade guide - but had the idea to try the upgrade via Magento connect. but is there any chance to update via admin panel
2
votes
0answers
1k views

Magento 2 Add Image to product media gallery

I am using bacon-qr-code library to generate a png file containing the QR code of the product info, it is generated and i am using $product->addImageToMediaGallery() function, which creates a ...
10
votes
4answers
20k views

How to create Admin Grid in Magento2?

I am trying to create module in magento2, now i stuck creating grid page in admin side, let me know if any one already did
2
votes
1answer
87 views

Magento2 - Which namespaces to be used inside a class

This might be a novice question, but as when a developer starts to learn Magento2,how do i figure out which all namespaces must be used inside a Model,Block,Plugin or matter of fact any custom class ...
0
votes
1answer
6k views

AJAX request in backend template is redirecting to login page

I am working with Magento2. I've created some backend controllers, which are accessible in backend. In my backend template file, I want to call the controller function with jQuery like this: ...
0
votes
0answers
451 views

Magento2 attributes construct error in Entity

I have made a dummy module in Magento2 , just wanted to observer cart add event, but while making few files i am getting this error a:4:{i:0;s:168:"Warning: DOMDocument::loadXML(): attributes ...
0
votes
3answers
2k views

Magento 2 Form Field Array (Advance system configuration option)

Recently I worked on advance system config form field in Magento 2. I checked Braintree payment method for reference. When I saved a value, it showing following error: Something went wrong ...
0
votes
1answer
2k views

Magento2 Admin login is coming blank [duplicate]

Installation of Magento2 went fine, but when i try to access the admin page, it gives me blank login screen. pub/static has generated css,js correctly for frontend and adminhtml I see problem with ...
0
votes
0answers
501 views

Error while running php bin/magento setup:upgrade in magento 2

When i try to upgrade the setup from the magento root folder in cmd, using php bin/magento setup:upgrade i get below error Autoload error: An abstract factory could not create an instance of ...
21
votes
1answer
5k views

Block with Cachable=false not rendered on product view page

I am using magento2-1.0.0-beta4 I have copied the checkout.root block from app/code/Magento/Checkout/view/frontend/layout/checkout_index_index.xml to the product page. Everything is working fine, ...
14
votes
3answers
21k views

I am getting Fatal error: Class 'IntlDateFormatter' not found in Magento2

I am getting the error Fatal error: Class 'IntlDateFormatter' not found in Magento2 after installation.
2
votes
2answers
64 views

Contributing to magento hackathon Github

I'm wanting to contribute to the magento hackathon github page https://github.com/magento-hackathon .Does it need to be during a hackathon or can anyone contribute at anytime? And Do they accept PR's?
2
votes
1answer
2k views

Magento 2 - custom model save triggers error - Fatal error: Call to a member function dispatch() on a non-object

I am creating a simple frontend magento 2 module to take input from user and save output in database. Here is what i have tried. Index.php -- (Index controller index action) namespace ...
52
votes
3answers
7k views

Run tests for a specific module in Magento2

Running the tests for Magento to using php bin/magento dev:tests:run takes a lot of time. Is there a way to run the tests for a specific module only? I'm a noob in (unit) testing so have mercy.
0
votes
2answers
3k views

How to override adminhtml phtml files in magento2

How to override adminhtml phtml files in magento2? I want to place a custom text in customer edit page welcome to magento2. For this I have created a theme and placed app\design\adminhtml\Vendor\...
7
votes
2answers
2k views

Add jQuery Datatables in magento 2

I am trying to use the jquery DataTables in magento-2 frontend using the requirejs. I can see the datables.min.js file in the net panel, but somehow it give the following error. My reuirejs-config....
1
vote
0answers
123 views

Detail page in Magento2 render empty

I have created my own new theme in Magento 2 clone from blank theme of Magento2. When I open up product view page, It's showing blank page (Body totally blank). I have re-checked all my settings ...