Questions tagged [magento2.2]

General questions about the Magento 2.2.x versions

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

About I/O Usage in magento2.2

In magento2.2 and PHP 7.1 When I am using admin my I/O Usage is so high I get 500 error. How to solve this issue?
0
votes
1answer
668 views

Error when creating new theme for magento 2.2

Hi I am new to magento and designing a new theme, and taking the guidance from the magento 2 theme design. I have installed the magento 2.2 on php 7.1 and everything works fine. Now I am trying to ...
2
votes
1answer
866 views

Magento2.2 language switching not working on catalog pages

I have magento2.2 fresh installation. I enabled two languages I can switch the language/store view on the homepage. also on default pages like create an account, forgot password etc. But when I am ...
3
votes
2answers
2k views

Magento 2.2 : requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.11) does not satisfy that requirement

Magento 2.2 should be working with php 7.1, why do I get this error and how should I fix it ? magento@me-dev:/var/www/html/me$ composer require magento2translations/language_zh_cn:dev-master ...
0
votes
2answers
2k views

Adding Module Causes Install Screen

[EDIT] Added screenshot showing can't run any of the CLI commands being suggested: [/EDIT] Implemented add new table official learning module (http://devdocs.magento.com/videos/fundamentals/add-a-...
0
votes
1answer
250 views

Web Setup Wizard 404

I have Magento 2.2 installed locally using composer on an Apache webserver. Everything seems to be working besides from when I login into the admin and go System -> Web Setup Wizard it takes me to a ...
0
votes
2answers
242 views

In Magento 2.2 how to add sample customer attribute?

How can I add customer attribute in Magento 2.2? Please help me in frontend and backend step wise step if anybody have solution please share it
0
votes
1answer
406 views

Magento2.2 default storeview error store id not found

I have created 2 store views in magento latest 2.2 I have enabled add store view to url in settings. But on home page it throws error store id not found. If I add en/ at the end of url or ar/ at ...
0
votes
3answers
132 views

Possible issues after updating from Magento 2.1.X to Magento 2.2?

If I will upgrade Magento 2.1.0 to Magento 2.2 then is there any possible issues which I have to take care after upgrade process? Will site work smoother or do I have to compromise with some ...
7
votes
1answer
1k views

Run static tests for a specific module

I am running php bin/magento dev:tests:run static to check my code quality but it takes a really long time. Is there a way I can run them for one module and/or one theme?
1
vote
2answers
600 views

Magento 2: Change “Qty” label to “Select Qty” in product view page

Is there another way to change the product page "Qty" label text to "Select Qty" than overriding the file /var/www/html/magento/vendor/magento/module-grouped-product/view/frontend/templates/product/...
1
vote
1answer
1k views

Add a block on the top of the page content in checkout page

I'm running Magento 2.0.1. I want to show a block in the checkout page. So, I created a module to override the checkout page. I have added the block code in the checkout_index_index.xml file, but the ...
3
votes
0answers
2k views

Magento 2 - Display eav attribute in customer grid (explanation & questions)

So where should I begin. In the last couple of days i've been working on showing custom attributes in the customer grid. There a couple of thing i would like to discuss since I don't really know the ...
0
votes
1answer
34 views

2 websites 2 domain 1 installation

I'm setting up a pretty complex site with a lot of API handling. Now that site needs to have 1 installation and 2 websites on 2 domains. I'm not sure how this works with Magento. What i have now So ...
0
votes
3answers
1k views

Store View Switch Stopped Working After Magento 2.2 Upgrade

Since I have upgraded my website to Magento 2.2.0 (from 2.1.9), the store view switch stopped working on all the pages save for the homepage and the contact page. I have 2 store views for 2 languages,...
2
votes
1answer
3k views

Magento 2.2: Unable to unserialize value

After running composer require magento/product-community-edition 2.2.0 --no-update composer update I ran bin/magento setup:upgrade But while running this command I get the following error: ...
2
votes
1answer
953 views

Magento 2 OAuth API - Consumer key has expired

