The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [magento-2.1]

Denotes questions related to Magento CE and EE 2.1.x

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

How do I determine why Sitemap isn't being generated?

I have a mostly vanilla instance of Magento 2.1 (previously Magento 2.0.x - where the problem also existed). I have setup the Sitemap file to generate - and it is not doing so. So far, for debugging ...
8
votes
2answers
5k views

Magento2 Need to build Grid with multiple table collection using UI Components

Started on building custom module, it has feature to display the GRID view for which need to join multiple tables in collection and render them on GRID and filters. I have used UI Component from ...
4
votes
1answer
1k views

how to migrate custom code from magento 1.9.2 to magento 2.1

I have created custom modules in Magento 1.9.2,Now I am moving into Magento 2.1. So I need to transfer custom code from Magento 1.9.2 to Magento 2.1. Please help me.
1
vote
1answer
2k views

install Magento 2.1 Error 404 after success installation

Installation from the download Page and the right ownership from there Ubuntu 16.04 PHP 7.0.8 MySQL 5.7.12 Apache 2.4.18 with configured VirtualHost And after installation I see the success page. ...
2
votes
1answer
134 views

Release Download Rest-API broken?

I am trying to download the current magento 2.1.0 release: curl https://MAGEID:TOKEN@www.magentocommerce.com/products/downloads/info/filter/version/2.1.* Output: Magento Community Edition 2.1.0.zip ...
1
vote
1answer
1k views

Upgrade to 2.1 breaks grunt theme fallback?

Since the upgrade to 2.1 I get the following error on grunt exec:mytheme: $ grunt exec:mytheme Running "exec:mytheme" (exec) task Running "clean:mytheme" (clean) task >> 231 paths cleaned. ...
0
votes
1answer
125 views

Why magento2 use UI components in Recent release of magento2,1[product edit page]?

