Questions tagged [magento-2.0.4]

Denotes questions about Magento 2 CE/EE version 2.0.4

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

Error filtering template: Notice: Undefined variable: pro_price in

Error filtering template: Notice: Undefined variable: pro_price in /Magento_Catalog/templates/product/widget/new/content/categories_shop.phtml on line 112 i'm getting this error even if comments or ...
Ganesh 's user avatar
  • 169
10 votes
4 answers
20k views

How can we remove/delete the custom attribute(created for customer) in Magento 2

I want to remove the custom attribute created for customer using installchema,I followed this link but it didn't helped.Anyone tried earlier,please help.Thanks in advance! I have added attribute ...
Bibhu Asish's user avatar
0 votes
1 answer
26 views

Installed Magento 2.0.4 with composer, importet DB from Live-System, 404s are present

We planned to create a stage of our Live System. We are using Magento 2.0.4. I installed Magento 2.0.4 with Composer and installed Magento over the Web. I uploaded Themes and pub/media-Files to the ...
Max's user avatar
  • 1,834
1 vote
0 answers
234 views

Magento 2 - How to override admin page.phtml?

How do I override \magento-root-dir\vendor\magento\module-backend\view\adminhtml\templates\admin\page.phtml? I have successfully overridden the other files by placing the files under \magento-root-dir\...
Gogol's user avatar
  • 127
2 votes
0 answers
442 views

fedex integration for india not workin, "'The PurposeOfShipmentType is null, empty or invalid.',

