Questions tagged [magento2.2.2]

It should be used for questions about Magento 2.2.2

12
votes
4answers
18k views

500 Internal Server Error when installing magento2.2.2

I am trying to install Magento 2.2.2 on my local Windows environment with WAMP. But it gives me a 500 Internal Server Error. When I replace the previous version of htaccess file it does work. Would ...
11
votes
4answers
5k views

Shipping address custom attribute value not display in address box in magento2.2.2

I have added the drop-down custom field on checkout page with custom values. It's working fine also save attribute values in the database but not display in order shipping address.any idea how to show ...
9
votes
2answers
6k views

Magento 2 Please update innodb_buffer_pool_size or decrease batch size value

After installing Magento 2.2.2 when I check my error log I get this warning. Memory size allocated for the temporary table is more than 20% of innodb_buffer_pool_size. Please update ...
8
votes
2answers
1k views

Magento 2: how to delete orders from the database

How can I delete the test orders created in my store? I have opened the database but I couldn't find the order table. Please help me to delete the orders. I'm using the later version of Magento 2.
7
votes
2answers
281 views

Disable cart sharing between different Stores of website in Magento 2?

My website is with Three different Stores and I'd like to disable the cart sharing feature between stores. So when I switch from one store to the other store, the product in my cart shouldn't be valid ...
7
votes
1answer
164 views

How to add a star rating in custom form in magento 2

I have created the feedback form in list page. Now I wish to add custom star rating as a new form field. Please suggest any solution to add rating field in my form.
7
votes
4answers
600 views

Upgrading Magento 2.1.9 to Magento 2.2.2 is very slow

We are trying to upgrade a Magento 2.1.9 site to Magento 2.2.2 We have more than 130k products and the process seems to be stuck for more than 3 hours on, Upgrading data.. Module 'Magento_Backend': ...
6
votes
2answers
782 views

magento 2.2.2 array_replace_recursive(): recursion detected

I have installed new magento 2.2.2 version but when i run command php bin/magento setup:upgrade getting error Warning: array_replace_recursive(): recursion detected in vendor\magento\module-config\App\...
6
votes
2answers
1k views

How to use Instant Purchase in Magento2.2.2

I have read the release note of Magento 2.2.2 regarding an Instant purchase. But I would like to know more about it. I know following details about this feature : Instant Purchase feature allows ...
5
votes
4answers
9k views

Magento 2.2.2 .htaccess Internal Server Error

