Questions tagged [magento-2.2.5]

It should be used for questions about Magento 2.2.5

Filter by
Sorted by
Tagged with
9
votes
1answer
202 views

Magento 2 - Store disable issue in Multi stores website

I am working on multi store website, as far I know person should be able to disable store view / website if that is not a default store view / website. I want to disable some of the store views but ...
7
votes
5answers
1k 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
436 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
214 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
563 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
81 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
3answers
88 views

Magento 2 - Categroy, CMS and Product page changes are updating along with Page Cache

I have page cache enabled and it is working fine. In Magento 1.9 when I update anything on website then I have to flush full page cache (Amasty plugin) otherwise changes wont reflect on frontend. ...
5
votes
1answer
268 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
82 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
4answers
2k 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 :)
5
votes
2answers
803 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 ...
5
votes
1answer
98 views

Magento 2.2.5 checkout page summary discount row shows as expanded

In Magento2.2.5 using the default Magento2 2 step checkout on the payment & review step in the order summary box the discount which I believe is suppose to be a drop down shows always as expanded ...
5
votes
1answer
313 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)....
5
votes
0answers
66 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
1answer
1k 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" ...
4
votes
3answers
2k 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. ...
4
votes
4answers
177 views

Magento 2 frontend route only allow POST method

I'm using magento 2.2.5 and created a frontend route like this: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
4
votes
2answers
596 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
954 views

Magento 2.2.5 Fatal Error in Category and Search Page

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: Uncaught Error: Cannot instantiate interface ...
4
votes
2answers
48 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 ...
4
votes
2answers
145 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
200 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
1answer
33 views

Magento 2 - All Products Page with filters and Pagination

I need to create a page where product collection from all categories or you can say from root level category (Default Category) generally it has id 2. I need to make sure that the page is look like ...
4
votes
1answer
3k 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 ...
4
votes
1answer
223 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
44 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
565 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
135 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 ...
4
votes
0answers
255 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
300 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,...
4
votes
0answers
483 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
122 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
59 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
98 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
398 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
46 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
1answer
1k views

Magento2.2.5 How to access Magento Log file for Web API?

we use the Magento api to update our warehouse system when we recieve orders and then update magento again with inventory updates from our warehouse system. However we recently had an order that gave ...
3
votes
2answers
929 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 ...
3
votes
1answer
2k views

I am getting error of page_cache is not writable in magento 2.2.5 in linux os

I am trying to add a grid in admin side. I am getting this error Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/opt/lampp/htdocs/magento2.2.5/var/page_cache" is not writable in /opt/lampp/...
3
votes
2answers
917 views

Magento 2.2.5 : Add video to product programmatically

I am new in magento. I saw some links about add video programmatically, but I didn't get output which is working perfect. How to add product video programmatically to the specific product ? Please ...
3
votes
3answers
331 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
244 views

Register password strength meter not working in Magento 2.2.5 CE

I have a fresh installation of Magento 2.2.5 CE & tried to create new user on frontend when we type password like Password1 strangely strength meter not showing like weak, strong, very strong its ...
3
votes
1answer
221 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
196 views

How to use store credit for a cart in magento 2 api

Magento version: EE 2.2.5 I have a customer with store credit. I created cart using rest/default/V1/customers/:customerId/carts And I added items to that cart using rest/default/V1/carts/:cartId/...
3
votes
1answer
573 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
783 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
32 views

Magento2.2.5 Luma child theme not using default_head_blocks.xml in child theme folder

I have a Magento 2.2.5 based multi-store view website. What we want to do is take the Luma theme and create a custom child theme from it. Each store view (we have 3) would use its own child theme of ...
3
votes
0answers
18 views

Custom EAV Category Attribute is Returning a Different Value

I have a custom EAV attribute called thumbnail_link_text which is a category attribute. When I try to display it either on the frontend or backend using the default accessor like this, echo $category-...
3
votes
2answers
580 views

Magento2 : Cron run not working

Below given is crontab.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd"> <group id="...
3
votes
1answer
42 views

Notify me when this product is in stock on product listing page in magnento 2.2.5

I want to add "Notify me when this product is in stock" on product listing page in magento 2 . by default if product is out of stock this comes in the product detail page. but i want in the product ...