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
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [magento-2.2.5]

It should be used for questions about Magento 2.2.5

7
votes
5answers
379 views

What is the use of pagefactory in Magento 2?

Although I refer some blog of pagefactory, I don't understand the use of page factory. There is one code in the controller. Could you please explain to me how it works? public function execute() { ...
7
votes
2answers
266 views

Order Status History Complete no longer created, but was in M1 site

In our M1 site when an order was shipped the status of the order changed to Complete and the Order Status History would get a record showing that the order was Complete. NB: Note that there is a "...
6
votes
1answer
157 views

Custom Module for Custom Column using Plugin Yes/No option

I have been digging all day trying to figure out a way to enable/disable the plugins of my custom module with system configuration yes/no. Basically, I have a custom module that adds the Company ...
6
votes
2answers
288 views

magento2 ordered product report showing blank while export CSV

Is there any solution please share why order product Report is showing blank.
6
votes
3answers
78 views

Magento 2.2.5 extensions conflict (Solved)

I've a problem with two extensions. One is for add custom registration fields, another is for customer approval. When new customer try to create new account and click on create account, account will ...
5
votes
1answer
145 views

Magento2 how to set default columns in admin grid

You guys would be knowing that magento provides columns control in admin grid made using ui component. In that you can add all columns but only few can be displayed by default when grid load initially....
5
votes
1answer
74 views

Amazon Pay ignores javascript mixins from other modules

When using Amazon Pay during the checkout process, seemingly any module that uses Javascript mixins to capture additional fields from the checkout page and pass them to the POST request for processing ...
5
votes
1answer
85 views

Price change for Configurable products in list

Scenario: I have a configurable product with the price X (no special price). One (or more but not all) of the simple products attached to the configurable products has a special price Y (lower than X)....
4
votes
2answers
169 views

Magento 2 : How to call text/x-magento-init on Ajax success

I am in need to trigger some script with "text/x-magento-init" on ajax call but I am unable to do so. trigger('contentUpdated') contentUpdated is also not working in my case. I am using ...
4
votes
2answers
102 views

Magento 2.2.5 Css is not generating

I have one project in Magento 2.2.5 and in that the CSS is stopped generating I have run all grunt command and in that it show below error when i run grunt exec pub/static/frontend/Magento/luma/en_US/...
4
votes
2answers
88 views

Custom field of mobile number is not showing on registration page in Magento 2.2.5

