Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

3
votes
2answers
1k views

Magento local to live migration database error

After migration, I have moved Magento from local server to live server, I get this error when I want to save any setting, SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '0' for ...
28
votes
2answers
35k views

Extending / Overriding JS in Magento 2

As Magento2 is using RequireJS for loading scripts, and there's no more skin folder, I've stuck with a problem: How can I replace Magento's module JS file by my modified version? For example — the ...
9
votes
4answers
5k views

How to create admin theme for Magento2

This method works for Magento 1 but not for Magento 2 (version 0.42.0-beta10): http://www.magentocommerce.com/wiki/4_-_themes_and_template_customization/admin/using_custom_admin_theme_templates
5
votes
1answer
5k views

How to add new css file for a module in Magento2?

I'm trying add custom css file for my module namely Magento_Hello in magento2. In the module I've created new page and trying to add new custom css to that page. Here is what I have done in app/code/...
0
votes
1answer
1k views

Magento 2 isn't generating my pub images

I was running into an issue that my Magento 2 instance wasn't generating images on my Windows 7 machine. The system wasn't producing any errors and it had all installed perfectly. I also was meeting ...
1
vote
2answers
734 views

RWD Theme in version 2.0

Can anyone confirm? I heard that the RWD theme will no longer be an available option during install when Community version 2.0 is released. A rumor or fact?
2
votes
1answer
481 views

Pass string parameters to the model construct in Magento 2

What is the best way to pass some not predifined string to model construct in Magento 2 with di.xml? I have an api class which requires incoming params like service url, login and license key which i ...
1
vote
4answers
2k views

Multi Vendor / Multi Seller store in Magento 2

Can the new Magento 2 be able to implement these features easily ?? especially the multiple shops for each shopkeeper ? or a lot of customization will have to be done ?
0
votes
1answer
1k views

`“.maintenance.flag” cannot be touched Warning` Error while installing magento2 after admin user creation - Linux

I got stuck (94% progress) in exception while installing magento2 after user creation. I have enabled the php error reporting on but not Luck. Then i have tried to debug from terminal(CLI) and got ...
5
votes
1answer
4k views

Custom Module not working in Magento 2

I am created custom module in magento 2, but it's not working. Could you please suggest me where i went wrong? my Code is: app/etc/config.php 'modules' => array ( 'Magento_Hello' => 1, ...
29
votes
8answers
16k views

Future Support of Magento 1.9 - Coming Magento 2.0

We want to upgrade our current Magento 1.4.0.1 installation to 1.9.1.0 till autumn this year. The only thing we are unsure about is the future support of 1.9.1.0 since Magento 2.0 will be released end ...
0
votes
1answer
151 views

Magento dictionary problem

I am stuck since a few days on this. I want to create a new dictionary for Magento. And I followed the instructions here : https://wiki.magento.com/display/MAGE2DOC/Using+Translation+Functionality#...
-1
votes
2answers
1k views

magento 2 How to overwrite the existing style.css

I need to customize css in magento 2. For example My theme name is "inchoo" at following path :- - C:\wamp\www\magento2\app\design\frontend\Magento\inchoo Currently I am facing following issues to ...
-1
votes
5answers
483 views

Looking for some help setting up Magento

I have been hosting several Magento websites via shared hosting for the last 24-months now. Setting them up is a doddle using cPanel etc. My web host simpleservers have let me down causing the ...
20
votes
6answers
3k views

Can anyone suggest more technical resources for Magento 2?

I was able to find few articles on Magento 2 from http://magenticians.com/ http://www.thienphucvx.com/ If anybody know some other resources can you please share it here? (links, Ebooks, blogs etc)
6
votes
2answers
680 views

Custom Entity Models - Using EAV vs Flat

I am working on a module that is essentially replacing a number of Magento features with custom logic. This is mainly due to the fact that I require pricing to 5 decimals of precision, but that is ...
21
votes
1answer
3k views

How can I have a custom XML file in modules merged as one in Magento 2? (MageStackDay mystery question 2)

MageStackDay bonus question for 500pts Bounty AND a the possibility of winning a free Z-Ray license for a year. More info can be found >> here << The questions are provided/inspired by Magento ...
39
votes
1answer
6k views

