Questions tagged [magento2.2]

General questions about the Magento 2.2.x versions

Filter by
Sorted by
Tagged with
2
votes
2answers
13 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 ...
0
votes
1answer
23 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
17 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
0answers
20 views

Retrieving data from third party DB tables and adding it to transactional emails In Magento 2

I use a third party platform to manage my shipping called ShipperHQ. It allows me to offer click and collect and delivery with calendar dates and time slots. That platform creates it's own tables in ...
0
votes
1answer
24 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"?> <...
0
votes
1answer
33 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
29 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 ...
0
votes
0answers
15 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
33 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
18 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
40 views

Add custom billing fields order view

I added to checkout custom fields following this guide Now I want to add the same fields on Admin side in Order view page. I tried and found this other useful guide, and I succeed in adding my sample ...
0
votes
0answers
44 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
0answers
17 views

Magento 2.2 customer attribute value not update on front-end if cache it not cleared?

I have created a new customer attribute. In a custom page, I want to show that new attribute's value. Due to the full page cache, it doesn't show the data as I update it from the backend until I ...
0
votes
0answers
17 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 ...
0
votes
0answers
12 views

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

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

Magento 2: Category page empty after re-index (E.E 2.2.9)

I am working on Magento E.E 2.2.9 Category page is not able to display product once I ran re-index. I ran re-index using crontab. Category pages are empty until I flush cache manually. Any idea ...
0
votes
1answer
35 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
15 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
31 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
30 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
22 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. ...
1
vote
1answer
19 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 ...
0
votes
1answer
22 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
23 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://...
0
votes
0answers
28 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
72 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/...
0
votes
1answer
23 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
0answers
25 views

Magento2: Coupon code removing issue after merging quote

I have created a custom column 'discounted_total' in quote_address table for discount calculation. use Magento\Quote\Model\Quote\Address\Total\AbstractTotal; use Magento\SalesRule\Model\CouponFactory;...
0
votes
0answers
24 views

Composer Error When try to Update or Upgrade Magento 2.2

I have in my system installed Centos 7 and php-fpm with some version of PHP 7, when I try to use composer update I get this message I would like to know how to fix that problem
0
votes
1answer
25 views

How to edit order programmatically in magento2?

I want to edit order programmatically in magento2. How to do this. Thanks.
0
votes
1answer
48 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
0answers
16 views

Magento2 : get stock qty after edit order?

In edit the order, the previous order will be canceled state and then create a new order. How to get the stock qty for an item when canceling the order before placing a new order. How to get it. ...
0
votes
1answer
16 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 ...
0
votes
2answers
42 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
43 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
27 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
195 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
16 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
22 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
15 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
41 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
11 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
51 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
27 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.
0
votes
2answers
30 views

Magento 2 remove version number impact

I noticed if we type /magento_version along with site url then it displays our magento version. So anyone with bad intention can check my version and exploit it. to prevent this I can disable the ...
0
votes
1answer
30 views

Magento2 Products on Category after deployment

I recently did a release on my magento2 instance on production. Everything looked good for a day, then enabled some configuration and styling went away from all product pages. So I reverted that and ...
0
votes
0answers
9 views

Paypal Express (recurring payment) Second IPN(ORDER STATUS) is recieved after 3:30 PM LA time. Why?

When a recurring payment is done using PayPal the recurring profile created IPN is received in an instant but the second IPN is received after 3:30 PM afterward only. The first IPN received is having ...
0
votes
0answers
10 views

How to extend Magento Catalog Image Resize Console command?

In Magento 2.2, there is one command for product image to resize in different sizes. php bin/magento catalog:image:resize This command will read all image dimensions defined in the theme XML(view....
0
votes
0answers
12 views

Magento2 less modification command

Might this is basic query. I am using "Pedona magento theme" for my website, now I need very small modification in style.less /app/design/frontend/pedona/pedona_default/web/css/style.less do have to ...
1
vote
0answers
25 views

Get out of stock product collection in magento2

I want to get the wishlist collection for the customer. $this->wishlist->create()->loadByCustomerId($this->session->create()->getCustomerId(), true)->getItemCollection(); How to ...