Questions tagged [magento2.2]

General questions about the Magento 2.2.x versions

Filter by
Sorted by
Tagged with
1
vote
2answers
2k views

How to get MSP Recaptcha Module on custom Form?

I have a custom form inside a modal in a configurable product page which requires MSP Google ReCaptcha to be implemented. I tried to include the Recaptcha block in my layout file but it is not showing ...
2
votes
3answers
679 views

How to remove the prefix field from the checkout in 2.2

How do I remove this prefix field from the checkout in Magento 2.2? When Googling this it appears there used to be an admin setting that has since been moved/removed: Update - I don't have the Show ...
0
votes
2answers
669 views

How do I create a cart percentage discount with a coupon code?

I'm trying to create a 25% discount code for the whole cart, not just for one product. Is this possible? I'm pretty new to Magento and the only rules I find is either a percentage for one product or ...
0
votes
2answers
29 views

How to add 3 templates to custom tabs

I have 3 blocks that are in the cms block and displayed on the cms page. How to place each block in a separate custom tab Tabs stretched to full page 3 templates: app/code/Qqq/Wwwww/view/frontend/...
0
votes
1answer
43 views

external images link magento 2.2

I'm trying to show images from external images in catalog search results I created a text attribute containing the full path URL named custom_image for each product This phtml is responsible to ...
0
votes
1answer
770 views

Open Popup in checkout page

