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

0
votes
0answers
70 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
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-...
0
votes
0answers
9 views

Magento 2 Display a message in checkout for reorder items?

How Can i write the code for display the message in checkout for reorder items? My Process is: In our Dashboard->My orders-> Click on reorder ,In this process i need display a message in checkout ...
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 ...
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
votes
0answers
16 views

Magento 2: Product Category pages with 1 column hide the sort and List/Grid selection menu

I have discovered an issue in Magento 2.2.5 that I cannot figure out how to resolve. When I change the product category custom design to be only 1 column then the products cover up the sort menu and ...
0
votes
0answers
51 views

Area code not set: Area code must be set before starting a session on deploy:set:mode production

I've spent many hours trying to solve the following issue. Some specs my server is running: Ubuntu 16.04 PHP 7.1 Magento 2.2.5 My issue is that when I try to switch from developer to production ...
0
votes
0answers
64 views

Magento 2 extending product form hide fieldset

I have extended product form functionality by using product_form.xml in the added fieldset. now I have to hide that fieldset on a particular condition, like on module disable. I know about the ...
0
votes
0answers
33 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 ...
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 ...
0
votes
1answer
87 views

catalog_category_product_index table empty (Magento 2.2.5)

Our indexer re-fills the table catalog_category_product_index_store1, but the table catalog_category_product_index remains empty. I have found this issue https://github.com/Smile-SA/elasticsuite/...
2
votes
1answer
179 views

Duplicate order confirmation emails when checking out with PayPal Express

We are having an issue with duplicate order confirmation emails being sent when customer's checkout with PayPal Express. We are using Magento 2.2.5 Here's what I've found so far, bare with me as I ...
0
votes
0answers
22 views

Want to show the Filtration in Home Page in Magento 2

How to include filters of Layered Navigation in the Home Page right side in Magento 2.2.5? How can I do this? In which file I have to change to show this or is there any code for this that will bring ...
0
votes
0answers
32 views

Pass array of data from email template to phtml in Magento 2.2.5

In magento 2.2.5, I need to pass data from mail template to phtml file. I did this using this link. But I cannot pass array of data in it. only text it is accepting. I am getting this error: Error ...
0
votes
1answer
30 views

Modified JS file not changing Magento 2 Backend paging grid

I'm currently attempting to change the "sizes.js" file using a child theme in adminhtml. This is with the "Commerce" version of Magento 2.2.5. As we have a large number of customers and orders. What ...
0
votes
0answers
41 views

Magento 2: Setting theme ID is not is not working by using config:set

I found xpath design/theme/theme_id in vendor/magento/framework/View/DesignInterface.php:28. I'm trying to set new ID and there is an error: magento config:set design/theme/theme_id 7 The "design/...
-1
votes
0answers
22 views

On change of country field how to load the shipping method in magento 2 Checkout page

On change of the shipping address how to load the shipping method in Magento 2.
0
votes
0answers
27 views

Configurable Product Add to Cart Issue

I have a configurable product with 4 associated product with it. When I go to configurable product and select a configurable option A and Add product to cart, product added in cart successfully. But ...
-1
votes
0answers
49 views

Sales order report showing orders price with current currency rate in sales order grid?

There are some screenshot regarding to my problem: My old currency rate and sales order report screenshots when I ordered the product given below- And when I updated the currency rate then orders ...
0
votes
1answer
20 views

Skipping the Shopping Cart

Is it possible to skip the Shopping Cart (i.e. /checkout/cart/)? So, there's natively 2-steps to buy something: View and Edit Cart > Checkout What I'd like to do is remove the View and Edit Cart ...
0
votes
1answer
103 views

Notice: unserialize(): Error at offset 0 of 94 bytes Magento 2.2.5 when update wishlist

