Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

It should be used for questions about Magento 2.2.5

0
votes
0answers
11 views

Magento 2 data migration error like Source fields are not mapped.?

Magento 2 data migration i got an error like below image followed below answer but again faced an issue Source fields are not mapped - migration error is there any other solution?
0
votes
1answer
9 views

Sometimes getting cannot read property issue after page load due to which some functionality affected

On the entire website(homepage, category page etc) sometimes I'm getting "cannot read property timepicker" issue due to which some feature like "Add To Quote" functionality affected & instead of "...
0
votes
1answer
16 views

Is there any free ogone payment module for magento 2.2.5?

I want a free payment module of ogone for magento 2.2.5 for my project. I spent time on searching the module but no result. If anyone knows is there any free module for ogone can refer the link or ...
0
votes
1answer
11 views

Element 'css': This element is not expected. in Magento 2.2.5 (upgraded from Magento 2.1.9)

1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'css': This element is not expected. Line: 542 facing this issue in 2.2.5. I have upgraded from magento 2.1.9 ...
1
vote
1answer
28 views

Magento 2.2.5 - Connect register.phtml to the database

At the moment I'm struggling with sending data through my register.phtml. The situation right now is, I've created a module that allows me to override the core register.phtml with my own custom ...
0
votes
1answer
30 views

Magento 2.2.5 Show product name in product id coumn

In Magento 2.2.5, I have created the admin grid using layout blocks not using UI Component. In that, I have a product_id column. I want to show the product_name in that column. Here is my code: <...
0
votes
0answers
27 views

Magento 2 admin ui component grid is not working

In Magento 2.2.5, I am creating custom admin grid using ui_component. But it is not working. Admin page showing but the grid part is keeps on loading. Here is my di.xml code. Here is my ui component ...
0
votes
0answers
10 views

magento2 not loading custom css file that is in head.phtml on category page

My Magento2.2.5 has a custom css file that I have listed in the bottom of the head.phtml in my child theme. I list it there instead of in the default_head xml file because i need the css file to load ...
-1
votes
0answers
19 views

Call to a member function get() on boolean \Magento\dev\tests\functional\vendor\magento\mtf\Magento\Mtf\System\Isolation\Driver\Base.php:33 [on hold]

<?xml version="1.0" encoding="UTF-8"?> <!-- /** * Copyright © 2017 Magento. All rights reserved. * See COPYING.txt for license details. */ --> <config xmlns:xsi="http://www.w3.org/...
0
votes
0answers
33 views

Warning: array_merge_recursive(): Argument #2 is not an array

We are using Magento 2.2.5 and have the following error on the front end: An error has happened during an application run. See exception log for details. Could not write an error message to the log. ...
1
vote
0answers
17 views

Magento 2 need to Display the popup in checkout when product is orderedqty is greate than product qty or outofstock? [on hold]

In magento 2 need to display the popup in checkout page when is orderedqty is greate than product qty or outofstock ? You can see in below image popup example.in this we have the two buttons and when ...
1
vote
0answers
16 views

Magento 2 pass multiple parameters in the admin grid action url

In Magento 2.2.5, I am sending the id in the url now, But, I want send multiple parameters in the admin grid action url. I created admin grid using layout Blocks. Not used ui component. How to ...
0
votes
0answers
8 views

Product custom brand attribute doesn't updated automatically after assigning product from brand extesnions

Please visit here to see my problem:- http://nimb.ws/JkrGdY http://nimb.ws/Qi6rBn http://nimb.ws/sb3M8p I've approximately 5k products so it's not possible to save individually, from the grid I ...
0
votes
0answers
21 views

magento 2.2.5 turn back to home when i change store view

i've an issue on magento 2.2.5. I've created two store view it/en, when I'm on product page and change store view from it to en and vice versa, I'm redirected to the home page. Someone can help me? ...
0
votes
1answer
27 views

Magento 2: How can i reload section payment Method in checkout page?

how can i reload Payment Method section in checkout page? I create a custom discount. when i set custom discount and apply, i need reload total section and payment section. I use this code: var ...
0
votes
1answer
24 views

How to get customer id using email-id without using objectManager in Magento 2.2.5

