Questions tagged [magento-2.1.1]

Denotes questions related to Magento 2.1.1

Filter by
Sorted by
Tagged with
17
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....
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/...
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.
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
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 ...
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 ...
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" ...
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 (...
4
votes
4answers
713 views

Whenever I save a product I get “Something went wrong” and in the report I get this error

I got this in my error report: > a:4:{i:0;s:37:"Object DOMDocument should be created.";i:1;s:5172:"#0 > /data/web/magento2/vendor/magento/framework/View/Element/UiComponent/Config/Reader.php(95)...
3
votes
5answers
3k views

Magento 2 Cannot save product (Invalid option value)

On a specific product I cannot save any changes at all, I always get the error: Invalid option value I believe this is down to the custom options and probably this issue: https://github.com/...
3
votes
1answer
3k views

Magento 2 data migration failure

How do we get Magento 2.1.1 migration (from 1.8.1.0) to skip the checks below, so that we can move past these errors? [2016-09-13 21:48:27][INFO][mode: data][stage: volume check][step: EAV Step]: ...
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->...
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 ...
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/...
2
votes
4answers
4k views

Shopping Cart You have no items in your shopping cart

I reintsalled and now i dont have any problems except this Shopping Cart You have no items in your shopping cart. Click here to continue shopping. when i add some items. What can be reason?...
2
votes
4answers
2k views

New Magento install: Your current session has been expired

Did a new Magento 2.1.1 CE install on a Hosted environment. All went well until the login into the Admin page. I get the message: Your current session has been expired! I tried several things. ...
2
votes
1answer
99 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"...
2
votes
1answer
542 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? ...
2
votes
1answer
388 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"?>...
2
votes
1answer
439 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 ...
2
votes
1answer
747 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 ...
2
votes
1answer
93 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 ...
2
votes
1answer
849 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
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 ...
2
votes
0answers
155 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 ...
2
votes
1answer
1k views

Configurable product does not have sub-products magento 2

I am facing one problem with the configurable product. I am using Magento 2.1.1 and when i open category page than it throws me below error. 1 exception(s): Exception #0 (Magento\Framework\...
1
vote
1answer
144 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: ......
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 ...
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 ?
1
vote
1answer
116 views

Magento 2.1.1: Error 500 details no longer display after the upgrade

After I upgrade my Magento site to Magento 2.1.1, I no longer be able to see the details from any error 500 (it worked fine on 2.1). Instead it becomes just a blank page. I check on /pub/errors/ ...
1
vote
2answers
195 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/...
1
vote
0answers
349 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 ...
1
vote
1answer
508 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 ...
1
vote
0answers
188 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 ...
1
vote
3answers
518 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 ...
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?
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 ...
1
vote
0answers
757 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?
1
vote
1answer
545 views

Custom Payment Module in After place order getting 400 Bad request.Released magento 2.1.2 but issue is still pending..any idea how to solve it?

Magento-2.1.1 : "400 (Bad Request)" issue generate while place order using custom payment method not Display Error Message on page. Error Log also empty..
1
vote
0answers
34 views

new language not work in magento 2

i use magento ver 2.1.1 and create persian language . but some word not translate to persian In the event that the word translated ! my language is fa_IR . Thanks
1
vote
1answer
7k views

How to add banner or slider in magento 2.1.1 home page and how to create custom theme? [duplicate]

Please explain both question in detail: How to add slider in home page. I want to keep homepage banner slider, so please suggest for banner slider in magento 2. How to create custom theme in magento....
1
vote
0answers
667 views

Magento 2.1 Customer address attribute in checkout page is not saved into database

I have added new custom attributes in my custom module via InstallData.php with following install function content: /** @var \Magento\Customer\Setup\CustomerSetup $customerSetup */ $customerSetup = $...
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
159 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"...
0
votes
1answer
466 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. ...
0
votes
1answer
169 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": { "...
0
votes
2answers
692 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 ...
0
votes
1answer
340 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\...
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....