Magento 2

Magento 2.4.4 Admin not working after an Upgrade

Posted on

Well i know how frustrating it is to see the same admin login page after you click on “Sign In” button and instead of getting the admin dashboard you are served with the same login page without any errors. So this thing works for me as after upgrading to 2.4.4 i was not able to […]

 342 total views

Magento 2

SQLSTATE[HY000] [2002] No such file or directory (Frontend)

Posted on

Just fixed this issue that i was approached for. This relates to all magento 2 version below 2.4.0. Everything is working in cli. upgrade, compile and deployment codes are working. Only the frontend is showing Exception #0 (Zend_Db_Adapter_Exception): SQLSTATE[HY000] [2002] No such file or directory Exception #1 (PDOException): SQLSTATE[HY000] [2002] No such file or directory. Mysqld […]

 1,581 total views

Magento 2

Tinymce error in Magento 2.3

Posted on

So here are the things you need to know about Magento 2.3. Tinymce is not supported from Magento 2.3 onwards. You might have extensions that used to work in Magento 2.2 and Magento 2.1 but in Magento 2.3 now wysiwyg editor wont load stating tinymce error. So what can be done ?? Easy just find […]

 1,417 total views

Magento 2

Hide Flat Rate When Free Shipping Is Active In Magento 2

Posted on

Lets hide Flat Rate when free shipping method is active in magento 2. Assuming you know how to create a module in magento 2 we will just show you how to hide flat rate using plugin. app/code/Vendor/Cart/etc/di.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <type name=”Magento\OfflineShipping\Model\Carrier\Flatrate”> <plugin name=”disable-flatrate” type=”Vendor\Cart\Model\Carrier\Flatrate” sortOrder=”1″ /> </type> </config> app/code/Vendor/Cart/Model/Carrier/Flatrate.php <?php namespace DigitalAptech\Cart\Model\Carrier; […]

 1,523 total views

Magento 2

Add Custom menu collection in Magento 2

Posted on

What do we do if we want to show our own menu collection than the traditional list of menu that comes from adding categories ? Simple just make Plugin for that. Assuming you all know how to declare your modules i will skip that part. app/code/Vendor/Menu/etc/di.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <type name=”Magento\Theme\Block\Html\Topmenu”> <plugin name=”catalogTopmenu” […]

 4,410 total views

Magento 2

How to add custom tabs in Product Page in Magento 2

Posted on

In your theme add “catalog_product_view.xml” file path would be app/design/frontend/{{vendor}}/{{theme}}/Magento_Catalog/layout <?xml version=”1.0″?> <!– /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ –> <page layout=”1column” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <body> <referenceBlock name=”product.info.details”> <block class=”Magento\Catalog\Block\Product\View\Description” name=”product.use” as=”use” template=”product/view/use.phtml” group=”detailed_info”> <arguments> <argument translate=”true” name=”title” xsi:type=”string”>How to use</argument> <argument name=”sort_order” xsi:type=”string”>15</argument> </arguments> </block> […]

 455 total views

Magento 2

Simple Way To Make A Child Luma Theme In Magento 2

Posted on

Custom themes if you want to make of luma you can easily do in with the step given below: Just make the folder in app/design/Company/Theme1/ Inside the Theme1 folder create 3 files theme.xml,registration.php and composer.json theme.xml <theme xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:Config/etc/theme.xsd”> <title>Theme1</title> <parent>Magento/Luma</parent> <media> <preview_image>media/preview.jpg</preview_image>–> </media> </theme> registration.php <?php /** * Copyright © 2019 Magento. All rights […]

 599 total views