Top "Magento-2.0" questions

Questions related to Magento 2.0 version of PHP eCommerce software and platform.

Get magento 2 custom variable in phtml file

I have created a custom variable from magento 2 admin (System > Custom Variables). My custom variable code is "test_var". …

magento magento2 magento-2.0 magento2.0.2
Magento2 Export Button (CSv) in custom grid

How to add CSV export button in Custom grid in magento2. I have created a grid and form. Need to …

magento2 magento-2.0
"Modules are Outdated" Error

I get this error when I create a new module: "Please upgrade your database: Run "bin/magento setup:upgrade" from …

magento-2.0
How to add Custom file upload function in magento 2

Am created file upload functionality through custom module in Magento 2 category tab.i don't know how to save the file …

magento magento2 magento-2.0 magento2.0.2
Magento 2 - 'Area code not set:' after adding sample data

So i've gotten magento 2 working all running fine, I've even started on my own theme, but i've tried to install …

php magento composer-php magento2 magento-2.0
How to get the url for admin page (including the key) in magento 2x custom module controller

I need the page url in Magento 2x including key in my custom module controller. here something similar but this …

magento2 magento-2.0
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 …

html css magento themes magento-2.0
Magento2 how to get token by rest api?

$adminUrl='http://localhost/magento/index.php/rest/V1/integration/admin/token'; $data = array("username" => "myname", "password" => "mypassword"); $data_…

magento2 magento-2.0 magento2.0.2
Magento 2 changes in Js and CSS

I am new to magento 2 and I am creating extension for it. But I am unable to see any js …

magento caching magento2 magento-2.0
Magento 2 - Go directly to the checkout page when adding a product to the cart

I am writing an extension which allows to go directly to the checkout page when clicking on the add-to-cart button …

magento magento2 magento-2.0