11 votes
Accepted

Magento 2.2.6 How to add TAB structure in admin UI component form

I found my problem, i used argument item <item name="template" xsi:type="string">templates/form/collapsible</item> it is used to display for collapsible structure. After remove this line ...
user avatar
  • 5,876
11 votes

Magento 2.2.6 Configurable Product How to Show Old Price and Special Price?

Found solution Here Copy final_price.phtml from Vendor/magento/module-configurable-product/view/base/templates/product/price/final_price.phtml to Vendor/theme/Magento_ConfigurableProduct/templates/...
user avatar
  • 5,666
11 votes

Magento2.2 - - Failed to read session data

Adding an answer for posterity as this was already correctly resolved in the comments by Anthony. When using Redis to store the session data, the Warning: session_start(): Failed to read session data ...
user avatar
  • 1,241
9 votes
Accepted

Magento 2.2.6 Cannot create a symlink for... after Update

I found a solution in the app/etc/di.xml file I have changed the following <virtualType name="developerMaterialization" type="Magento\Framework\App\View\Asset\MaterializationStrategy\Factory"> ...
user avatar
9 votes

Could not find a matching version of package magento/product-community-edition

These 2 things worked for me I needed to add the repository reference to my composer.json because it wasn't there "repositories": [ { "type": "composer", "url": "...
user avatar
9 votes
Accepted

Some very few images are rendered with inverted colors by Magento

This could be down to the image being in the CMYK colour space, Imagick can have issues when working with these images as it is unable to convert to RGB properly. You can either upload a ...
user avatar
  • 138
9 votes
Accepted

How can i use event before add to cart ? if it exists at all - Magento2

Yes, there is an event(checkout_cart_product_add_before) before adding the product into the cart but from the Magento 2.3.X please check this link for Magento 2.3.x But you are using Magento 2.2.6 ...
user avatar
  • 17.6k
8 votes
Accepted

Magento 2.2.6 - Attribute with ID "Manufacturer" does not exist

I ran into this problem as well. Possibly due to a module we installed, the attribute was created and deleted. What ended up working to run the upgrade, was to create the attribute in the database. ...
user avatar
8 votes

Deleting values from `_cl` tables

Main question: It's ok to delete these so long as you have other means to update the products not yet processed i.e. assuming you're going to manually ('update on save') or programmatically update ...
user avatar
7 votes
Accepted

Magento 2.2.5 to 2.2.6 upgrade error

We user varnish and redis cache on our server and had this same error. This is the procedure we followed for a successful upgrade. composer require magento/product-community-edition 2.2.6 --no-update ...
user avatar
  • 106
7 votes
Accepted

Disk space issue with Advanced Reporting after update from 2.2.3 to 2.2.6

I checked this issue again, seems like I was not the only one facing this. Problem seems to be fixed with this commit: https://github.com/magento/magento2/commit/...
user avatar
  • 382
7 votes

PHP Fatal error: Cannot redeclare __() (previously declared in /vendor/magento/framework/Phrase/__.php:15) in /app/functions.php on line 23

This is original content of app/functions.php file: <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /** * Create value-object \Magento\...
user avatar
7 votes
Accepted

Deleting values from `_cl` tables

The risk is minimal. You can restore all the data /consistency by the run of full indexation
user avatar
  • 20.3k
7 votes
Accepted

Breadcrumbs not showing the home and category names

In app/design/frontend/VendorTheme/ThemeName/Magento_Catalog/layout/catalog_product_view.xml <?xml version="1.0"?> <page> <body> <referenceBlock name="...
user avatar
  • 2,460
7 votes

Magento2.2 - - Failed to read session data

This issue can fixed by increase max_concurrency. It will relate to your traffic and server conditions. In my case i'm able to solved this problem by increase max_concurrency from 6 to 24 This is ...
user avatar
  • 113
6 votes
Accepted

How to add the MAGE_INDEXER_THREADS_COUNT environment variable to env.php?

You can try adding like 'MAGE_INDEXER_THREADS_COUNT'=>3 then the env.php will look something like following return [ 'backend' => [ 'frontName' => 'magento226administrator' ],...
user avatar
  • 8,648
6 votes

Unable to unserialize value? On customer edit?

I also came accross this error today, for me i discovered it was the Ebizmarts_MailChimp module that was causing the issue, you can disable the module entirely which corrected the issue or what i ...
user avatar
6 votes

Magento2: Need To change Purchase Order Payment Code

It would be great if you can create a custom payment method like a Purchase order rather than change payment method code. I have explained all the steps for creating a new offline custom payment ...
user avatar
6 votes
Accepted

Magento 2 : how to use TinyMCE v4 in Magento 2.2.6?

Have you seen this https://github.com/pavelleonidov/magento2-tinymce4 This should work. Only for Magento 2.1 and 2.2
user avatar
5 votes
Accepted

How to add custom css file in magento2.2.6?

You need to follow the below steps: Step 1: Create default_head_blocks.xml like below: app/design/frontend/[vendor]/[theme]/Magento_Theme/layout/default_head_blocks.xml Step 2: Andd create local....
user avatar
5 votes

How to add custom css file in magento2.2.6?

You have to add it in your current theme like this: app/design/frontend/{Yourtheme}/{name}/Magento_Theme/layout/default_head_blocks.xml <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
user avatar
  • 11.4k
5 votes

Magento 2 Override Product Canonical Url

I was trying to do the exactly same thing but I did it with another approach with Plugin. as you can see prepareAndRender method is public and it's calling the private method preparePageMetadata ...
user avatar
5 votes
Accepted

How to remove the cart link from homepage of magento 2?

You can do in your custom theme or in the custom module. Following code is from my custom module. app/code/Anshu/Custom/view/frontend/layout/cms_index_index.xml <?xml version="1.0"?> <page ...
user avatar
  • 8,648
5 votes
Accepted

M2 - Check if product has custom options

Try to use $isHasOptions = $product->getTypeInstance()->hasOptions($product);
user avatar
  • 1,263
5 votes

How to display order summary sidebar in shipping step of checkout page in magento 2?

UPDATED ANSWER As @badwi noted, the old answer started creating an error. Here is the new way to do it using magento best practices. This is tested as working in M2.3.6. I'm creating these files in my ...
user avatar
  • 298
5 votes
Accepted

UPS shipping error

Having the exact same issue on 2.1.5 and 2.1.17. Our last UPS order came through April 15th at 9pm. With no configuration change, it stopped working on April 16th. You can possibly fix it by ...
user avatar
4 votes
Accepted

How to add Slick in Magento 2?

You can create a '_module.less' file and then call your less files in it. Add your 'slick.less' and 'slick-theme.less' file under the following directory app/code/Vendor/Module/view/frontend/web/css/...
user avatar
  • 6,209
4 votes
Accepted

After upgrade magento 2.2.4 to 2.2.6 web setup wizard not display

I just got a solution from this link So I am describing what I supposed to be followed 1) First I followed @Rohan Hapani's solution like hiding below method /** * Removes 'Web Setup Wizard' from ...
user avatar
  • 1,539
4 votes

Can't upload product placeholder images in Magento 2

There is an issue in Magento v2.2.6 and v2.2.7 It has been fixed in the 2.2-develop branch, but hasn't been released yet. Here is the commit which fixes this issue. It is already fixed in the 2.3 ...
user avatar
  • 577
4 votes

How to increase/decrease space in thumbnail images on Product Page (catalog-product-view) Magento

Well I set in the the app/design/frontend/vendor/theme/etc/view.xml and easy you can set thumbmargin like this <?xml version="1.0"?> <view xmlns:xsi="http://www.w3.org/2001/...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible