Questions tagged [magento-2.2.5]

It should be used for questions about Magento 2.2.5

316 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
564 views

Failed Check Component Dependency 2.2.5

How do I get Fix this Error? Check Component Dependency We found conflicting component dependencies. Hide detail Command "update" failed: Loading composer repositories with package information [...
2
votes
0answers
43 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
186 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
93 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....
1
vote
2answers
141 views

Magento2 : Not showing Meta title & description on category page

I'm getting issue with website meta info. If I will set the default meta info then it will display the same info tag for all the pages. But when I'm trying to set the meta info for particular page ...
1
vote
0answers
27 views

Magento 2 Product Collection add array as column for sorting

I've requirement like following. Products price is calculated on the fly and I want price sorting to be proper with it. I've extend the block Magento\Catalog\Block\Product\ListProduct Following is ...
1
vote
0answers
20 views

City load According Country wise In magento2

I want to city load on the checkout page when customer Select Country / State then City load accordingly, So anyone has the best idea how to do this or any extension have like this, please suggest me!
1
vote
1answer
18 views

Product attribute value visible in Catalog table but its field is empty in Edit Product form

I have a strange issue with Magento 2.2.5 where two of my product attributes have its values showing in the Catalog Table, but when you click into the product itself to edit, the field for that ...
1
vote
0answers
48 views

Magento 2.2.5 configurable product is not open in admin?

I have created configurable product which has almost 2000 products associated. I want to edit some attribute but it is not opening and showing an warning: Warning: DOMDocumentFragment::appendXML()...
1
vote
0answers
25 views

Get Conditions from Catalog price rule

I need to get Conditions of Product from Catalog Price Rule in my custom form. I went through core files to get it, but I was able to get Cart Price Rule Conditions by using <container name="...
1
vote
1answer
177 views

Magento2 - Is it possible to get specific store url in cms block?

I am trying to get store URL or base URL for a specific store in cms block. I have tried {{store _store="1"}} Also, {{config path="web/secure/base_url"}} I wanted to know if this is going to work ...
1
vote
1answer
32 views

Magento2.2.5 : How to maintain a session value in product detail page to custom controller page?

I implemented some custom options in the product pdp page. i.e, i have to engrave the product in frontend(eg.pendant FRONT SIDE) as well as the backend(eg.pendant BACK SIDE) without refreshing the ...
1
vote
2answers
29 views

Magento2: Remove Sample field from Downloadable Information

I want to remove sample field from downloadable information as highlighted in image below: Can anyone give me solution. Thanks
1
vote
1answer
37 views

Magento 2.2.5 Emails are not receiving

I am using Magento 2.2.5. Order confirmation emails, Invoice emails and any of the custom emails are not receiving to the particular domain based email. Client has the server on go daddy VPS. Mails ...
1
vote
1answer
239 views

How to override protected _prepareLayout function in block in Magento 2?

I wanted to make changes in _prepareLayout() in block. Code is as follow: Block: Magento\Catalog\Block\Category\View protected function _prepareLayout() { parent::_prepareLayout(); $this-&...
1
vote
0answers
74 views

How to redirect to 403 custom error page in magento2 from controller

I am trying to redirect to custom 403 error page. I have created plugin for controller as follow: etc\di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
1
vote
0answers
24 views

How to create a customer attribute only for one store?

I can create a customer attribute using below script: <?php namespace Vendor\CustomerMobileNumber\Setup; use Magento\Framework\Setup\InstallDataInterface; use Magento\Framework\Setup\...
1
vote
0answers
56 views

Magento2.5 Related Products image url path incorrect after moving website

I recently moved a Magento 2.5 based website to a new server and now on the product detail page the related products the product images are not loading. Upon inspecting the image tag I see the url is ...
1
vote
1answer
169 views

Magento2 : module created but when trying to display the grid in admin getting the error as

I am new to magento and learning to create a module in magento. Fatal error: Method Magento\Ui\TemplateEngine\Xhtml\Result::__toString() must not throw an exception, caught TypeError: Argument ...
1
vote
1answer
161 views

Advance reporting is not working for Magento 2

Advanced reporting is not working for Magento 2. I have followed all the steps as per the Magento guideline. But the advance reporting is still not working.
1
vote
0answers
64 views

Could not establish FTP connection, invalid host or port in magento 2.2.5

i include the use \Magento\Framework\Filesystem\Io\Ftp; at the top nd connct the ftp as $connection = $this->ftp->open( array( 'host' => '00....
1
vote
0answers
27 views

Delete Product Custom Option value if it is null in magento 2

I wish to delete the custom options value of a product if it is null without deleting the option. Please provide me a solution to delete it without affecting the option
1
vote
1answer
49 views

While import product custom options throws error in magento 2

While trying to import custom options for product throws the below error. Please provide me a solution SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '4953' for key '...
1
vote
0answers
88 views

Magento2.2.5 amazon_sales_order table does not exist?

I recently upgrated a magento from 2.2.3 to 2.2.5 and now when people place an order I am seeing errors in the system.log that seem to state that there is a table related to amazon_sales_order that ...
1
vote
0answers
71 views

Magento 2 : SMTP email not received in LIVE site but working in localhost

Am using this extension for SMTP email- https://www.mageplaza.com/magento-2-smtp/ .This extension work perfectly in my localhost but live site its not working and no email are received for forget ...
1
vote
0answers
27 views

Magento 2, adding price value 1,000 convert and save as 1.00, issue

https://github.com/magento/magento2/issues/13851 In the above issue, in Magento 2 they did that on every price field, but they don't do that if Magento prefilled those values. For example, if we can ...
1
vote
0answers
19 views

In Magento 2.2.5, logo is not changing in custom mail

In Magento 2.2.5, I am adding some custom mail functionality. It is triggering with the content. But the mail logo is not changed. Here is mail template content. Changed mail logo in Admin panel - ...
1
vote
1answer
171 views

Grabbing invoice pdf file through API

Hoping someone can point me in the right direction on how to generate an invoice pdf for an already invoiced order through the rest api. It looks like in the admin, Magento is creating it on the fly ...
1
vote
0answers
108 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
34 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
73 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
181 views

Custom form field not showing validation message

I have created one custom form and implemented magento validation. Magento validation works for all fields but message of one field is not displaying. I have added datepicker in this field. Below is ...
1
vote
0answers
135 views

Magento2: custom javascript not called when using with text/x-magento-init

In list.phtml (product listing) I am showing requistition lsit for every product using type="text/x-magento-init" in loop as: <script type="text/x-magento-init"> { "*": { "...
1
vote
1answer
199 views

magento 2 change admin label

i want to change magento admin sidebar labels for eg "catalog" to "My products" is there way to do it without changing core files i tried using translation by adding files in "app/design/adminhtml/...
1
vote
0answers
21 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
328 views

Magento 2.2.5 URL Rewrites - Duplicate entry 'myurl' for key 'URL_REWRITE_REQUEST_PATH_STORE_ID'

I am seeing this error when trying to perform a search/replace on the url_rewrites table: UPDATE url_rewrite SET request_path = REPLACE(request_path, '.html/', '/'); SQL Error (1062): Duplicate ...
1
vote
0answers
168 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
289 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
42 views

How do I remove the action of a menu.xml item?

Using Magento 2.2.5. I have an 3rd party extension admin menu item that should be a header, but has an action so is rendering as a link (which 404s). Is there a way to override the menu.xml item and ...
1
vote
0answers
27 views

Magento 2.2.5 - The price attribute and visibility attributes are not visible in admin panel product editing page

Magento 2.2.5- The price and visibility attributes of catalog_products are not visible while going to the product edit page. I want to update the price of the products. What could be the reason?
1
vote
2answers
59 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($) { $("...
1
vote
0answers
524 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::...
1
vote
1answer
34 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 ...
1
vote
1answer
183 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. ...
1
vote
0answers
41 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
1answer
86 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 ...
1
vote
0answers
106 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
21 views

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

In magento 1.9.3.9, we have 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
99 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
281 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 ...