I have used the production keys for fed-ex integration, for India. and getting the below error in the debug.log, can anyone tell me what can be done? 'result' => stdClass::__set_state(array( ...
prashant kumar's user avatar
1 vote
1 answer
1k views

migration Magento 2 to localhost with xampp Admin stuck to login box without fields

i have a magento 2.0.4 website working on a server. As I want to upgrade it to 2.1.0, I did a backup and installed it on my local server W10 with xampp & composer, localhost (127.0.0.1). I did ...
Fabrice's user avatar
  • 11
0 votes
1 answer
67 views

Magento 2 - Field Depedency does not hides label of field when field has "after_element_html" in its $config?

As shown in this two images, after selecting the HIDE option from the select, the field OP does not hide entirely. I noticed that it only happens when the field OP does have a "after_element_html" in ...
Gianni Di Falco's user avatar
2 votes
1 answer
191 views

Why I cant return configurable products using default RMA

I am using magento 2.4 enterprise edition. Products I can generate return requests are of type Simple ,Grouped, Bundled. This is default feature supported by magento. Though I wonder why it is not ...
Rushvi's user avatar
  • 2,835
3 votes
2 answers
4k views

Magento 2 - There is an event or method to "plug-in" when the coupon is removed from the cart/quote in the checkout flow?

Looking at events.xml of Magento_SalesRule there are two events, <event name="sales_order_place_after"> <observer name="salesrule" instance="Magento\SalesRule\Observer\...
Gianni Di Falco's user avatar
4 votes
2 answers
4k views

The requested package /product-community-edition could not be found in any version

I try to do the Magento 2 update from 2.0.2 to 2.0.7 using the command. composer require magento/product-community-edition 2.0.4 --no-update composer update rm -rf var/di var/generation php bin/...
Oliver Schmid's user avatar
1 vote
1 answer
1k views

Magento Read data from reviews table and display the json

I want to create a module that read reviews data from database table in magento and display it in the form of json. How can i read data from database in magento?
Rahul Agrawal's user avatar
1 vote
1 answer
344 views

Magento2 System Upgrade from 2.0.5 to 2.0.7 Check Component Dependency issue

I have started on upgrading the magento2.0.5 enterprise system to latest Magento2.0.7 from web interface. Initially I faced the issues related cron setup, once I completed the cron setup all the ...
amit's user avatar
  • 145
14 votes
2 answers
2k views

Magento 2 - Use \Magento\Catalog\Block\Adminhtml\Product\Widget\Chooser with multiple selections?

Using this code $chooser = $this->_layout->createBlock('\Magento\Catalog\Block\Adminhtml\Product\Widget\Chooser'); var_dump(get_class_methods($chooser)); $configChooser = [ ...
Gianni Di Falco's user avatar
1 vote
2 answers
2k views

Magento 2 - Two dependencies in one field form?

It is possible to add 2 depedencies to 1 field? Like this? ->addFieldMap($field_to_evaluate->getHtmlId(), $field_to_evaluate->getName()) ->addFieldMap($field_to_show->getHtmlId(), $...
Gianni Di Falco's user avatar
6 votes
2 answers
8k views

Magento 2 : Too many redirects in admin login screen

Recently, i have moved the server of my magento2 project. After moving to different server following steps i have taken. 1) Configured the Base URL in core_config_data 2) Clear the Magento 2 Cache ...
Codrain Technolabs Pvt Ltd's user avatar
7 votes
3 answers
9k views

What are entities in Magento 2?

Entities in Magento 2 are like: Product is an entity? Order/Sale is an entity? Customer/Users/Clients is an entity? etc?? Where can I find a list of all entities? Are they declarated in the DB? For ...
Gianni Di Falco's user avatar
3 votes
1 answer
1k views

Magento2 upgrade from 2.0.4 to 2.0.6

I am trying to upgrade Magento CE 2.0.4 to 2.0.6 using composer following their knowledgebase article: http://devdocs.magento.com/guides/v2.0/comp-mgr/cli/cli-upgrade.html But, when I run composer ...
Sahil Saini's user avatar
0 votes
1 answer
3k views

Is there a way to debug errors like Invalid block type: Magento\Backend\Block\Empty\Edit\Form?

Therer is a way to debug more easily errors like Invalid block type: Magento\Backend\Block\Empty\Edit\Form? Im trying to kind of clone the functionality of module-sales-rule module, for practicing ...
Gianni Di Falco's user avatar
1 vote
0 answers
1k views

porto theme css is not loading on frontend in magento 2.0.4 [closed]

Installation is successfully completed but my css is not loading only html is displaying on frontend. I am getting following error no css is loaded I have run deploy command also GET rootdirectory/...
NS123's user avatar
  • 35
0 votes
1 answer
75 views

Not able to find Magento 2.0.4 default theme files

I have recently installed Magento 2.0.4 on to my local machine, I am trying to find files so that I can customize the product page layout according to my requirement. Everybody are pointing me to app/...
HarishK's user avatar
  • 41
1 vote
1 answer
187 views

Error after running compile and upgrade cmd line

I am getting an error after running these two cmd line php bin/magento setup:upgrade /usr/local/php55/bin/php-cli bin/magento setup:di:compile ERROR BELOW Fatal error: Uncaught exception 'Magento\...
NS123's user avatar
  • 35
67 votes
4 answers
51k views

Magento 2: how do customer sections / sections.xml work?

I recently came accross a new concept in Magento 2 that I found interesting: customer sections Some of you may have notice the presence of sections.xml files that look like this: <?xml version="1....
Raphael at Digital Pianism's user avatar
0 votes
3 answers
43 views

On the products view page, some content of details are displaying on the top bar below body

After installing magento 2.0.4, I have migrated my data from old to new version. But when I view product a small amount of text is appearing at the top of the page. This is not on every product page ...
NS123's user avatar
  • 35
0 votes
2 answers
1k views

Why category ids filter doesn't work on product export?

In Magento v2.0.4 Admin Panel go to System > Data Transfer > Export then select Entity Type: Products. At that point the filtering grid appears. The first option is Categories corresponding to ...
Alessandro Ronchi's user avatar
1 vote
0 answers
43 views

How to modify _renderContainer($name)

I want to modify the method _renderContainer($name) in the class \lib\internal\Magento\Framework\View\Layout so that I can pass it another argument and add this to the construction of the container. ...
Matt's user avatar
  • 285
1 vote
1 answer
145 views

How to migrate data to from magento 1.9.1 to 2.0.4?

I have install magento 2.0.4 and now I want to migrate all database table, theme, content everything from old version 1.9.1 to this new one 2.0.4. I have gone through many articles saying that the ...
NS123's user avatar
  • 35
33 votes
5 answers
20k views

Why can't one switch back to the default mode on Magento 2?

So I have switched to the developer mode while developing on a Magento 2 project using the following command: php bin/magento deploy:mode:set developer All good, I got this message and I developed ...
Raphael at Digital Pianism's user avatar
0 votes
2 answers
978 views

After installing magento2.0.4 version, dashboard is not working properly

After installing Magento 2.0.4 version, it logged in properly but products, system and other options on dashboard are not accessible. When I click on product it is not responding, same with other. I ...
NS123's user avatar
  • 35
1 vote
1 answer
1k views

Coupon + other cart price rules

So i am trying to set up a coupon code. But whenever i use the coupon code in my cart it overrides the other cart price rules. For example : i have a rule when a product is ordered by 6 pcs they get ...
Versdivers's user avatar
6 votes
6 answers
11k views

Varnish top navigation menu gone

Well first of all i am using the Porto theme and using the SW mega menu. I'm currently running magento 2.0.4. It seems that when i turn on varnish on my webhost and configure everything that it is ...
Versdivers's user avatar
4 votes
1 answer
446 views

Add CSS to pages through Admin

I am working on a site where our front end developers want to add CSS files to specific pages through the Admin (in effect, certain Admin driven pages will have special CSS). We are not using the ...
Jeff Rupert's user avatar
15 votes
3 answers
3k views

Magento 2 - Product price change to 0.00 in product detail page for Non-US Locale

I am facing a very strange issue after the installation of Magento 2.0.4. I have create a product with the price $12 and change the locale from Magento configuration in backend. Below is the ...
Codrain Technolabs Pvt Ltd's user avatar
7 votes
6 answers
5k views

How to make the fields of the fieldset multidependable?

I have a fieldset in the admin panel with one parent select (has 5 options) and 2 fields, which should be displayed in case the parent value select will be 3, 4 or 5. I have not found the examples of ...
Siarhey Uchukhlebau's user avatar
2 votes
0 answers
3k views

Edit magento 2 order 'print' layout

So when u go to My Account -> My Orders and click on view order and then click Print Order then u see a PDF of the order that u just placed. Mine looks all messy : So I want to edit this. Does ...
CompactCode's user avatar
  • 2,447
0 votes
2 answers
94 views

Which is correct way to create new custom theme in magento 2.0.4 under pub/static/frontend folder or app/design/frontend folder?

Which is correct way to create new custom theme in magento 2.0.4 under pub/static/frontend folder or app/design/frontend folder ?
Ritika's user avatar
  • 89
0 votes
1 answer
2k views

Override product template [duplicate]

I want to override magento catalog module product template in my custom theme. Catalog module template path: <magento_path>/vendor/magento/module-catalog/view/frontend/templates/product/view/...
Alessandro Paterno's user avatar
1 vote
1 answer
558 views

Ticking hide from product page randomly ? Magento2

I migrated installation from magento 1.9.2.2 to 2.0.4 and everything went well, except its ticking hide from product page for some images of products, some products have this problem, some dont, there ...
A. Babic's user avatar
3 votes
1 answer
7k views

Magento 2: No options under configuration>general>design

Since I updated to 2.0.4 I noticed there is no option in the backend to select a theme. (not sure if this is the cause or it happend before) Under Configuration > General > Design there is only the ...
Luuk Skeur's user avatar
1 vote
0 answers
237 views

Admin menus not working in magento 2.0.4 [duplicate]

After successful installation of magento 2.0.4 when I login in admin panel and clicking on left menus sales,products & other it is again redirecting me on dashboard. Any one can suggest something ...
Ritika's user avatar
  • 89
3 votes
3 answers
6k views

You don't have permission to access /pub/static/frontend/Magento/luma/en_US/Magento_Checkout/template/minicart/content.html on this server

After upgrade from Magento 2.0.2 to 2.0.4 I am getting follwoing error message On Mini Cart You don't have permission to access /pub/static/frontend/Magento/luma/en_US/Magento_Checkout/template/...
user38197's user avatar
1 vote
2 answers
3k views

Get customer from save event observer Magento 2

I've just started with Magento 2, but I have few question why try to get customer data from event observer. Here is what I'm using inside my observer. And the event is adminhtml_customer_save_after $...
Toan Nguyen's user avatar
  • 3,019
0 votes
2 answers
272 views

Magento 2.0(Current) to Magento 2.0.2(Latest) Version Upgrade

Today I tried my to upgrade magento 2.0 to latest version but it shows magento 2.0.2(latest) , i think it should be 2.0.4. still if i continue to upgrade for 2.0.2 it shows readiness check fails with ...
Ck007's user avatar
  • 3
1 vote
0 answers
79 views

layout.xml update ignored after magento update to 2.0.3/2.0.4

After my update to magento version 2.0.3 and 2.0.4 my layout-updates in ../htdocs/app/design/frontend/[]/[]/Magento_Theme/layout/default.xml won't work anymore. I checked xml structure and checked ...
Kevin Krieger's user avatar