Questions tagged [magento-2.1.1]

Denotes questions related to Magento 2.1.1

Filter by
Sorted by
Tagged with
2 votes
1 answer
129 views

How to solve upgrading Magento 2.1.1 to Magento 2.1.17?

I am faced issue when I upgrade Magento 2.1.1 to Magento 2.1.17 I changed some values in composer.json "magento/product-community-edition": "2.1.1", =>"magento/product-community-edition": "2.1.17"...
lazy_coder's user avatar
1 vote
2 answers
277 views

Unable to override module_catalog items.phtml

I'm trying to make some minor changes to the template found at vendor/magento/module-catalog/view/frontend/templates/product/list/items.phtml. So I've created the a new file app/design/frontend/xxx/...
LMG's user avatar
  • 11
2 votes
1 answer
2k views

Magento 2 language is incorrect

When I open my .co.uk website, it says a lot of stuff in Dutch from the pack I installed. I want my German website to be German, Dutch to be Dutch and English to be English. Why it is not working? ...
Axel Dekker's user avatar
0 votes
1 answer
248 views

How to override theme layout?

I have already override the theme page layout with below files:- app\design\frontend\[package]\[theme]\Magento_Theme\page_layout\override\base\2columns-left.xml code is like:- <?xml version="1.0"...
Purushotam Sharma's user avatar
5 votes
2 answers
8k views

Magento 2: How to filter product collection using product's final price

How to filter product collection using product's final price. As I have special price and catalog price rule applied on the products. here is my code:- $searchedProducts = $this->...
Purushotam Sharma's user avatar
1 vote
1 answer
3k views

Magento 2: how to get the product attribute option label instead of option value in admin grid in custom module?

I want to show product attribute option label instead of option value in admin grid in custom module? Can any one help me in this? In magento 1 I get this suggestion and same I want in magento 2. ...
Purushotam Sharma's user avatar
0 votes
0 answers
26 views

Magento 2 sometimes don't show items in the second category

I have two basic categories (woman/man) with many subcategories and products. Sometimes, just sometimes the products in the second category "man" don't appear in the frontend. In the backend they are ...
Oliver Schmid's user avatar
0 votes
1 answer
684 views

Magento 2 best architecture for a multi country side

We are developing a hybrid app where the front end is react native and the backend is magento 2.1.4 and the frontend and backend are communicating via REST APIs The offering is across 3 countries. ...
Fodakty's user avatar
  • 151
4 votes
2 answers
6k views

Admin Page error "The page isn't redirecting properly" after changing base url in magento 2.1

I have changed my base url in magento 2.1. After that frontend is working fine but admin page giving me "The page isn't redirecting properly. website redirected you too many times" error. Please help ...
rudrendra's user avatar
0 votes
1 answer
1k views

Magento 2 error: ERR_TOO_MANY_REDIRECTS

On a new install of Magento CE 2.1.3 I am getting this ERR_TOO_MANY_REDIRECTS error once the page loads both in frontend and backend. After browser cache is cleared page will load once or twice the ...
TK811's user avatar
  • 1
0 votes
1 answer
338 views

Magento2 multistore setup, getStore()->getCode() shows default

Add store codes to urls is set to yes. Store code is: test. Default homepage for that store loads correctly: home cms page for that particular store. In the menu the store code is added to the ...
Claudiu Creanga's user avatar
0 votes
1 answer
40 views

Magento Admin error CSS, jQuery, Image

My Magento Adminhtml error about CSS, jQuery, Image. My Frontend is still normal. Although I did deploy with my area is vi_VN but cannot fix this error. This is my Adminhtml and Error: I did deploy:
namanh11611's user avatar
0 votes
1 answer
291 views

Setting multiple checkbox option selections on cart item

I have a product in my store with radio and checkbox custom options. using below JSON encoded string to add that item with it's options to shopping cart within my mobile app. { "cartItem": { "...
Grig's user avatar
  • 3
7 votes
2 answers
5k views

Checkout loader stuck

In checkout page loader stuck and spinning forever. There are no js errors in console. HTML of spinner looks like this <div id="checkout-loader" data-role="checkout-loader" class="loading-mask" ...
Anna's user avatar
  • 1,645
1 vote
0 answers
524 views

Error in salesOrderRepositoryV1;content type application/soap+xml;

I am using Magento EE 2.1.1 version. While using web service salesOrderRepositoryV1 to get the order details. I'm getting error as below: System.ServiceModel.ProtocolException was unhandled ...
Resmi's user avatar
  • 11
0 votes
1 answer
558 views

Add number of active products to category navigation menu in magento 2.1.1