In recent version of magento (Magento2.1), they have totally changed structure of product edit page (Backend). I mean they had replaced with UI components.(While in previous version of magento2.X they ...
4
votes
3answers
2k views

How to change the number of items per row in products grid?

How to modify magento 2 to show 3 items per row in product grid instead of the default 4? I tried to play with /var/www/magento2/vendor/magento/theme-frontend-luma/Magento_Catalog/web/css/source/...
2
votes
2answers
3k views

Adding custom product customizable option in Magento 2.1

I am looking into the way the new custom options works in Magento 2.1, looking through it, their doesn't seem to be an obvious way to inject your own uiComponents into this, since it is all written in ...
2
votes
2answers
1k views

Logging to custom file is not working from module helper

I wanted to wrap the logging functionality in my module helper. I have defined Custom Logger as: File: app/code/MagePsycho/CustomLogger/etc/di.xml <?xml version="1.0"?> <!-- /** * @...
1
vote
1answer
422 views

Can not excute command line in magento 2.1 with xampp php 7.0.6 on window

I have installed magento 2.1.0 with latest xampp window 7.0.6. The strange thing is I can not run command line after successful installation magento 2.1. It happens due to wrong PHP_VERSION_ID (on ...
9
votes
4answers
12k views

Magento 2.1 missing Web Setup Wizard link

Installed fresh Magento 2.1 store (php 7.0.8), with /pub as root web directory from command line and using tar.gz file. Everything seems to be fine, but when I go to admin panel under: System -> Tools ...
1
vote
0answers
316 views

Magento 2.1 EntityManager getList without Collection

From my understanding, the classic Magento Models will be deprecated in favor of the new EntityManager. Loading and Saving Simple Objects is no problem so far, but currently, I'm stuck with loading ...
31
votes
2answers
3k views

Magento 2 - Why is Magento\Checkout\Model\Cart deprecated?

Since Magento 2.1, Cart has a @deprecated tag. Nevertheless, it is still used by Magento itself to store products when shopping. Is the deprecation intended, and if so, and what should we use instead?
3
votes
1answer
1k views

magento 2.1 how to switch to default design “luma” or “blank”?

I have installed custom theme in magento and need to check working of fuctionality inside clean magento. But I couldn't find how to change design. At the image attached you can see "Search Robots" ...
4
votes
0answers
139 views

products became “out of stock” after update from 2.0.7 to 2.1.0

After updating from 2.0.7 to 2.1.0 all the products in catalog became "out of stock". That's how they displaying in my bestseller widget (pic.1). But in admin panel they always have positive ...
2
votes
3answers
2k views

Composer Update Error: magento/product-community-edition 2.1.0 requires php ~5.6.0|7.0.2|~7.0.6

Trying to do an update to Magento 2.1.0 via composer and getting this weird error. Php version is 7.04 running on Ubuntu x64 composer require magento/product-community-edition 2.1.0 --no-update ./...
1
vote
2answers
2k views

Unable to upgrade to Magento 2.1.0 GA via command line

I've already applied the patch MDVA-532. When I run composer update magento/magento-composer-installer I got this error: Your requirements could not be resolved to an installable set of packages....
10
votes
1answer
4k views

How to change theme in Magento 2.1rc3?

I tried both Magento v2.1rc3 and Magento2 develop version from git repository. Problem is that when I tried to change Magento 2 theme, I followed below steps: Open BO -> Stores -> ...
5
votes
2answers
4k views

Magento 2: How to use Grunt properly for CSS changes

I'm trying to figure out the clusterf-ck which is the Magento 2 front-end theming workflow. And I've read and understood all documentation, read all the blogs about it and are up to date on the latest ...
0
votes
2answers
2k views

Magento 2.1 - Just (simply) call categories in PHTML

Before we could do something like this: $_categories = Mage::helper('catalog/category')->getStoreCategories(); foreach($_categories as $_category): echo $_category->getName(); endforeach; ...
4
votes
3answers
946 views

Magento 2: why 2.0 sample data are not compatible with 2.1?

Magento 2.1 Release Candidate 2 was released yesterday: http://devdocs.magento.com/guides/v2.0/release-notes/ReleaseNotes2.1_RC2CE.html And according to the release notes: You cannot update from ...
4
votes
3answers
986 views

How to upgrade magento to 2.1.0-rc1 via composer?

I need to upgrade version of my magento base inside store. All the vendors I'm getting via composer and git contains only my /app/code and /web/composer.json. Current version is 2.0.7 and needed ...
1
vote
1answer
962 views

Magento 2.1-rc1 How to customize Topmenu Html Markup

Like in Magento1, the Topmenu html structure is still pretty hardcoded. To change the html markup of the submenus in 2.0, I added a plugin which altered the getHtml Method of Magento\Theme\Block\Html\...
3
votes
4answers
3k views

Magento 2.0 vs 2.1: what are the major/breaking changes?

As you may be aware, 2.1 RC1 was released last week as well as 2.0.7 yesterday. I know 2.1 implies a lot of changes. My question is, as a developer, which are the changes I should be aware of and ...
0
votes
1answer
694 views

How to upgrade to Magento 2.1 RC 1 when Magento 2 is installed via GitHub

Ok so I'm running Magento 2.0.6 and I have installed it via the GitHub repo. So as I cannot use the backend upgrade tool, when I upgrade Magento 2 I'm used to run the following: git pull origin ...
9
votes
2answers
5k views

Why doesn't Magento 2.1 support PHP 7.0.3 to 7.0.5?

As you may know Magento 2.1.0 is out. According to the release notes, only PHP 7.0.2 AND PHP 7.0.6 are supported Why aren't PHP 7.0.3 / 7.0.4 / 7.0.5 supported ? Edit: 2.1.2 now supports PHP 7.0.4
15
votes
5answers
1k views

What is the preferred structure of a Magento 2 project under VCS?

When I start a new M2 project, the first thing I would do is to install the core via composer: composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition I ...
4
votes
1answer
192 views

Magento2: module dependence

Magento 2.0 has several optional extensions (they are not necessarily to be installed). How can I safely announce the class dependency for these extensions in my __constract method? Please note that ...
-3
votes
1answer
3k views

How to align(stylise) images properly in static block in Magento [closed]

How can I add images side by side not one by one in static block? I created new block like And I got result as But I need like this