I have uploaded 2.2.2 file on my server and wanted to install it but it gives Internal Server Error. I have checked the cPanel error.log and found following error log [Thu Dec 28 22:35:40.272102 ...
5
votes
2answers
3k views

How to post data to a payment provider when placing an order in Magento 2

The issue I'm trying to integrate an online credit card payment service in Magento 2.2, but it's tough to understand all the docs on this topic at first, so I'm looking for some guidance. What I ...
5
votes
2answers
398 views

What is the right way to get both, the admin translation and the frontend value of a multiselect attribute?

I am using the following code to fetch the admin option value as well as the frontend label from an ID list of vales of a multiselect. $attribute = $this->eavConfig->getAttribute('...
5
votes
3answers
2k views

Magento 2.2 move review tab below description with all product reviews

I have added the following code to 'Magento_Review/layout/catalog_product_view.xml': <move element="reviews.tab" destination="content" after="product.info.details" /> The above code moved the ...
5
votes
1answer
1k views

Magento 2 Reindex Fail `Unknown column 'entity_value.value'` in 'field list'

I am having this error when running php bin/magento indexer:reindex also failing when loading the product: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'entity_value.value' in 'field list',...
5
votes
2answers
2k views

Magento 2: Getting “Warning: getimagesize(): Filename cannot be empty” after switching to a new empty theme with no parent

I wanted to start building a theme from scratch & my first step was to create a new theme with "Blank" as a parent. I then browsed a few pages & saw that everything works just fine. On the ...
5
votes
1answer
1k views

Ui-component form (Adding drop down field)in magento 2

I need to create backend admin form which contains two dropdown fields.But One is dependent on other. One dropdown contains attributes like brand,color etc.. The second one contains associate options ...
5
votes
2answers
1k views

Magento 2.2: Custom Theme Deployment Breaks at 95%

Just updated from Magento 2.1.10 to 2.2.2, and keep receiving the following when I deploy static content. Any insights on what the errors signify? #0 /app/web/vendor/magento/framework/App/View/Asset/...
4
votes
1answer
2k views

Error during compilation in magento 2.2.2

I had tried to compile the magento with this command sudo php bin/magento setup:di:compile when compiling process i had an error on one module as below Errors during compilation: ...
4
votes
2answers
89 views

Remove childrens and items via Observer

I have updated the checkout_index_index handle via observer. Now I want to remove the "progress Bar", "Shipping Address", "shipping methods" via observer. So I have tried the below event. <...
4
votes
3answers
300 views

Magento 2 : CAPTCHA image display too much dots

I'm new in magento. I am working in custom module. I apply captcha in registration page and login page. But, there are too much dots and lines display in image. Sometimes, I can't read text properly. ...
4
votes
3answers
2k views

How to get additionnal options product from quote item

I have some Vitrual product with options, I need to get his options but I can just get the info_buyRequest instead of additional_options Here is my code: $objectManager = \Magento\Framework\App\...
4
votes
1answer
113 views

Cart Price Rules having issues

So I created a rule with these conditions: Everything is working fine except for the State/Province conditions. It seems the rule is not taking the conditions for the state/province section. My rule ...
4
votes
1answer
3k views

Magento Business Intelligence service. Retry Synchronization

I am using Magento 2.2.2. In the past, I used to get the message below in every time I log in as an admin: Failed to synchronize data to the Magento Business Intelligence service. Retry ...
4
votes
1answer
840 views

Magento 2 Core Bug Found For Multiple discount calculation in All 2.2.x version

This is the core issue in all Magento 2.2.x. When we add two cart price rule with action " Percent of product price discount". It makes little calculation issue in total discount. For example, I have ...
4
votes
0answers
98 views

Knockout.js in magento2

How to change the jquery into ko? define([ 'jquery' ], function ($) { "use strict"; $.widget('xxx.homePage', { options: { bindSubmit: true, ...
4
votes
2answers
366 views

Can't add or edit products on Magento 2.2.5

Whenever I try to add or edit and save a product on Magento 2.2.5, I get the error "A technical problem with the server created an error. Try again to continue what you were doing. If the problem ...
3
votes
4answers
4k views

Get database connection in magento 2

I wish to have code equivalent in Magento 2. The below one is Magento 1 $resource = Mage::getSingleton('core/resource'); $connection = $resource->getConnection('core_read'); I need the above ...
3
votes
5answers
2k views

Magento 2.2.2 remove other shipping methods and enable only free shipping if consumer total more than 100

We are using Magento 2.2.2, We have more then 5 shipping methods enabled in our site. We needs to remove other shipping methods and enable only free shipping if the cost of their order totals to ...
3
votes
1answer
813 views

404 on Homepage magento 2.2.2

When I upgraded from 2.2.0 to 2.2.2 I having an issue with 404 on the homepage. every setting in stores/configurations/general/web/default pages seems to be ok, even checked the core_config_data ...
3
votes
1answer
2k views

magento 2 state dropdown from custom table in address form

I want to show state drop-down in checkout address form. state options will be come from my custom table. not from directory_country_region_name.
3
votes
2answers
378 views

Magento 2 : Specific Range Validation in system configuration field

I'm new in magento. I develop one module in Magento 2.2.2. I want to do like that in system configuration that, user can enter value between 0 to 100 in that field. User can't enter text value and ...
3
votes
1answer
223 views

Overwrite Constructor to inject custom module helper

I have created a custom module. which rewrites \Magento\Checkout\Block\Onepage\Success class by creating a custom module. and i am able to make changes in prepareBlockData function but i want to ...
3
votes
2answers
640 views

Address Book - “Add New Address” button issue for Magento 2.2.2

I have issue in Address Book when "Add New Address" Steps to reproduce: Go to "My Account" page Navigate to "Address Book" Click "Add New Address" button Expected result On "Add New Address" button ...
3
votes
2answers
969 views

Magento2- integration with Graphql and Reactjs- cannot retrieve data from api

What I'm trying to do is modify frontend in magento2 using reactjs to make it more faster to implements and faster response with actions on the website. But first thing I must to do is retreving data ...
3
votes
1answer
45 views

How to create a addnametoselect function for custom tables

I need to create an addnametoselect function (like in customer collection) for filtering purpose in the custom collection filter by the fields in custom Table on DB in magento2. Please, anyone, help ...
3
votes
1answer
978 views

Which file hold this layout {{layout handle=“sales_email_order_items” order=$order area=“frontend”}}

Is there anyone knows how or where to update the file for the email order notification template. {{layout handle="sales_email_order_items" order=$order area="frontend"}} Thank you, JM
3
votes
1answer
1k views

Magento 2.2.2 Advanced Reporting Not working

I went through this process https://docs.magento.com/m2/ce/user_guide/reports/advanced-reporting.html but yet I still get 404. Anyone have any idea what else could be? Thank you.
3
votes
1answer
1k views

How to get the Quote Id from Masked Quote Id (QuoteIdMask) in magento 2

I need to do something after applying the coupon code in the checkout page, So I have created the ajax call in the response of set-coupon-code.js in Sales Rule module. But I got the Masked quote Id ...
3
votes
2answers
106 views

Reindexing does not go through - Magento2 on Localhost - Using MAMP

Unfortunately, I stopped by some issue I cannot find the answer for, no matter how much I search online. When I attempt to reindex through terminal using the following code: php bin/magento indexer:...
3
votes
1answer
794 views

How to use the vault in custom payment module.

I am working on custom payment module with Authorize technique using XML API based. I need to use Magento out of box vault module to save customer card details. Any one have knowledge on this How Can ...
3
votes
0answers
78 views

how to get welcome Email when creating customer using custom API in magento 2

I am using magento B2B feature, which has company-modulea and i created a custom api to create company and company user but am unable to get a welcome when i create using the custom api. here is ...
3
votes
1answer
295 views

Magento 2 ui component form add extra input in the same admin field control

How to add more input like checkboxes in the same area like the use default? like so: More precisely I thinks is a field service see shoot:
3
votes
0answers
63 views

Disable catalog search module - Magento 2.2.2 EE

we are trying to disable the modules "Magento_Search & Magento_CatalogSearch" because we are using algolia search not default magento search. But, we can't disable the module, it has dependency ...
3
votes
0answers
349 views

Setting up Magento Cloud local development environment - Docker

I'm having issues when it comes to setting up a docker development environment for Magento Commerce Cloud. I followed steps described here: https://devdocs.magento.com/guides/v2.2/cloud/setup/...
3
votes
0answers
65 views

In Magento2 can we use PHP/JAVA Bridge?

I need to get content from JMS topic so Can someone let me know if it is possible to use PHP/JAVA bridge in magento2?
3
votes
0answers
93 views

Apply Cart Price Rule (Coupon) on empty cart

Is it possible to apply a Cart Price Rule using a Coupon to a customers cart when the cart is empty? The reason is the following: We’d like to apply a discount code (cart price rule) for customers ...
3
votes
2answers
534 views

Magento 2 - Maximum execution time of 300 seconds exceeded

I am upgrading a website from Magento 2.2 to 2.5 and running into an error. I read through a lot of threads and forums but nothing is working. This includes adding max_execution_time 60000, ...
3
votes
0answers
37 views

Developed Module

I have 2 instance of magento store in your local system.instance Fresh Magento installation with sample date of Medium Profile and another with blank data. I want Sync all customer and customer ...
3
votes
1answer
1k views

Magento 2 Too many password reset requests even when password reset protection is disabled

I logged in as administrator to Magento backend and trying to reset password for some customers. I have disabled password protection from Configuration -> Customers -> customer configuration. so it ...
3
votes
1answer
40 views

I want relevant block and template in Magento 2?

I need relevant Block and Templates for Magento 1 to Magento 2? Blcok -> checkout/cart_totals Template -> 1. checkout/onepage/review/totals.phtml 2. checkout/cart/totals.phtml $this->getLayout(...