As the title says could anyone help me with adding the number of active products within a category to the navigation menu. To clarify i want to make it display as follows: Product(23) Other Product(...
AquaProgramming's user avatar
3 votes
0 answers
46 views

Can anyone explain what is form component in magento 2? [closed]

I have a question that "What is form component?". I just want post a form to URL (ex: localhost/admincustomer/processing) in admin without DataProvider, but it didn't. I don't need storage DB or add/...
Henry Bui's user avatar
  • 471
6 votes
1 answer
3k views

Magento 2 - How to create post form in admin?

I want to create a post form by using UI component, it has 2 selectbox, 1 submit button and URL to submit. Currently, I use .xml layout and template .phtml to render html but I want use UI component ...
Henry Bui's user avatar
  • 471
2 votes
1 answer
1k views

Checkout page is empty

I tried to run Magento 2.1.1 in my server but it seems that my checkout page isn't displaying anything, just header and footer. Some error is generated: Fatal error: Allowed memory size of ...
Jignesh Suthar's user avatar
2 votes
1 answer
521 views

I need to add a custom tab in catalog edit page of admin and need to display a custom grid collection under the tab in magento2.1.1 version

I need to add a custom tab in catalog edit page of admin and need to display a custom grid collection under the tab. Please find my code below: catalog_product_edit.xml <?xml version="1.0"?>...
SanthoshP's user avatar
  • 386
0 votes
2 answers
1k views

Product attribute backend_type changing from int to varchar :Magento 2.1.1

I have created one product attribute for custom sorting by InsatllData , but if am updating any field from admin the backend_type getting change from int to varchar because of that sorting getting ...
supriya mishra's user avatar
1 vote
1 answer
825 views

CMS Hierarchy isn't displaying menu left magento 2.1.1

I have created some CMS Hierarchy, in my configuration I set to display menu left. It work correctly for node children, however when I go to parent node(Main menu), the menu left disappear, also the ...
Romer Rios's user avatar
0 votes
1 answer
461 views

Problem : Attribute int type vs varchar for product sorting showing no diffrence

I have created Custom attribute for product sorting in magento 2.1.1. by Setup>installData.php `namespace Vendor\Module\Setup; use Magento\Catalog\Model\Product; use Magento\Catalog\Model\Product\...
supriya mishra's user avatar
1 vote
0 answers
263 views

Display products using custom product relation - magento2.1.2

I just added a new custom product relation called customtype along with Related Products, Up-Sells, Cross-Sells. So how can I retrieve and display products in details page as a separate block under ...
Krishnakumar C's user avatar
20 votes
2 answers
16k views

How to rewrite widget function with mixins Magento 2.1.1

We have swatch-renderer.js In this file there are some widgets. .... $.widget('mage.SwatchRenderer', { .... /** * @private */ _init: function () { if (this.options....
zhartaunik's user avatar
  • 3,848
0 votes
1 answer
472 views

Visibility,Name,Price fields missing after configurable product import - magento 2

After importing configurable products, few of them's visibility, name ,price fields shows empty. Why it is happening, due to this indexing not work successfully and products not displaying on front ...
Krishnakumar C's user avatar
2 votes
0 answers
1k views

How to generate/export a custom format of CSV file?

I hope some one can help me. Now, I want to generate a csv file of my sales order, but I think existing magento 2 csv format is not fulfill my expectation. Could anyone can help me how to generate ...
Felix91627's user avatar
5 votes
1 answer
4k views

How to auto fill the shipping address field

I'm a beginner magento 2 user. Now, I want to set some default value in the shipping address's field, could you teach me what should I do? What file should I need to code? Thank very much. The below ...
Felix91627's user avatar
1 vote
4 answers
5k views

Cannot gather stats! Warning!stat(): stat failed for

Just upgraded to 2.1.2 from 2.1.0. I tried to open one of my configurable products but I get this error message Cannot gather stats! Warning!stat(): stat failed for / I put the image into the location ...
babywit's user avatar
  • 649
0 votes
1 answer
366 views

Imported products in Magento 2.1.1 doesn't show in the front-end

I have imported more than 170000 configurable products, products are displayed properly in admin, but products are not displayed in front end. If I import only 30000 records at once, it will work fine....
Krishnakumar C's user avatar
0 votes
1 answer
2k views

Readiness Check gives Found non-writable path(s): /home/USER/DOCROOT/php.ini.sample

Want to update Magento 2.1.1. to new 2.1.2. for security Readiness check gives: Check Cron Scripts Cron script readiness check failed. Hide detail Error from Updater Application Cron Script: ...
Alain Stout's user avatar
0 votes
1 answer
2k views

Create default billing/shipping address

I need to create default billing address for new user. To create billing/shipping address I'm using the next code: protected function createAddress($isDefaultBilling = false, $isDefaultShipping = ...
Alex's user avatar
  • 1
1 vote
2 answers
90 views

How to upgrade magento2.0.0 to 2.1.2 in Local Machine

How to upgrade my website to latest release magento-2.1.2 ?
Magento2 Devloper's user avatar
0 votes
1 answer
187 views

Magento 2.1.1 get custom field added in system.xml file

In etc/adminhtml/system.xml I add an additioal field which is <field id="gateway_ID" translate="label" type="text" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1"> <...
Vhanjan's user avatar
  • 91
2 votes
1 answer
682 views

Different admin URL for each website - Magento 2.1.1

I trying to configure M2 (2.1.1) multiwebsite. I already created separate websites/stores/views for each website, I also configured vhosts, M2 admin config and .htaccess. All websites are works fine ...
Lyczos's user avatar
  • 123
0 votes
1 answer
689 views

Why did my header and footer links disappear after creating Magento_Theme?

I copied vendor/magento/module-theme/view/frontend/* to app/design/frontend/MyVendor/MyTheme/Magento_Theme and my header top.links and footer links all vanished! Can someone please let me know why ...
mart1n's user avatar
  • 1
0 votes
1 answer
731 views

How to add custom fields (such as District, Ward or Street) in Table Rate Shipping Method in Magento 2?

As the question title, I wanna add some custom fields (dropdown) as District, Ward or even Street in Table Rates Shipping Method on Magento 2. How can i do it? Thanks.
David Nguyen's user avatar
1 vote
3 answers
700 views

Can't override the luma theme

I'm using Magento 2.1 I've created my own theme called 'MP/basic', which is based on Luma. I created the theme.xml, registration.php, the web folder with everything I need inside it. I can choose ...
will.I4M's user avatar
  • 111
1 vote
0 answers
439 views

Additional images not showing in product details page- magento 2

Facing problem while displaying additional images in magento 2 product details page, only showing base images but in backend images are there, do I need to write any separate api for showing ...
Krishnakumar C's user avatar
6 votes
4 answers
8k views

Attribute with this code is not super in row - magento 2

Can't import configurable products in magento 2.1 getting validation error like Attribute with this code is not super in row in configurable variation column
Krishnakumar C's user avatar
1 vote
0 answers
25 views

How can we set Magento 2.1.1 to store product prices in 3 decimal places?

How can we set Magento 2.1.1 to store product prices in 3 decimal places instead of 2?
Mark's user avatar
  • 11
11 votes
2 answers
14k views

Add new Image attribute for category in magento 2.1.1

I'm trying to create a new attribute as Image for category, I was able to create that attribute, but when I tried to upload an image it was impossible to save. This is my code: Wage/Categorylist/...
Romer Rios's user avatar
1 vote
1 answer
183 views

Extend part .less file

I'm new to magento and couldn't find an answer for the following question: Is it posible to extend only a part/property of the parent .less file? So when the original for example looks like: ......
BvdVen's user avatar
  • 113
9 votes
1 answer
5k views

Mini-Cart displaying Configurable Product Image instead of simple Product Image Magento 2

While adding product variations from configurable product, in mini cart it displays only configurable product image, how to show simple product image instead of current parent image.
Krishnakumar C's user avatar
1 vote
0 answers
106 views

API not allowing attribute codes > 30 characters

I have tried updating the ATTRIBUTE_CODE_MAX_LENGTH value in ../magento/module-eav/Model/Entity/attribute.php. I've cleared the cache, reindexed and rebooted the server but, the changes don't seem to ...
Jessica's user avatar
  • 101
2 votes
1 answer
989 views

Magento 2: Is it possible to create conditional product options with Magento core functionality?

I would like to be able to create several drop down options for certain products in the store. These options will show/hide based on the selected options on prior drop down field(s). Would this be ...
frostshoxx's user avatar
5 votes
1 answer
10k views

Magento 2 resize category & product image

I want to resize category & product images for custom widget and I prefer Magento default function so I found following code to do so but I think it's for Magento 1 $imageObj = new Varien_Image (...
Kaushal Suthar's user avatar
2 votes
1 answer
99 views

Magento 2.1 Navigation is not displaying categories correctly

Has anyone experienced this issue? There is only one category that will show up in the menu and there are no subcategories that will show up. I've tried: *both developer mode and production *cleared ...
Jessica's user avatar
  • 101
1 vote
0 answers
899 views

Magento 2 System Upgrade error

I'm trying to update Magento 2.1.0 to 2.1.1 using System Upgrade but I get this error: We cannot retrieve information on magento/product-community-edition How can I resolve this?
Matt's user avatar
  • 11
2 votes
0 answers
264 views

Magento 2.1: How to handle custom payment grand total mismatch upon return to the merchant ?site

The customer payment gateway I'm working on is based on the workflow of PayPal Express checkout. Upon the checkout, the user will be redirected to the payment site and then return back to the Magento ...
frostshoxx's user avatar