I need to create a popup for coupon code in checkout page.. In discount.js: showPopup: function () { alert("popup"); var couponcodepopup = { type: 'popup', ...
1
vote
2answers
6k views

mmap() failed: [12] Cannot allocate memory

When I try to execute a command, I will encounter the following error by commandline mmap() failed: [12] Cannot allocate memory
2
votes
2answers
464 views

What should we use instead of the Magento\Checkout\Model\Cart model?

The Magento\Checkout\Model\Cart class was marked as deprecated a long time ago (since 2.1 ver.). What should I use instead of it to work with a customers cart? I know that I can work directly with a ...
0
votes
2answers
89 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.
0
votes
2answers
662 views

Enable disabled functionality is not working in magento 2

I am trying to enable/disable Magento 2 from admin general setting. I created an option to disabled / enabled module from backend > configuration > module > enable (Yes/No) when I tried to disabled ...
0
votes
1answer
789 views

Detail page - Display configurable product's thumbnail images even when an option is selected!

So let's say I have a configurable product having an option of colour with 2 values: Black, White. I want to make the thumbnail images of the parent product stay, even when I select any colour. Here ...
1
vote
2answers
779 views

Close modal popup gracefully in magento2

I am using Magento modal popup for various functionalities in checkout. I am working on an address validation module which fetches the corrected address from USPS API and displays the corrected ...
0
votes
1answer
9 views

Trouble sorted pages index google

I currently have the mageplaza layered navigation extension on my site in Magento 2.2.9 and I have a problem : Google indexes all the filter pages. I blocked some of them via the robots.txt but ...
1
vote
2answers
796 views

Magento 2.2 IWD Onepage Checkout Issue

I have installed and enable one-page checkout extension by IWD Agency it shows correctly but removes my theme header and footer how to prevent it and Show my header footer as it was before. Here I can ...
5
votes
1answer
816 views

Pass data to child template in cart-items of checkout page

My site is a market place site where vendors(sellers can sell their product). Now i want to customize the to group items in cart by each vendor like this: http://prntscr.com/hmsam6 ...
10
votes
3answers
5k views

Magento 2.2 error “The page isn’t redirecting properly”

I am testing my own module on Magento CE 2.2.0 but keep getting "The page isn’t redirecting properly". Looking at the network traffic I see these requests: /magento22-acumulus/admin/ /magento22-...
0
votes
2answers
48 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
2answers
728 views

Magento 2: Get order list items for a customer

I want to display on a .phtml file a list of order items for a logged in user. I don't want to use object manager. I can get the id of the logged in user ($customerId) on the phtml. I have created a ...
4
votes
5answers
788 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
1answer
1k views

Remove “We can't find products matching the selection” category with not products

How do you remove "We can't find products matching the selection" from categories with not products assigned? I have set display settings to Display Mode: Static Blocks Only Anchor: Yes and also ...
2
votes
1answer
700 views

Cannot Read Property “quoteData” of undefined magento 2.2.2

How do I fix Magento 2.2.2 Cannot Read Property “quoteData” of undefined Issue? Please give me flexible solution for this issue.
1
vote
2answers
973 views

Remove some states from dropdown on billing step on magento 2.2

I need to remove some states/regions from checkout dropdown in the billing step, and different states/regions from shipping step on magento 2.2. i have used this How to remove Guam, Palau, and other ...
0
votes
1answer
671 views

Request Response JSON in magento 2

I have modified form review as popup modal and have overrides the controller in my custom module, the review saved successfully in DB. I need to pass the response to the to JS in JSON format , Help me ...
0
votes
2answers
29 views

Warning Count Magento 2.2 & PHP 7.2

I receive the warning after upgrading to PHP 7.2 while running magento still in 2.2. Warning: count(): Parameter must be an array or an object that implements Countable in /vendor/magento/module-...
0
votes
1answer
1k views

Cron Job Magento 2.2 fail - Class 'IntlDateFormatter' not found in

System set up: Magento 2.2 PHP version 7.1.13 fastcgi with Intl installed Ubuntu 16.04.2 LTS‬ Plesk version: 17.0.17 Elements to the cron set up magento.cron.log update.cron.log setup.cron.log ...
0
votes
0answers
18 views

mobile view image quality as blurry in product list and details page magento 2.2.4

Image quality blurry issue in mobile view product list/details page. magento ver is 2.2.4. I found the reason for this issue. Having 2 MB image file and product uploaded in admin side. Then i can see ...
3
votes
2answers
889 views

Key constraint error while importing simple products

I am getting an error when I am importing simple products in Magento 2.2. The error is : Category " has not been created. URL key for specified store already exists. in row(s): 1 General ...
0
votes
2answers
119 views

Admin Details in Backend in Magento 2

I have created admin grid and associated UI form. If I add a new item, the current (first)admin name who added the item should save in DB. That (first)admin name would not be change. But if the second ...
3
votes
1answer
1k views

Magento 2.2.1 “Sorry, but something went wrong. Please contact the seller.” Checkout using Authorized.net

Magento 2.2.1 : I have confirmed the transaction URLs, keys, and MD5 with Authorize.net. Transaction is processed and deducted from account. Order is created within Magento, and emails are sent. ...
2
votes
2answers
695 views

Remove sticky behaviour of cart summary in Magento 2.2

i need to disable sticky behaviour from the cart summary block in checkout cart page, but can't figure out how to do it. I tried overriding js file /vendor/magento/theme-frontend-blank/...
3
votes
2answers
2k views

Magento 2 attribute backend_type static vs varchar

Is Magento attribute value saved in database table static and varchar identical? when and why to use static backend_type instead of varchar?
0
votes
1answer
726 views

Add custom column to the Order Grid for export

I want to add some custom field like sku to add in order grid to export along with the order. I follow this link Add custom product attribute to Order Grid to do this, but this didn't work in this ...
3
votes
2answers
2k views

How to use Mage::getModel() on Magento 2?

I need to convert my following Mage::getModel() from Magento1 to Magento2 $cart_api = Mage::getModel('checkout/cart_api'); $quoteId = $cart_api->create($storeObject->getStoreId()); $quote = ...
1
vote
4answers
5k views

Magento2.2 refused to apply css because its MIME type ('text/html') not supported

Magento2.2 apache php7 server I moved the website from a Nginx server to this apache2 server. cleared cache, the magento is in default mode still so no need to re-deploy. However now i get an error ...
0
votes
2answers
44 views

Cannot create property 'messages' on string '{'cart:

I have a very annoying problem: randomly our customers get the next javascript error,which hangs the shopping process, it also appears in the cart view. Uncaught TypeError: Cannot create property '...
1
vote
3answers
1k views

Magento 2 - Changing the PayPal logo on the Checkout page

I am trying to change the PayPal logo that appears on the checkout page, just before the customer is forwarded to PayPal to make a payment. Here is a screenshot: I looked everywhere and tried to ...
0
votes
1answer
975 views

Operation not permitted

I am trying to install a Magento 2 in Linux Mint 19. I am facing issue in file permission.
7
votes
4answers
2k views

Magento 2 : Dynamic PDF and image attachement with order email

I need to attach PDF and images with order email. I have dynamic PDF and image path which is stored in quote_item table. I have debugged code to attach image/PDF to order email. <preference for="...
0
votes
2answers
919 views

Magento 2: Get list of products on basis of attribute code

Is there any way I can fetch list of products having a attribute_code. For eg: Getting list of all products which has attribute color
0
votes
2answers
237 views

Issue with imported order

I import all my orders from Magento 1.9 to Magento 2.2, the orders are in the store but when I press on View button, I have the following error: 1 exception(s): Exception #0 (Exception): Warning: ...
0
votes
1answer
26 views

Error when adding a user

When I try to create a user, I get this error: "Rolled back transaction has not been completed correctly." In system log I get: main.INFO: Broken reference: the 'notification.messages' tries to ...
1
vote
1answer
1k views

Cron job error SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock

Suddenly and without reason, I get error via the mail concerns a cron job that could not be executed. Here is the report : *[Magento\Framework\DB\Adapter\DeadlockException] ...
0
votes
1answer
20 views

Magento 2 - Override Configurable Product Attribute Label

In Magento 1.9 you used to be able to override the label for an attribute used in a configurable product (see below): For example in the image above the default attribute label is Hanging Display ...
1
vote
1answer
391 views

Magento1 to Magento2 data migration

I am new to Magento2, I need some guidance from magento geeks for migrating data from magento1 to magento2. Quick Overview I received a system that was built in magento2 from scratch. So I think ...
0
votes
1answer
2k views

command line user does not have read and write permissions on generated directory

command line user does not have read and write permissions on generated directory. Please address this issue before using Magento command line when I was trying to run php bin/magento indexer:...
0
votes
2answers
21 views

Undefined variable: productImageBase

I have this issue when I click on a category: Undefined variable: productImageBase...product/list.phtml on line 208. Any idea? <?php /** * Copyright © 2015 Magento. All rights reserved. * See ...
3
votes
3answers
581 views

Magento 2: Dependency Injection: Optional class as parameter

We are developing a Magento 2 extension and we need to inject a class from a third party extension that the user may or may not have installed. We thought about injecting the class via the di.xml ...
0
votes
1answer
33 views

Magento 2 is not showing product in categroy pages

I use Magento 2.2.2 and since yesterday I can't see any products in category pages. products are available individually but not available in any category pages I've done these solutions but still, it'...
3
votes
2answers
739 views

Run Magento 2 inside a Docker Container

Is there a way to run my existing magento 2 project inside a docker container? I have an existing project that is run inside a vagrant but I'm encountering a lot of issue in the vagrant and we decided ...
4
votes
6answers
2k views

setup:static-content:deploy NOT UPDATE

I'm using Magento 2.2.2 & Redis, I have others language store in my Magento. I edited the app/fronted/(theme) .phtml file and then ran php bin/magento setup:static-content:deploy or php bin/...

1
2 3 4 5
50