I want to add mobile no field in registration form. here is the code InstallData.php <?php /** * Copyright © 2016 Rouven Alexander Rieker * See LICENSE.md bundled with this module for license ...
4
votes
3answers
909 views

Magento 2 how to remove/disable title/word below every single image in product page

I need to remove the image title/name below from product view pages. Magento version 2.2.5. Anyone know how do this? The expectation is without title/name :)
4
votes
1answer
67 views

Magento 2 How to remove default website checkbox checked while add new product?

Magento 2.2.5. I have set up a multi website and it is working fine. My problem is when admin create any new product Product in website field default website selection checkbox is checked by default....
4
votes
1answer
25 views

M2: How to get Customer Cart Rules in My Account page

I want to filter cart rules list in my account page. I've list cart rules in My Account page "Dashboard". But I want to filter cart rules list by condition. I've configure the conditions in cart ...
4
votes
1answer
177 views

Magento 2.2.5 - How to increase the quality of product view photos JPG

I'm using Magento 2.2.5 How to increase the quality of product view photos JPG Because in product view the JPG quality is not high, but link out to see the photo is high quality. How to fix it? Please ...
4
votes
0answers
66 views

No such entity with cartId = 0 on checkout page

Customer lost session occasionally on checkout page. After login when i go to checkout page it's shows me below error but after refresh 4 5 times customer session restore again but after refresh ...
4
votes
0answers
261 views

Undefined index: websites in ..module-config/App/Config/Type/System.php

After trying to update from 2.2.5 to 2.2.6 I ran into an error message that it could not write to one of my files and thus needing to do a rollback on some of my backups. For some reason, I cannot ...
4
votes
0answers
58 views

Getting error in extension manager, Check Component Dependency & 2 php errors

Trying to find solution from many days on google but nothing found helpful.
4
votes
0answers
33 views

Magento 2.2.5: Adding cart-attribute for cart-rules / conditions tab

I use a product attribute called "carton" which describes in how many carton a product is packed. I want to add a cart-rule which counts the amount of all cartons in the cart (accordingly the amount ...
4
votes
0answers
46 views

Salesforce Magento integration

I'm implementing salesforce magento integration through REST API callout. I have successfully got the response from magento and saved it in salesforce database. But facing issue while using ...
4
votes
0answers
42 views

Magento 2: Override Price-options.js [duplicate]

I've overridden price-options.js's function _onOptionChanged(), but I got the error on changes variable to get defaultGetOptionValue() function. requirejs-config var config = { config: { ...
4
votes
0answers
221 views

Magento 2 Checkout Error Uncaught TypeError: Cannot read property 'getCacheKey' of null

I have an issue on checkout page and we are getting below error on console. It looks like address object is not loaded correctly on quote object and we are getting different error each time. This ...
4
votes
1answer
45 views

URL Building Changes in Backend from 2.1.12 to 2.2.5

We are facing a regression during an Magento update from 2.1.12 to 2.2.5 which I want to understand better. Our code looks like this and is in a block on a tab of the backend order sales public ...
3
votes
2answers
44 views

I have a css file in vendor/module/view/frontend/web/css/style.css in my own module but it is not working

I have a css file in web/css/style.css in my own module . but it is not working . i have called it in my vendor/module/view/frontend/layout/xmlfile . Note : I don't want to add it in theme css i want ...
3
votes
2answers
684 views

Is it safe to disable Temando_Shipping & Dotdigitalgroup_Email?

There's a couple of Modules that are packaged with Magento Open Source these days that promote Magento Partners. I know that disabling Magento_Signifyd can be done safely without any collateral. ...
3
votes
2answers
165 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 ...
3
votes
3answers
95 views

Magento 2 REST API returns Error

I have made REST API callout to get products based filter criteria. Following is the endpoint. http://xxxxxxxx/magentodemo/rest/V1/products?searchCriteria[filter_g‌​roups][0][filters][0‌​][field]=...
3
votes
1answer
109 views

Merge different language csv to determine which phrases missing a translation

Currently we have our shop only in English language and want to add an Italian one. So we have collected all phrases with bin/magento i18n:collect-phrases --magento --output="en_EN.csv". We installed ...
3
votes
1answer
884 views

Wrong E-Mail sender on order confirmation - Magento 2.2.5

when I receive order confirmations from my shop theres always the wrong sender e-mail adress. It's sending from the main webspace e-mail I thought I set the settings correctly but it doesn't seem to ...
3
votes
1answer
267 views

magento 2.2.5: Adding Custom Attribute to Customer Edit Form in Admin

I am trying to add a custom attribute using below code but its not working - namespace A2bizz\Customer\Setup; use Magento\Customer\Setup\CustomerSetupFactory; use Magento\Customer\...
3
votes
2answers
690 views

Magento - 2.2.5 Possible Problems?

Magento has released Magento-2.2.5 version on June 27, 2018 This release includes : 1. Multiple enhancements to product security plus bug fixes and enhancements. 2. Check out the many community-...
3
votes
0answers
30 views

Magento 2 Enterprise : Get Coupon code Expiration Date

I am using Magento 2.2.5 Enterprise Edition.I created cart price rule from admin.Now I want to display coupon expiration date in front end but in enterprise edition start/end date is saving by ...
3
votes
0answers
177 views

Magento 2.2.5 - Categories are not getting saved in the database

In my Magento 2.2.5 Store, When I try to edit the existing categories content and press the save button, the categories content stays the same, there is no change being reflected in the admin panel,...
3
votes
2answers
31 views

How can we write the below code in magento 2.2.5?

How can we write the below code lines in Magento 2.2.5 controller and model? $order = Mage::getModel('sales/order') ->getCollection() ->addFieldToFilter('quote_id', $...
3
votes
1answer
31 views

Magento 2 Ajax Add to Cart for recently viewed products

I am struggling with enabling Ajax Add to cart option for recently viewed products. Currently, the page is reloaded while adding the product to cart. In place of that, I have to use AJAX add to cart ...
3
votes
2answers
40 views

How to add more than one frontname for same Module in Magento 2

We need a module to function differently and show different UI if its comes with different frontname i.e If Externalvendor/Module1 has routes like <router id="standard"> <...
3
votes
0answers
274 views

uncaught typeerror cannot read property 'dialog' of undefined magento 2

I am getting this error on checkout page every time and checkout not working any idea how to solve it. uncaught type error cannot read property 'dialog' of undefined Magento 2
3
votes
2answers
55 views

custom option when product add to cart in magento 2.2.5

<?php namespace Ecomsolver\Measurement\Observer; use Magento\Framework\Event\ObserverInterface; use Magento\Framework\App\RequestInterface; class SetAdditionalOptions implements ...
3
votes
4answers
233 views

Magento 2.2.5 page and block module not displaying grid and button

I just installed Magento 2.2.5 but in admin > content > page the page grid and the button are not displaying. Even in the block the same issue happens, records grid and button is not displaying. ...
3
votes
0answers
51 views

Magento 2 Sizes showing in a wrong order for configurable products

I have just upgraded my Magento to 2.2.5 via composer. I realized that the Sizes from the dropdown on product page is displaying in a wrong order, see screenshot. But in Admin, under product ...
2
votes
2answers
328 views

Magento 2 Admin Grid Add/Update Button

In Magento 2.2.5, I am creating admin grid by following this tutorial(Using layout Block method. Not UI Component). In that I have a add button. I can't remove it. I need to remove it and add a new ...
2
votes
2answers
277 views

Magento 2.2.5 - what are the mysql tables where shipping and billing address is stored?

I want to know the name of the tables where the Shipping and Billing addresses are stored in Magento 2.2.5 for the registered customers
2
votes
1answer
508 views

Shipping Error. Invalid value in Region ID field

Just testing my shipping for a logged-in customer on Magento 2.2.5 When I come to the checkout I get the following error. Please check the shipping address information. Invalid value of "183" ...
2
votes
2answers
181 views

How to add custom menu in top nav section in magento 2.2.5

I'm trying to add custom menu in top nav section or place any custom menu removing the existing one. How to customise this section. Please tell me step by step. I'm unable to do this after the ...
2
votes
5answers
339 views

How to get Sku, name, and image in magento2 through programmatically?

I don't know how to implement this task. I want to get product name, SKU, and image in magento2. Can you please help me?
2
votes
2answers
303 views

Magento 2.2.5 change 'Add To Cart' button to 'View Product' at category page

Is it possible to change the 'Add To Cart' button to 'View Product' at the category pages? I have for almost every product some attributes, so it's weird for my visitors to click on "Add To Cart" but ...
2
votes
1answer
126 views

Magento 2: Override Price Model with plugin

I need to override Price.php Model with plugin. I've created PricePlugin inside Plugin folder. <vendor>/<module>/Plugin/Product/View/Options/PricePlugin.php PricePlugin.php : <?php ...
2
votes
1answer
423 views

Magento 2.2.5 : Module manager is not working in admin panel

I upgrade to Magento 2.2.2 to 2.2.5. Now, in my admin panel When I open Module Manager, Then it was display error in console and grid not display. Error : GET : https://www.example.com/mage2.2.5/...
2
votes
1answer
202 views

Magento2 : Credit card validations on a custom form not working

I am trying to add Credit card validations on Custom payment form <form id="testForm" data-mage-init='{"validation":{}}'> First name:<br> <input type="text" ...
2
votes
2answers
100 views

Magento swatch is not disabled when configurable product is not on stock

I have a little problem at my Magento 2.2.5 store. When a combination of a configurable product is not on stock, the swatch should be disabled with a red strike. But at my store no swatch is disabled, ...