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

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
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 ...
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
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
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
0answers
41 views

Magento2: How can I set to a model in “specificcountry” on config.xml file?

I want to set default values with a model from declared class in system.xml. The result of the model is extracted from the database, from a custom table and the result looks like this: AF,AL,DE,BE,FR ...
2
votes
0answers
30 views

Element 'argument': The type definition is abstract and The state object to be removed is not the first in the list

I'm throwing this error on my /success/ page and it seems like such a generic error. It looks like further down the trace it's pointing to stuff like GoogleTagManager and other third-party modules ...
2
votes
0answers
60 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.
2
votes
0answers
36 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 ...
2
votes
0answers
351 views

Magento2 - Full page cache issue with multiple stores

I have multiple storeviews for my Magento2 website. It is working fine until Full Page cache enabled from Store -> Configuration -> Advanced -> System -> Full Page Cache -> Built-in ...
2
votes
0answers
69 views

Magento2 get url of all CMS pages using their identifiers

I am preparing one common array which returns the complete details of all CMS pages. In this array, I need to pass the URL of all cms pages. I do have an identifier of all pages. How can I get the URL ...
2
votes
0answers
48 views

Magento 2 : Data binding in Payment Method Selection

I want to display a custom field in "cash on delivery" payment method. I have created a custom module for this. But the field displays in all payment methods. Here is my code html <div class="...
2
votes
0answers
25 views

Magento 2: How to remove Theme block in admin?

How to remove this block in back-end Categories > Design > Theme block New product > Schedule Design Update > New Theme block thank you!
2
votes
0answers
23 views

After update from Magento 2.1 to 2.2.5, categories are not displayed because is_active is missing

After an update to 2.2.5 it turned out, that all categories are not shown anymore. Debugging the issue revealed, that $category->isActive() just is null. Debugging further showed that ...
2
votes
0answers
45 views

Product's “Layout Update XML” code disappears from the site every 24 hours

I have some products with "Layout Update XML" Design updates (simple XML pointing to a template file; very basic and in the correct format). Every 24 hours after a cache flush, the code vanishes from ...
2
votes
0answers
34 views

Magento 2 : Rest APi Management payment methods

