10

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 of code is working fine. i think this error is occurred because we can not use tab structure and collapsible structure in single UI component form.


10

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/product/price/final_price.phtml change (around line 22) <?php if (!$block->isProductList() && $block->hasSpecialPrice()): ?> with <?php if (...


9

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 preconverted image, or trying patching in a way for Magento to deal with this issue with the use of setImageColourSpace and a nice little if around $image->...


8

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"> <arguments> <argument name="strategiesList" xsi:type="array"> <item name="view_preprocessed" xsi:type="object">Magento\...


8

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. With the following queries. INSERT INTO `eav_attribute` (`attribute_id`, `entity_type_id`, `attribute_code`, `attribute_model`, `backend_model`, `backend_type`, ...


7

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 composer update rm -rf var/di/* var/generation/* var/cache/* var/log/* var/page_cache/* redis-cli flushdb curl -X 'PURGE' -H'X-Magento-Tags-Pattern: .*' ...


7

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/8e1a5d342cbc63f58529b6c25be41c7d9a979a66 Some code has to be changed: $dirFiles = array_diff($dirFiles, ['..', '.']); instead of array_shift($dirFiles); /* remove './'*/ array_shift($...


7

The risk is minimal. You can restore all the data /consistency by the run of full indexation


7

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 these. If you are deleting ID's lower than the version in the view_state table then you're basically removing the entries from being processed next time the cron ...


7

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 version and in this version, this event does not exist so I would suggest you use a plugin feature of Magento. So in your case, you want to restrict adding the ...


7

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 error can be fixed by increasing the max_concurrency value.


6

You can try adding like 'MAGE_INDEXER_THREADS_COUNT'=>3 then the env.php will look something like following return [ 'backend' => [ 'frontName' => 'magento226administrator' ], 'crypt' => [ 'key' => '45625508600206a4c2d2f2bf406b23fb' ], 'db' => [ 'table_prefix' => '', 'connection' => ...


6

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 chose to do instead was rename the file /vendor/mailchimp/mc-magento2/view/adminhtml/layoutc/customer_index_edit.xml to customer_index_edit.xml.bak which ...


6

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\Framework\Phrase * @deprecated The global function __() is now loaded via Magento Framework, the below require is only * for backwards compatibility ...


6

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 method using a custom module same as Purchase Order. 1 Create Registration.php file app/code/{VendorName}/{ModuleName} <?php /** * Copyright © Magento, Inc. ...


6

In app/design/frontend/VendorTheme/ThemeName/Magento_Catalog/layout/catalog_product_view.xml <?xml version="1.0"?> <page> <body> <referenceBlock name="breadcrumbs" remove="true" /> <referenceContainer name="page.top"> <block class="XXX\Breadcrumbs\Block\Breadcrumbs&...


6

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


5

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": "https://repo.magento.com/" } ], I needed to rename my auth.json.sample to auth.json and add the public and private keys to the json. { "http-...


5

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-instance" xsi:noNamespaceSchemaLocation="../../../../../vendor/magento/framework/Module/etc/module.xsd"> <head> <css src="css/local.css" /> ...


5

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 There is no need to override the private method while we can create an after plugin for prepareAndRender and just modify the $resultPage config assets. In your ...


5

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 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <...


5

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 changing the gateway url to https rather than http So change http://www.ups.com/using/services/rave/qcostcgi.cgi to https://www.ups.com/using/services/rave/qcostcgi....


4

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.css like below app/design/frontend/[vendor]/[theme]/web/css/local.css Step 3: Add the below code to default_head_blocks.xml <?xml version="1.0"?> <...


4

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/source Now create '_module.less' file as given below app/code/Vendor/Module/view/frontend/web/css/source/_module.less @import 'slick.less'; @import 'slick-...


4

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 the menu if doc root is pub and no setup url variable is specified. * * @param Builder $subject * @param Menu $menu * @return Menu * @SuppressWarnings(PHPMD....


4

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 version, and will be released for the v2.2.8.


4

Try to use $isHasOptions = $product->getTypeInstance()->hasOptions($product);


4

Follow below path for check module Setup version and Module Version: Setup version: setup_version is your module’s database schema version. Go to the module.xml file in module and find "setup_version" File path: app/code/Namespace/Module/etc/module.xml setup_version="1.1.4" Module Version: version lists the version of the component. Go ...


4

To change the label for First Name to Volunteer First Name , Last Name and Street Address. Copy locale's csv file from /vendor/magento/module-checkout/i18n folder to app/code/Magento/module-checkout/i18n directory. And Add: "First Name","Volunteer First Name" "Last Name","Volunteer Last Name" "Street Address","Volunteer Street Address" After saving ...


4

Use a ViewModel to get session data into a view. https://www.yireo.com/blog/2017-08-12-viewmodels-in-magento-2 In your layout file: <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> ...


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