How to add a new product type in Magento 2? (MageStackDay mystery question 1)

MageStackDay bonus question for 500pts Bounty AND a the possibility of winning a free Z-Ray license for a year. More info can be found >> here << The questions are provided by Magento 2 core ...
3
votes
2answers
3k views

Magento 2 and Varnish results

Installed the latest Magento 2 beta3 release with sample data, and configured Varnish, and enabled Varnish debugging in vcl file. When requesting a page, and refreshing, I see the css, js files, etc......
5
votes
1answer
451 views

What happened with Magento 2 Service Layer?

As far as I remember, there were a lot of talks about importance of Magento 2 Service Layer and many services with different methods we had out of the box. When I downloaded the latest build, I was ...
2
votes
1answer
1k views

how to rewrite AccountManagement model of customer in magento 2(ver. 0.42.0-beta2)?

I want to rewrite activate function of AccountManagement.I don’t know how to proceed. According to documentation A public interface is a set of code that third-party developers can call, implement, ...
6
votes
2answers
7k views

How can I add customer attribute in Magento 2?

Note: The question was referring to magento2-dev-beta and the code for setup scripts is not the same anymore in Magento 2.x. I'm playing with Magento 2 and I'm stuck in adding attribute for customer ...
2
votes
2answers
988 views

Create Extension for Magento 2

I am playing around with the Magento 2 beta and in doing so attempting to create a custom extension. I have had a good read through the docs and think I understand most of the process, however I am ...
2
votes
1answer
3k views

I cannot login to my magento 2.0 admin panel

I have successfully installed magento 2.0 However I cannot see any default theme appled on the front end and also I am not able to login to my admin panel
0
votes
1answer
970 views

How to change Magento's “var” directory to other place in Magento 2?

I have installed Magento 2 in ubuntu guest / windows host in vagrant, but it is extremely slow. I think a simple change can improve performance, How can I move my Magento's "var" directory to "/tmp/...
14
votes
9answers
6k views

Magento 2 StyleSheet not loading

I have installed magento 2 successfully but frontend side and admin side style is not loading. Even after login to admin it gives not found(404) page Base url in core_config_data:http://localhost.com/...
6
votes
3answers
8k views

Sample data for Magento 2 - PHP memory problem while installing from Composer

Recently I tried to install Magento 2 with sample data and failed. I added the proper package to the composer.json file and when I run composer update it always fails just before finishing downloading:...
27
votes
4answers
9k views

Magento 2: Is there a Profiler?

Does Magento 2 have a profiler? The Stores -> Settings -> Configuration -> Developer -> Debug panel still exists, but there's no settings for a profiler there. If Magento 2 does have a ...
0
votes
1answer
3k views

Install Magento 2 with MAMP [closed]

I have MAMP & MAMP PRO. I tried to install Magento 2 beta. When i write "composer install" the system returns me this error: Your requirements could not be resolved to an installable set of ...
21
votes
3answers
6k views

Missing CSS and JS files In magento2 Git Repository

I have Successfully Install the Magento2 But when I try to run Homepage I getting below Errors in the console. Then I have checked in Magento git Ripo https://github.com/magento/magento2/tree/master/...
12
votes
3answers
10k views

Magento 2 Installation: getting stuck without error at “Installing user configuration.”

I have installed Composer and followed the steps to install Magento2. It will be stuck at 93%. It isn't giving any proper error... Please check the image: Also, it will display in configuration, as ...
5
votes
3answers
35k views

Install Magento 2 on localhost of Wamp at Window System [closed]

As you may be aware about developer beta release of Magento 2. So today I want to install Magento 2 on my WAMP server at Window system, I am failing to install it. I have Googled but I always get ...
3
votes
5answers
9k views

Magento 2 custom module not loading

I installed a local copy of Magento 2 into my XAMPP and have been getting to know the new structure. I have however run into a problem when trying to setup a basic module. I have created the ...
0
votes
2answers
3k views

Magento2 Installation: Composer PHP version errors on Windows