I need a solution to manage payment methods. Ex. Credit cards. in the web version we have the option to list the cards already used in purchases. (html: // vault / cards / listaction /).   Is it ...
2
votes
0answers
99 views

Varnish intermittent 503 in Magento 2

I've followed the dev docs on setting up varnish, and increased the http_resp_size and http_resp_hdr_len when the daemon starts. Most of the time it's fine, but every once in a while I will get a ...
2
votes
0answers
59 views

Why, Thumbnail placeholder image is not resized in catalog -> product -> edit page in Admin Magento 2.2.5

I have uploaded Placeholder image in Stores->Configuration->Catalog->Catalog->Product Image Placeholders. but thumbnail image is not resized by default in catalog_prduct_edit page in admin Magento 2.2....
2
votes
0answers
193 views

Company Column on Sales Grids (Order, Invoice, Shipment, Credit Memo)

This is a continuation from my previous question: Billing and Shipping Company Column on Sales Order Grid I was able to place the Ship-to and Bill-to Company Columns on the 4 Sales Grids, but I am ...
1
vote
0answers
20 views

Magento 2 Bad Response: Client error: `POST https://api.playground.klarna.com/payments/v1/sessions` resulted in a `400 Bad Request`

In Magento 2.2.5, I have configured "Klarna" Payment method using my valid credentials. But, In frontend when I go to the checkout page it is not showing the Klarna Payment Options. I got this log: ...
1
vote
0answers
21 views

Canceling credit memo gives error

I am canceling credit memo using below code: foreach ($collection as $creditmemo) { if($creditmemo->getState() != 3){ $order = $creditmemo->getOrder(); $creditmemo-&...
1
vote
0answers
21 views

configurable price issue in quickview and list page magento2

I'm having an issue with pricebox.js/configurable.js and configurable products. They are used in quickview and on individual product pages. same Issue I can see in this platform in this link ...
1
vote
0answers
18 views

Magento 2: Product Attributes Option unable to use &

I am unable to use "&" in option of product attributes. Below is attached screenshot. If we add & to Default Store View or Admin it get auto removed on save, is there any fix it ?
1
vote
0answers
152 views

”Undefined offset: 4” when reindexing “Search indexer”

After module update I've got such error for indexing via SSH Catalog Search indexer process unknown error: Notice: Undefined offset: 4 in /home/sellastu/public_html/vendor/magento/module-catalog-...
1
vote
0answers
63 views

Magento 2.2.5: Add, Update and Delete existing products Custom Options

I am working on updating custom options of an existing product programatically when admin click product save button - I have done below code to full fil my desire - app/code/Namespace/Module/etc/...
1
vote
0answers
37 views

How to remove validation from the “City” and “Street Address” Field on Customer Registration Page?

I've added "Address Information" on customer registration page & want to remove the mandatory field from the "City" and "Street Address" Field for that I've overrided register.phtml file on my ...
1
vote
0answers
73 views

Magento Cloud stuck on Building after Re-deploying environment

Recently I tried to add a domain from my Magento Cloud Dashboard. The Log throws me a error with SSL, but the real problem is that after that error it go next to "Re-deploying environment" and it has ...
1
vote
0answers
30 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 ...
1
vote
0answers
59 views

Redirect Magento2 from subfolder to root folder

I am new to Magento. Successfully installed/implemented Magento 2.2.5. However, I installed Magento as subfolder in root. And my cart shows as mydomainname.com/Magento. I want to change it so public ...
1
vote
0answers
16 views

how we can write wsdl.xml or wsi.xml in mageno 2.2.5?

In magento 1.9.3.9,we are added the new fields in wsdl.xml and wsi.xml. then that is looking like below image. How can i write the above code in magento 2.2.5?
1
vote
0answers
32 views

Override checkout_cart_index.xml (Magento_Checkout) for deactivating shipping-rates-validation-rules.js and shipping-rates-validator.js

What would be the best way to override checkout_cart_index.xml in order to deactivate only these two javascript files? Thanks for your collaborations <?xml version="1.0"?> <!-- /** * ...
1
vote
0answers
112 views

Magento 2.2.5 - First Name is not visible in Shipping and Billing Address

My Magento 2.2.5 Store is not allowing a registered customer to place an order if the customer uses the saved/default billing/Shipping address instead of a different address. The store displays an ...
1
vote
0answers
28 views

Magento 2.2.5 get product and product image urls store vise

I want to send all product data of my store into Elasticsearch. In that I am facing one challenge to retrieve product url and product image/video urls store vise. For example:- My default store URL :...
1
vote
0answers
22 views

Magento 2 Full Page cache configuration in admin greyed out

The Full Page Cache from - Stores -> Configuration -> Advanced -> system -> full page cache It's greyed out, like in screenshot. I have chosen Default config from Store View, I was able to ...
1
vote
0answers
30 views

Admin Payment Method after an Upgrade 2.2.5

Admin > Configuration > sales > Payment Method after an upgrade to 2.2.5, the page display this form with no active control, How to resolve this? (Please see picture below) Thank you in advance.
1
vote
0answers
25 views

Magento 2.2.5 - Backups User Roles Permission

I'm using Magento 2.2.5. Steps to reproduce: System -> Permission -> User Roles Backups Sorry, you need permissions to view this content How to fix it?
1
vote
0answers
42 views

ifconfig to disable part of an extension

I have added a Column to the New Order -> Customer Grid. I am having a really tough time getting the system config to disable this code if turned off. I was hoping I could use a simple ifconfig in the ...
1
vote
0answers
11 views

M2.2.5 Frontend SQL Error

I am sorry if this has been asked before, but I am getting a strange error with mysql whenever I try to load any of the non cached indexed pages, the admin backend seems to work fine, and any non ...
1
vote
0answers
31 views

How to add customSearch component in admin products grid in Magento 2?

I have to add custom "Search by Keyword" functionality for the products grid in Magento 2. I have to add one text field there for search. when I type it give me search result suggestion. By default, ...
1
vote
0answers
32 views

Pricing condition not working in widget section for Product showing from Backend

I'm trying to create widget from backend for showing the particular some product list in home page. But when i'm giving pricing condition like below, the condition is not working and the UI portion ...
1
vote
0answers
10 views

In Magento 2.2.5, Is possible to make default “Add Product” to be a virtual product

In Magento 2.2.5, By Default, when we click the Add Product it is adding the Simple Product. Is possible to make it the "Add Product" to be a virtual product.
1
vote
0answers
51 views

TinyMCE (WYSIWYG) in DynamicRows bug

TinyMCE (WYSIWYG) is not showing up in a form field in Adminhtml DynamicRows container when more than one instance of the row is called. <fieldset name="tab"> <argument name="data" xsi:...
1
vote
0answers
23 views

Magento 2.2.5 Add product custom fields in view page

In Magento 2.2.5, I need to achieve the following: In product detail(view) page, I need to add the mandatory from date, to date and Comments fields. That should be added in the order Details and also ...
1
vote
0answers
40 views

My installation of Magento 2.2.5 has no “theme” table present in the database

I have a few issues with making my own custom theme, and against the documentation, I deleted my custom theme directly from the files. There is a good explanation of how to fix this issue here. Many ...
1
vote
0answers
33 views

In localhost extension Install giving error in magento 2.2.5

How to solve this error. I'm running magento 2.2.5 in my localhost in Ubuntu. I want to install extension, but unable to install due to this error. I gave full permission as 777 to my folder. But ...