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
1 vote
1 answer
114 views

Override config

I am trying to override the config in a early stage. I have created a option where the admin can choose in the config section from which website they want to inherit the config from. I am stuck on ...
user avatar
  • 448
9 votes
4 answers
23k views

How can I get product list with its detail in rest API I'm on magento2

I'm working on native mobile application and want to display product after customer selected a category. I am able to get list of the product by category in rest request but that list don't have much ...
user avatar
39 votes
3 answers
31k views

Enable exception printing on the webpage in Magento2

I was installing Magento 2 and got the following error. There has been an error processing your request Exception printing is disabled by default for security reasons. Error log record ...
user avatar
  • 6,707
2 votes
1 answer
239 views

Magento2 - Overriding magento2 backend theme

How to use a new theme admin? in Magento v1.x had to create a controller to configure a new theme. ex: ` public function overrideTheme() { Mage::getDesign()->setArea('adminhtml')->...
user avatar
  • 21
5 votes
1 answer
2k views

Magento 2 how to interact with products grid collection

I'm trying to find the best way to modify products collection for products grid in admin. In particular, to add additional filter to the collection. I don't want to override the grid's block to ...
user avatar
1 vote
1 answer
702 views

Problem with Magento 2 Installation [closed]

I've tried to install Magento 2 0.42.0-beta11 on Windows 7 machine with Apache. After install homepage doesn't have any styles or images - http://joxi.ru/Vm6ko9ni7oWG2Z. If i try to open any css or ...
user avatar
3 votes
2 answers
2k 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 ...
user avatar
  • 859
41 votes
3 answers
79k 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 ...
user avatar
  • 1,080
9 votes
5 answers
8k 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
user avatar
  • 91
5 votes
1 answer
6k 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/...
user avatar
  • 2,025
0 votes
1 answer
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 ...
user avatar
1 vote
2 answers
987 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?
user avatar
  • 21
2 votes
1 answer
578 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 ...
user avatar
1 vote
4 answers
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 ?
user avatar
  • 13
0 votes
1 answer
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 ...
user avatar
5 votes
1 answer
5k 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, ...
user avatar
  • 191
29 votes
9 answers
17k 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 ...
user avatar
0 votes
1 answer
166 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#...
user avatar
  • 1
-1 votes
2 answers
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 ...
user avatar
  • 61
-1 votes
5 answers
504 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 ...
user avatar
22 votes
7 answers
4k 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)
user avatar
  • 9,837
2 votes
2 answers
12k views

How to change page title in Magento "Magento Commerce"?

When I click on a link send to a friend and want to send the link to some of my friend I have the title Magento Commerce displayed in my title tag. The question is: how to change it to something ...
user avatar
  • 583
6 votes
2 answers
827 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 ...
user avatar
  • 4,628
23 votes
1 answer
4k 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 ...
user avatar
  • 37.4k
42 votes
1 answer
7k 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 ...
user avatar
  • 37.4k
3 votes
1 answer
5k 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......
user avatar
5 votes
1 answer
538 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 ...
user avatar
2 votes
1 answer
2k 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, ...
user avatar
  • 207
6 votes
2 answers
8k 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 ...
user avatar
2 votes
2 answers
1k 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 ...
user avatar
  • 3,438
2 votes
1 answer
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
user avatar
  • 1,489
0 votes
1 answer
2k 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/...
user avatar
14 votes
10 answers
8k 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/...
user avatar
6 votes
4 answers
9k 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:...
user avatar
33 votes
3 answers
16k 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 ...
user avatar
  • 43.7k
0 votes
1 answer
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 ...
user avatar
22 votes
2 answers
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/...
user avatar
  • 7,189
13 votes
3 answers
11k 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 ...
user avatar
  • 7,189
5 votes
3 answers
38k 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 ...
user avatar
3 votes
5 answers
14k 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 ...
user avatar
  • 1,992
0 votes
2 answers
4k 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 ...
user avatar
  • 2,081
4 votes
5 answers
13k 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 &&...
user avatar
  • 4,632
0 votes
2 answers
976 views

how to place "Orders and Returns" on navigation menu instead of a footer link

i would like to know if theres anyway i can place the "order and return" link and place it in the menu on the navigation bar. Here is my site. Thank you If you notice the order and return link is at ...
user avatar
2 votes
1 answer
801 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 ...
user avatar
  • 123
0 votes
2 answers
3k 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 ...
user avatar
  • 2,443
1 vote
1 answer
1k views

Magento2 Dynamic System->Configuration Comments

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 ...
user avatar
  • 195k
3 votes
1 answer
10k views

How to get URL rewrite Target Path programmatically

I need to get programmatically the "Target Path" field that I have set in the Magento 1.8 Admin Panel, using Catalog -> URL rewrite management. How do I get it?
user avatar
0 votes
1 answer
238 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. ...
user avatar
  • 672
2 votes
2 answers
728 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 '...
user avatar
  • 385
6 votes
4 answers
4k 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 ...
user avatar
  • 73