I tried to install Magento2 on Windows which runs PHP 5.5.19 and MySQL 5.6.X versions (from xampp package) through Composer, but I received the following errors after running composer install (please ...
4
votes
5answers
12k views

Magento 2 Installation: css/js/images not loading

I am trying to install Magento2(0.1.0-alpha107 ) in my localhost powered by OSX 10.10 + brew installed php-fpm + mysql + nginx. Steps that I followed for installation: mkdir /path/to/magento2 &&...
2
votes
1answer
611 views

Exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1293 Incorrect table definition when setup Magento 2.0 (0.1.0-alpha107)

Today I set up a version of Magento 2.0 (build 0.1.0-alpha107). But the process has stuck at 23% with error: Exception 'PDOException' with the message 'SQLSTATE[HY000]: General error: 1293 Incorrect ...
0
votes
2answers
2k views

Magento2 Installation error - Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' [closed]

I have been trying to install the Magento 2 framework ahead of the upcoming webinar but I have been getting errors. Has anyone been able to install via CLI or the web UI? Here is the error: Parse ...
1
vote
1answer
991 views

Magento2 Dynamic System->Configuration Comments [closed]

In Magento 1.x you could have dynamic comments on system->configuration fields by declaring your field in system.xml like this: <field_code_here translate="label"> <label>Label ...
0
votes
1answer
235 views

Magento2: So close, but Admin won't run

Magento2 has installed successfully. At least IT says so. Calling the localhost domain launches the website properly and everything there looks good. However, when I run localhost/admin I get a 404. ...
2
votes
2answers
707 views

Error when using magento2 /setup [closed]

i downloaded magento 2 in github:https://github.com/magento/magento2. when i run setup, it's give me a message: Whoops, it looks like setup tool dependencies are not installed. Please run '...
5
votes
2answers
2k views

Magento 2 composer install

Anybody do a successful install of magento 2 only via composer ? I found a nice article here : http://magenticians.com/installing-magento-2-composer but sadly it's outdated. I tried it and I get ...
1
vote
2answers
5k views

Magento 2 installation display blank page [closed]

step 1-> magento2 download from https://github.com/magento/magento2 version 0.1.0-alpha101all step 2-> install composer globally using composer windows installer. step 3-> run composer install ...
6
votes
4answers
4k views

Magento2 install error iteration

After successfully running composer install under the setup directory and then calling 127.0.0.1:8080/setup in my browser, the Magento Installer runs and I am able to successfully complete the first ...
1
vote
1answer
2k views

Errors installing Magento2 [closed]

I'm getting the following error when trying to run the Magento2 installer on my dev host (apache running on :8080 It's a fresh clone of the dev alpha rev 99. Oddly, I installed an earlier rev (...
83
votes
11answers
20k views

How can I bootstrap Magento 2 in a test.php script?

In magento 1 I could create a file where I only needed to instantiate the Mage_Core_Model_App class and then I could add my "dirty" code for test purposes. Something like this test.php: <?php //...
7
votes
2answers
2k views

Magento 2 javascript text translations

[EDIT] This is outdated. The translation is not done anymore as described below [/EDIT] In Magento 1 the translatable texts needed in javascript were added in the jstranslate.xml file in the etc ...
20
votes
4answers
15k views

Why aren't Magento developers using Zend Framework 2 for Magento 2?

Magento will continue to mostly use the original Zend Framework (version 1) for Magento 2 (source: Magento 2 and Zend Framework 2 ) Seeing as how Magento 2 will not be backwards compatible with ...
5
votes
2answers
4k views

Admin roles role_type table column

In the admin_role table there is a column role_type that can have 2 values: 'G' - Mage_Admin_Model_Acl::ROLE_TYPE_GROUP 'U' - Mage_Admin_Model_Acl::ROLE_TYPE_USER By their names I jump do the ...
3
votes
1answer
1k views

Unable to Add widget for New products in Hompage Using Magento 2 release alpha96 [closed]

Anybody can guide me on how to display products in homepage in Magento 2? In Magento 2 Backend, Content->Pages->Home Page->Content, I am trying to insert Widget for New products on homepage but I am ...
9
votes
3answers
488 views

What (type of) classes are generated in Magento 2?

In Magento 2 there are a set of classes that are generated automatically and stored in var/generation and they are used in the core code. While trying to create a custom module by replicating one of ...