Questions tagged [magento-2.1.1]

Denotes questions related to Magento 2.1.1

Filter by
Sorted by
Tagged with
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\...
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 ...
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
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 ...
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....
0
votes
1answer
419 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(...
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
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
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. ...
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 ...
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?...
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/...
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
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:
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/...
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 ...
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 (...
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
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" ...
2
votes
1answer
544 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? ...
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/...
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 ...
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
2answers
693 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
380 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 ...
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"...
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->...
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....
0
votes
1answer
396 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.
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)...
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 ...
0
votes
1answer
467 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
0answers
45 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/...
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
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
122 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 ...
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 ...
2
votes
1answer
749 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 ...
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 ...
0
votes
1answer
527 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 ...
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"?>...
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\...
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 ...
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....
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 ...
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
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]: ...
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..
0
votes
1answer
161 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"> <...