I've created an integration in System->Extensions->Integrations and allowed all access. I'm using Postman to test the API, but I'm getting error: Consumer key has expired. I've tried cache:...
2
votes
1answer
443 views

Magento 2.2 : New features for Community Edition

I am looking for new features that have been added for Magento 2.2 CE since 2.1.x and whether or how will it change anything major for Magento developers.
0
votes
1answer
456 views

Magento 2.2 Add custom library file TCPDF

I need to tcpdf (http://tcpdf.org/) library in magento2.2. I have added this library in Magento2.1.9 in lib/internal/TCPDF folder. In that, I have rename tcpdf.php class to TCPDF.php and tcpdf class ...
1
vote
0answers
349 views

How to override core catalog product option model file in magento2

I want to get current custom option's data while saving product and add it to my custom table. I have tried it with two ways but similar error is thrown: resource isn't set First Way: In my di.xml : ...
0
votes
2answers
777 views

How to add title to header without breaking search box

I am creating a theme for magento 2.2. Created my first custom block in app/frontend/CUSTOM VENDOR/CUSTOM THEME/Magento_Theme/templates/heading.phtml containing the following code: <?php //create ...
0
votes
1answer
310 views

Magento 2: Same collection on listing page

I have some weird problem Here is my code that write in afterGetPrice() function, I am using plugin here to change price of product based on my custom table $customPrice = $this->...
1
vote
0answers
555 views

Magento 2 : showing price difference not working when configurable options clicked

I have override app/design/vendor_name/themename/Magento_ConfigurableProduct/templates/product/price/final_price.phtml file but It doesn't change while click on configurable options. <?php /** * ...
0
votes
1answer
579 views

Error running SQL Query - Cannot truncate a table referenced in a foreign key constraint

I am trying to clear all test orders from Magento 2.2.x using this SQL query in my PHPMyAdmin but I'm getting an error. Here's the query I am running: SET FOREIGN_KEY_CHECKS = 0; TRUNCATE `...
0
votes
1answer
401 views

Magento 2.2.0 Not Working Properly

After installed, trying to login admin panel getting an error, Warning: class_implements(): Class � does not exist and could not be loaded in C:\xampp\htdocs\abc\vendor\magento\framework\Code\...
0
votes
1answer
841 views

Local storage on checkout page

Where and why checkout-data section from local storage object cleaned after added product to cart? Before: { "checkout-data": { "selectedShippingAddress": null, "shippingAddressFromData": ...
0
votes
1answer
553 views

Magento 2.2 add to wishlist, how to show child products sku

I have grouped products in my magento 2.2 application, after adding product to add to wishlist. How can i show sku for a child products.
2
votes
2answers
2k views

Change the background color of the catalog product view page?

Which file should I edit in my custom theme to change the background color and any other CSS of the catalog product view page?
2
votes
2answers
835 views

Magento 2.2 Add Masonry JS

I've a problem to include Masonry JS to my Magento 2.2 I've a custom theme in app/design/frontend/CustomVendor/CustomTheme In this folder I've a web/ folder and inside I've requirejs-config.js var ...
3
votes
1answer
385 views

Composer Installation Error

My php version php 7 How can I solve this issue?
-1
votes
1answer
2k views

php version requirements for Magento 1.9.1, 1.9.3 versus 2.2.0

Magento 1.9.1 Magento 1.9.3 future install of Magento 2.2.0 VPS server account with MultiPHP Manager I have a VPS server. The hosting company installed a "MultiPHP Manager" in the WHM. Currently, ...
0
votes
2answers
451 views

XML attribute “after” throwing error after upgrade to Magento 2.2

We just upgraded a development site from Magento 2.1.X to 2.2. I have a custom CSS file called in the default_head_blocks.xml of my specific theme (which had no issues working at all with 2.1.X). The ...
2
votes
1answer
569 views

Magento 2 can't store apostrophe in manufacturer options

I tried to store a brand name with apostrophe like "nature's way", "nature's answer" to the option values of manufacturer attribute. But Magento CE 2.2 always store the apostrophe " ' " of them to ...
2
votes
0answers
1k views

Check if there are any products in the compare list in Magento 2

I'm using Magento v 2.2 and I'm trying to check if the customer/visitor (doesn't matter if logged in or not) has any products in their compare list and I'm trying to do this in {theme_dir}/...
0
votes
3answers
68 views

Migration magento 1 to magento 2

Which is the best tool available for migration magento 1 to magento 2. Can anyone give official magento tool for migration.
3
votes
1answer
805 views

Magento 2.2.0 Upgrade error

When I am trying to upgrade my Magento version from 2.1.7 CE to 2.2.0 CE, through composer update, I am getting the following error. Problem 1 - magento/module-wishlist-sample-data 100.1.0-rc1 ...
4
votes
4answers
740 views

Search Engine Robots Section Can't Be Changed (Grayed Out)

I have a fresh install of Magento 2.2. This is a test site, so we need to hide it from search engines. I found the Search Engine Robots section under - Content - Design - Configuration - Our theme, ...
0
votes
0answers
201 views

How to update configurable product description using sku via script in magento 2

How to update configurable product description using sku via script?? I have used below code for config product, It is failed to function properly for configurable product. Please suggest me a ...
1
vote
2answers
496 views

Products are not visible in front end in magento 2.2 and how to make it to visible in front end?

I have installed Magento 2.2 and have created new products in admin end. Those products are saved in DB, but it is failed to display in the store front. If I created configurable product, after saving ...
0
votes
0answers
22 views

Best approach to update magento 2.1.7

I need to update my magento version to the latest 2.2 from magento. Can any one please suggest me the best way to do this. I have soo many extensions installed on my site along with some paid ...
1
vote
0answers
397 views

Magento 2 - Sendgrid extension

I tried to install a new extension on my Magento site (version 2.2.0). I created a new folder in app/code/ like this app/code/SendGrid/EmailDeliverySimplified After that I run this command php -...
0
votes
2answers
842 views

Magento 2.2 : MySQL General error 1787 when reindexing

How to fix the two errors below ? $ php bin/magento indexer:reindex Design Config Grid index has been rebuilt successfully in 00:00:00 Customer Grid index is locked by another reindex process. ...
1
vote
2answers
2k views

One or more integrations have been reset because of a change to their xml configs. Magento 2.2 [duplicate]

I have installed Fresh Magento2.2 on PHP7.0.24.
1
vote
2answers
5k views

Magento 2 : Permission denied with colinmollenhour module cache

I regularly get this error message: 1 exception(s): Exception #0 (Exception): Warning: file_put_contents(/var/www/html/magento/var/cache//mage-tags/mage---365_COMPILED_CONFIG): failed to open ...
3
votes
3answers
3k views

“Telephone” is a required value in customer edit form

I have overrided customer edit form. But while saving record I'm getting error message "Telephone" is a required value. I don't want telephone field. So in my form telephone field is not there ...
9
votes
6answers
7k views

How to change listing per page option?

I am trying to change per page option in magento 2 on product listing page Currently its 9, 15, 30 by default in toolbar I want to change it to 12, 24, 48, 96 etc Any help will be appreciated
1
vote
1answer
571 views

Magento 2 Grid System

I am trying to work out what grid system comes with Magento 2.2 for the frontend I can see there are docs for the admin Page Grid however none of the frontend. Could someone point me in the right ...
1
vote
3answers
838 views

Could not create an acl object: Invalid XML in file

Hello I've this custom module for Magento when loggin in to Magento Admin I am getting this error Error Message I am getting 1 exception(s): Exception #0 (LogicException): Could not create an acl ...
2
votes
2answers
2k views

How to create a new page layout with 4 columns?

I'm trying to achieve exercise 3.6.9 of "Core Principles for Theming in Magento 2" from Magento U. In my custom theme, I have this tree structure : |-- Magento_Theme | |-- layouts.xml | `-- ...
2
votes
1answer
3k views

Add placeholder and remove all labels in Magento 2 Checkout

Searched a lot but didn't found anything removing the Lables like "First Name, Last Name, City, Address, Email, Phone etc" Add Placeholders in all "shipping fields" and "sign In" places. After ...