Questions tagged [magento2.2]

General questions about the Magento 2.2.x versions

Filter by
Sorted by
Tagged with
0
votes
2answers
86 views

Removing ID at the end of Get Request from Magento 2

I have written a custom html script which is saved in a custom block and displayed on a product page, which is a GET request and fetches the data from a node service on another service, when the ...
3
votes
0answers
57 views

Magento 2: No data migration tool matching version

My Magento version is 2.2.9. No matching data migration tool exists. What should I do? Should I install Magento version 2.2.7?
0
votes
1answer
122 views

Magento 2: How to differentiate the app and web based orders?

How to identify whether the order is placed from an app or website? I want to add one custom column in admin sales order grid. And the column displays the values for order source(app or website order)...
0
votes
1answer
81 views

Cart Summary info disappearing

I am having an issue with the cart summary on the checkout page, when you mouse over the info with item name and price are disappear. Has anyone else encountered this, I have been over as much of ...
1
vote
0answers
51 views

Magento 2: total order amount on the administrator screen does not match with the actual total order amount

The total amount "$2.79" displayed in the order list on the backend customer page does not match the actual total amount "$305.29". That is, the total amount displayed in the list is not equal to the ...
0
votes
2answers
159 views

How to truncate database table using n98-magerun2?

I am trying to truncate the database table using n98-magerun2 version 3.2.0 and having some difficulties. I know there is a command with option to run an SQL query: db:query Executes an SQL query on ...
0
votes
1answer
1k views

Magento 2: Hide success and error messages after certain time

How to hide all success and error messages after several time magento2?
2
votes
0answers
111 views

Magento 2: Missing Invoice Sequence Id's

I'm currently running an Magento 2.2.9 shop and investigate an issue where invoice sequence numbers gone missing. For example we have an order and by simply clicking the send invoice button, the ...
0
votes
1answer
50 views

Magento2: How to show error message if customer is LoggedIn?

I have created custom form and create custom controller if customer is LoggedIn, then if anyone try to do registration then it requires to show the error message, how can i do that?
1
vote
1answer
84 views

Magento 2.2 CMS pages missing URL KEY

I have three stores in Magento 2.2 with different languages. For this i am translating all the pages. Before there was URL KEY for pages where i can copy the identifier and assign it to the specific ...
0
votes
1answer
98 views

Magento 2: Add Customer Group Name in Transactional Email

How to add customer group name in email template magento2
0
votes
1answer
69 views

Magento 2: Send email to admin after wholesaler customer register

I have created custom form in which the only wholesaler can do registration, I want to do when wholesaler customer can registered admin can get the email that wholesaler register, please let me know ...
2
votes
2answers
140 views

Use quote in csv module translation file

I'm trying to translate a module strings, and use a quote in the translated text, tried this "If the quote is approuved, simply click to ""proceed to checkout"" and follow steps online to confirm ...
1
vote
1answer
498 views

Magento2: How to call js function in custom file