I have a customer-email on custom controller & want to get customer-id without using objectManager. how can I get? Currently, I'm getting using objectManger & here is the controller code:- ...
0
votes
1answer
18 views

Change the URL of save button in the admin grid

In Magento 2.2.5, How to change the URL of save button in the admin grid. Note: I am not creating grid through ui_component, I am creating grid using layout. Reference: Ref 1 Ref 2
0
votes
1answer
42 views

Magento 2-2.2.5 Installation problem

Magento2 2.2.5 installed in centos7 server version when installation successfully completed and use my ip in browser it loading but magneto setup page is not opening. I have set up a server with Nginx,...
0
votes
2answers
16 views

Inline call of jQuery tabs doesn't work

Here's my problem. I have a tabs block which load perfectly when I put this script in phtml require([ 'jquery', 'jquery/ui' ], function($) { $("...
0
votes
0answers
15 views

Magento 2 A customer website ID must be specified when using the website scope Error

I am getting this error while loading customer by mail A customer website ID must be specified when using the website scope. Here is my code: $objectManager = \Magento\Framework\App\ObjectManager::...
0
votes
0answers
36 views

In Magento 2.2.5 The Custom attributes values are not coming in Collection

In Magento 2.2.5, I am creating a Custom Product and Customer attributes. It is saving fine, but while retrieving, It is not coming in the Collection. Here is my Code. UpgradeData.php $eavSetup = $...
3
votes
2answers
33 views

How to add new item (product) into existing order programmatically in Magento 2

I have created one virtual product in my Magento2 website. Now, I want to add it programmatically to the existing customer orders on some occasions with its custom price and name. Can someone please ...
1
vote
1answer
22 views

Skip price rules for API-created orders

Our price rules are used for discounts. Some of our orders come in via the API. Our API orders must not have any discount applied. How can I achieve this? At the moment, price rules are applied to ...
0
votes
2answers
29 views

Magento 2.2.5 custom theme js errors

I created a custom child theme for luma and it works fine. But when I extend the layout for Magento_Theme I start getting all kinds of javascript errors which are random, sometimes they don't appear ...
2
votes
2answers
26 views

Hide block of text if there are no items to compare

I'd like to display/hide a block of text by wrapping in a PHP IF Statement. Value will be based on whether Comparable Products is not equal to "0" (or NULL?). I imagine I'd be looking at something ...
0
votes
0answers
12 views

How to make Single Product URL

Magento Version: EE 2.2.5 In my store product detail page is accessible using three urls: 1) https://www.domain-name.com/L1category/L2category/test-product 2) https://www.domain-name.com/test-...
0
votes
1answer
27 views

Get all guest & customer email id's in single collection Magento 2

I am trying to list all unique email id's (guest & customers) in admin grid to restrict specific email id to place order. For that, I got an id's from customer collection and order collection. ...
0
votes
0answers
16 views

How to add Qty Update for products in Order Summary (Magento 2)

I want to add Qty update in order summary on checkout page in magento 2 + Is there any solution for like this.
1
vote
0answers
20 views

Magento 2.2.5 | How to redirect page to payment gateway provider after clicking on place order, Custom Payment Gateway Module

I am new to Magento 2 Platform and this my first project, I have some basic knowledge about Magento. I am creating a custom payment method module and achieve the front end part means I can see the UI ...
0
votes
0answers
7 views

Create configuration for different types in shipping method magento 2

I have to integrate shipping methods in magento 2 which have different types of methods for domestic and international. International Postage Domestic Postage International Letter Domestic letter I ...
0
votes
1answer
26 views

Magento 2 Join Product Collection with Custom CollectionFactory

In Magento 2.2.5, I have Custom Model Collection (followed this tutorial). In that I want to add the Product Collection into this custom collection by default. How to achieve this.
0
votes
0answers
24 views

Admin form Save button is not working

In Magento 2, I have admin grid edit form. In that save button is not working. Here is my code: https://pastebin.com/6ADc9657 https://pastebin.com/VJiKnShj
0
votes
0answers
15 views

Magento Create from inside the admin grid edit form save