I am getting an error {"0":"Notice: unserialize(): Error at offset 0 of 94 bytes in. \Model\Item.php When update wishlist from wishlist page. I am using Magento 2.2.5 I already try this solution and ...
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 ...
0
votes
0answers
31 views

Errors during compilation: Incompatible argument type

Errors during compilation: XXX\XXX\Controller\Adminhtml\Mirasvitblog\RelatedPostsGrid Incompatible argument type: Required type: \Magento\Framework\Registry. Actual type: \Magento\Store\Model\...
0
votes
1answer
32 views

Get the complete path product url

I'm using Magento EE 2.2.5 I need to get the product url of a product with its category path. Presently, I'm using the code $product_url = $product->getUrlInStore(); And also tried with $...
1
vote
1answer
89 views

Magento 2.2.5- SOAP-ERROR Parsing WSDL

Every time I run this script. I get an error. I placed this file in the root directory of my magento. soapexample.php: <?php error_reporting(E_ALL); ini_set('display_errors', 1); require('...
0
votes
1answer
54 views

magento2 remove the category id from url?

In magento2 click on category, that category url look like this www.example.com/catalog/category/view/s/hook-and-loop-brands/id/71/ how can i remove the category id and category path in url?
0
votes
1answer
10 views

Adding an attribute from a simple to Magento 2 configurable page

I’d like to be able to show an attribute from the selected simple on my configurable pages in M2.2.5 Using the example attribute with name of ‘serves’ Each simple has a value in serves e.g, 5 or 10-...
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 ...
1
vote
4answers
421 views

How to hide item from left menu from admin

Just want to hide 'MagePlaza' from left navigation, which make client confuse. I am trying to find simple and easy solution.
0
votes
0answers
29 views

Creating custom theme in Magento 2.2.5

I am using windows OS. I have configured grunt already. In Magento 2.2.5, I have created the custom theme called "cluster". I followed this turorial. While doing the setup-content:deploy i am getting ...
0
votes
0answers
76 views

magento2 static deploy killed or timesout

I keep getting Killed while trying to deploy static content after I migrated to the new host. It almost looks like it times out, deploy is very slow too. I have max_execution_time = 18000 which is ...
0
votes
1answer
19 views

How can we remove layered navigation filters view page source code in magento 2 category page?

How can we remove the filters applied in category page,ie: . It's appending the pipe with filter values in view page source as shown in below- <meta name="description" content=" | Price: $0.00 - $...
1
vote
2answers
37 views

Adding a Block between Menu and Breadcrumbs

Going a bit nuts trying to get my head around this. Debug mode doesn't help me. I'm trying to add a block just before the </header> on only Product Pages. I've created a phtml file with my ...
0
votes
0answers
17 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?
0
votes
1answer
18 views

I have an error pointing to this block class but i'm not sure what's wrong with it.. (magento 2.2.5)

A validation error occured in an XML layout file <block class="Magento\Cms\Block\Block" name="gbp_success_page-block"> <container name="gbp-fullwidth-hero-wrapper" as="heroWrapper" ...
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 ...
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,...
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 ...
0
votes
2answers
32 views

In Magento 2, How to use multiple dependencies for admin form

In Magento 2.2.5, I want to use the select and text fields. That fields should show based on the another select (dropdown) values. ie., if value 1 means, should show select field, if the value 2 ...
0
votes
0answers
29 views

Magento admin form select type dependency field

In Magento 2.2.5, I am trying to add dependency field for the admin form dropdown (select type) dependency field. I am followed this ref. It is working for text type field dependency. But not working ...
0
votes
0answers
35 views

Magento2 - fields not filled in checkout form after “Estimate shipping and tax”

I am facing an issue that user information such as country, state and pin-code are not showing pre-filled on checkout page if user if navigating after "Estimate shipping and tax" (cart page). Steps: ...
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 ...
0
votes
1answer
208 views

AddIndex in magento2

What is the use of index in table creation in magento2 ->addIndex($installer->getIdxName('blog_comment', ['parent_id']), ['parent_id']) Thanks
0
votes
0answers
38 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
16 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
27 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
49 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 ...
2
votes
1answer
42 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
41 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
115 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 ...