Questions tagged [magento-2.1.1]

Denotes questions related to Magento 2.1.1

Filter by
Sorted by
Tagged with
0
votes
0answers
32 views

Upgrade magento version 2.3.2 successfully upgraded but still magento old version 2.1.1 is running

I am using Magento 2.1.1 version in my website. Now, I want to upgrade Magetno 2.3.2. I upgraded successfully but still my website running in old version (Magento 2.1.1). Upgrade version doesn’t ...
2
votes
1answer
96 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"...
1
vote
2answers
190 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/...
2
votes
1answer
503 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? ...
0
votes
1answer
154 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"...
3
votes
2answers
4k 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->...
0
votes
1answer
1k 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. ...
0
votes
0answers
21 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 ...
0
votes
1answer
453 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. ...
3
votes
2answers
2k 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 ...
0
votes
1answer
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 ...
0
votes
1answer
112 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 ...
0
votes
1answer
39 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:
0
votes
1answer
164 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": { "...
5
votes
2answers
2k 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" ...
1
vote
0answers
341 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 ...
0
votes
1answer
405 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(...
3
votes
0answers
44 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/...
6
votes
1answer
2k 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 ...
2
votes
1answer
843 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 ...
2
votes
1answer
383 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"?>...
0
votes
2answers
648 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 ...
1
vote
1answer
494 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 ...
0
votes
1answer
338 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\...
1
vote
0answers
186 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 ...
16
votes
2answers
7k 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....
0
votes
1answer
378 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 ...
2
votes
0answers
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 ...
5
votes
1answer
2k 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 ...
1
vote
4answers
3k 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 ...
0
votes
1answer
365 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....
0
votes
1answer
1k 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: ...
0
votes
1answer
1k 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 = ...
1
vote
2answers
87 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 ?
0
votes
1answer
158 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"> <...
2
votes
1answer
428 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 ...
0
votes
1answer
514 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 ...
0
votes
1answer
377 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.
1
vote
3answers
500 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 ...
1
vote
0answers
420 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 ...
6
votes
3answers
6k 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
1
vote
0answers
23 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?
9
votes
1answer
8k 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/...
1
vote
1answer
143 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: ......
8
votes
1answer
3k 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.
1
vote
0answers
89 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 ...
2
votes
1answer
719 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 ...
4
votes
1answer
7k 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 (...
2
votes
1answer
91 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 ...
1
vote
0answers
740 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?