In magento 2, I want to create a form in the admin grid edit save action with another save button inside. How to achieve this. Reference:
0
votes
0answers
36 views

Error “Please enter a correct entity model.” while Importing CSV in custom module in Magento 2

I receive this error when i'm trying to import a list of sellers (custom module). I want to know what is the meaning of this error? and where should I start to fix the problem? PS: Please let me know ...
0
votes
2answers
20 views

Filter admin grid based on the url parameter

In Magento 2.2.5, I have a custom agrid. It has edit option and url parameters. I need to create another grid in the edit page based on the url parameter. ie., I need to filter the custom grid based ...
0
votes
2answers
18 views

Magento 2 Get all attributes option in phtml

I have created an attribute with multiple options I have to get all option of in dropdown. Attribute created: country Options: India, USA, UK below is my code in phmtl file $objectManager = \...
0
votes
0answers
17 views

Magento 2: Possible useless method overriding detected

I try to override state with _afterLoad(), But I got the error messages from PHPCS phpcs: Generic.CodeAnalysis.UselessOverridingMethod.Found: Possible useless method overriding detected This is my ...
0
votes
1answer
13 views

Displaying custom attribute made add to cart and short descrption hide on product view page

I was trying to display a custom attribute to product view page and overwrote the base file with child theme but after that only the custom attribute is showing and rest has disappeared i.e add to ...
1
vote
0answers
18 views

Magento 2 Filter admin grid collection by default

In Magento 2.2.5, I want to filter the custom grid using custom attribute. I followed this link. But it is not working. Is any alternate solution there.
1
vote
1answer
30 views

How and where to add join query in magento 2 for UI components

I have referred this link Reference link Now where I have to place a code for join query multiple table for custom admin grid in magento 2 I have referred many links but got failed for ex. ...
1
vote
1answer
50 views

Magento 2: Add child div containing all items in columns

Below is my html struture of 2-column layout, <div class="columns"> <div class="column main"> ------ </div> <div class="sidebar sidebar-main"> -----...
0
votes
0answers
26 views

Fatal error: Class 'PHPUnit\Framework\TestCase'

I'm facing this issue when I run php bin/magento setup:di:compile Compilation was started. Repositories code generation... 1/7 [====>-----------------------] 14% < 1 sec 78.0 MiBPHP Fatal ...
2
votes
0answers
14 views

Magento 2 Region list not filter for default country on billing address for first time

There are many country region available in region list. The issue arises first-time page load on the billing address of checkout. Even default country has been set up the USA, All region list has been ...
1
vote
0answers
21 views

how to create a array with yes no values in magento [closed]

I want to create a radio button with value yes and no and check tat with data base table data and if value is same as array value it should checked
2
votes
1answer
76 views

Magento 2.2.5 Fatal Error in Category and Search Page

Could someone help me with this error below? It is a fatal error that happens when I open the search or try to open any category. I'm using magento 2.2.5 with apache 2.4 and php 7.1 Fatal error: ...
0
votes
0answers
24 views

Magento 2.2.5 customer login not working

Working on a new Magento2.2.5 install and when I test logging into the site as a customer the magento signin page just reloads with no error message shown. However in the admin panel I see my test ...
1
vote
1answer
22 views

Use datasource of admin grid in another grid

In Magento 2.2.5, I am using datasource in the grid and it is working fine. I want to use the same datasource in another grid with some filters. I am using vendorname_module_deal_listing_data_source ...
0
votes
0answers
21 views

Shipping and Billing address doesn't contain the First Name - Magento 2.2.5

Shipping and Billing address doesn't contain the First name This issue results in not allowing a registered customer to place an order if he tries to use some of the saved addresses.
0
votes
1answer
27 views

Validation of checkboxes in custom forms does not work

Check this below code. I have added one checkbox on newsletter footer subscribe.phtml. If we are custom add checkbox on this then form submit without form fill up. Site Link : http://kkmag2.dev-site....
0
votes
0answers
13 views

How to get the current category url (including the parameters?)

For instance when visiting pages like example.com/men?p=2 Already tried with getting the current category from the registry, but then i would get only the url of the category (so only example.com/men)...