I want to call a particular third party js function in my custom js file. XXX/YYY/view/frontend/web/js/view/payment/method-renderer/cashondelivery-method.js. define([ 'Magento_Checkout/js/...
0
votes
0answers
18 views

Eliminating JS and CSS build processes

We're trying to eliminate the entire process on making the build of JS and CSS. What we exactly want is that we will create entire JS and CSS files manually and load them as a part of footer(No ...
0
votes
1answer
556 views

Extension Attributes is not working

I have added one field i.e. checksum alongwith coupon code on payment page. Now I want to get and set checksum field. I tried, etc/extension_attributes.xml <?xml version="1.0"?> <...
1
vote
1answer
304 views

Magento 2: Captcha issue on Page load

I'm using Magento 2.2.7, I enabled Captcha in Store->Configuration->Customer configuration->Captcha Enabled for create user and forgot password forms. Captcha always displaying incorrect even I used ...
0
votes
1answer
78 views

Error reindex catalog_product_attribute magento 2

After running reindex catalog_product_attribute, I get an error - (General error: 1114 The table 'catalog_product_index_eav_temp' is full, query was: INSERT IGNORE INTO catalog_product_index_eav_temp ...
1
vote
0answers
40 views

Different price between PDP and cart

A client uses bundle products with discounts, which are set as a percentage of the original price. The discounted price is rounded to two decimals on the PDP and used in the total price calculation (...
-1
votes
1answer
109 views

Magento 2 how to get sorted children categories?

Can I get the sorted children categories? For example, I need sorted categories by the category name in the object $subcats in below code: $subcategory = $objectManager->create('Magento\Catalog\...
0
votes
0answers
24 views

Magento 2.2 .6 - An exception is printed on the administrator edit screen

An exception is output on the screen when the screen changes from the administrator list screen to the administrator edit screen. Below are the exceptions. How can I fix this problem? 1 ...
0
votes
1answer
129 views

Magento2 Add custom billing fields order view

I added to checkout custom fields following this guide, named 'customer_pec' and 'customer_recipientcode'. For each order I save the data in quote and in quote_address tables Now I want to add the ...
0
votes
0answers
65 views

Magento admin URL failure

I successfully changed my store domain name and I was able to access my admin URL. Now when I changed my admin URL and getting 404 error. I followed these steps: STORES → Configuration-Admin-ADVANCED-...
0
votes
2answers
215 views

Remove Integration connection Magento 2

I was trying to remove an Integration from Magento 2.2.7 in System => Extension => Integration but unfortunately the delete icon (trash) is not clickable and i can't proceed to remove the ...
2
votes
1answer
197 views

How can I trigger a shipping method price change based on street address?

I have below code to trigger a change in a shipping method price in this file: view/web/js/model/shipping-rates-validation-rules.js define( [], function () { 'use strict'; ...
0
votes
1answer
75 views

how to schedule reindex of catalog_category_product only

I need to run separately with its own schedule the reindexing of: catalog_category_product catalog_product_category catalog_category_flat I dont find the in any crontab.xml How can we do ...
0
votes
0answers
78 views

Magento 2 call admin controller using ajax

I'm trying to call a controller located in Vendor/Module/Controller/Admin/CustomController/TestAction but I'm getting an unauthorized error. Below is my code require( [ 'jquery', '...
1
vote
1answer
136 views

Magento 2 Open Source End of Life Timeline

Does anybody have the timeframe for end of life support for Magento 2 Open Source? All I've been able to find from an official source is this (https://magento.com/legal/terms/enterprise-agreement#...
0
votes
0answers
32 views

I want to change order of billing address on checkout page in magento 2

please help me to solve this, It's very urgent
0
votes
1answer
32 views

Add script in magento2

I want to measure add and remove products from the cart using tag manager Enhanced Ecommerce. I refered https://developers.google.com/tag-manager/enhanced-ecommerce#cart. How to add this script. ...
2
votes
1answer
27 views

An exception was printed during migration, but I don't know what it means

An exception was printed to the console during migration. Please tell me what you mean. My migration procedure is as follows. 1.Installed Magento version 2.2.6. 2.The application and database were ...
1
vote
1answer
478 views

Error 'Mismatch of data types…' printed during data migration to Magento 2

The following error was output during data migration to Magento 2. If you receive such an error, which file would you like to edit? Also, please tell me how to write. Mismatch of data types. Source ...
2
votes
1answer
104 views

How to secure Magento 2.x guest API

I realized that it is possible to register customers through API without authentication. https://devdocs.magento.com/guides/v2.2/rest/anonymous-api-security.html Just make a POST call to https://...
1
vote
0answers
48 views

About Problems Migrating Data From Magento 1.9.2.1 to Magento 2.2 .6

Magento 1.9.2.1 to Magento 2.2.6 encountered an error with EAV during the data migration process. The error is as follows. Notice: Undefined offset: 151 in /var/www/html/tertiary/vendor/magento/data-...
1
vote
1answer
256 views

Adding extension attribute to customer rest API giving Fatal error

I'm trying to add custom extension_attribute to customer API (REST) in Magento 2. The logic is working for single record API V1/customers/{{CUSTOEMR_ID}} But it is not working for search API V1/...
1
vote
1answer
2k views

Magento 2 Remove Estimate Shipping costs and Tax on cart page based on condition

I want to show/hide "Estimate Shipping costs and Tax" based on customer group. I just do not write to css that hide block as it is bad practice. Is there any way we can disable component based on ...
0
votes
1answer
534 views

How to edit order programmatically in magento2?

I want to edit order programmatically in magento2. How to do this. Thanks.
0
votes
1answer
366 views

How do I use email variables in phtml in Magento 2.2.x

I need to get the value of an email variable in a phtml file so I can test the value. In transactional emails I would use, as an exmaple <td>"Delivery Date" : {{var deliveryDate}}</td> ...
0
votes
1answer
31 views

Change wording on post checkout account offer

I need to change the wording on the post checkout page where it offers the user a chance to create an acount and it says "You can track your order status by creating an account." because they wont be ...
1
vote
2answers
73 views

Magento2: redirection problem from observer or Logging Out from two application at same time from observer

I am trying to logout from two applications I have a logout observer, where I am trying to logout from external application and also from Magento. Here Problem is when I am logged out from the ...
0
votes
2answers
594 views

Magento 2 How to get disable/enable child categories?

I am working with display all categories on a custom page, either it is enabled or disabled. When I try to get child categories with "getChildrenCategories()", but it is returning only enabled child ...
1
vote
1answer
766 views

Magento 2 generates thousands of temp table queries on product update

I have a Magento 2.2.5 store with ~20k products and ~250 categories arranged in a tree of maximum 2 sub categories. One of the top categories has 5k products and when I try to remove a product from ...
1
vote
3answers
521 views

magento 2.2.7 configurable products don't show up shipment address in checkout

when configure product's child product purchase at time shipping address missing in checkout my database side catalog_product_entity table 1.when i run reindex command then 2-3 days working ...
0
votes
0answers
30 views

After upgrading magento from v2.1.16 6o v 2.2.5 getting error in static content deployement

After successfully upgrade Magento from 2.1.16 to 2.2.5 when deploying the static content it throwing the below error, further debug to check file is present in the vendor folder. Check Below Error ...
0
votes
1answer
69 views

Set Order Of Imported Product Images Using CSV Magento 2.2

Does anyone know if there is a way to set the order of the images being imported in the additional_images column when running a CSV import? It's worth noting that 3 of the 5 product images already ...
0
votes
1answer
30 views

Magento2: How to display most view product collection in home page?

I need to display product collection in home page in magento2. Thanks.
2
votes
2answers
128 views

Magento cloud hosted M2 EE site compromised and got malware attack

Today i noticed in my client's magento 2 cloud hosted enterprise edition site is compromised. In footer hacker added some link along with following url: <script src="http://write-cdn.com/...
0
votes
0answers
145 views

Magento 2 grid filter(active filter) lost on page reload

I am using Webkul Marketplace ext. and they have issue on active filters. after filtering whenever reloading the page or visiting other page and backing on the filter page then filter get losses and ...
0
votes
1answer
140 views

Convert third party extension shipping delivery date transactional variable format from YYYY/MM/DD to DD/MM/YYYY in Magento 2

This question isn't about how to change the Magento data/time format. I use a third-party shipping platform that stores delivery date as part of the order and the delivery date is order specific. It ...
1
vote
1answer
140 views

Magento2: How to get the old qty of product?

How to get the available qty of the product before saving the product with new qty in magento2. How to do that. Thanks.

1
3 4
5
6 7
49