Skip to content

magento man

Hostpoco Support

Dear All, Ask for help, maybe there are friends who know Hostpoco support. On Monday, May 20, 2024, my whm account as a Hostpoco reseller… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1919379&goto=newpost

how to get dependency graphs – problems in generated code

I am trying to look at dependency graphs by setting MAGE_PROFILER=2, as explained here. When I do, I get an error like Fatal error: Declaration of MagentoFrameworkInterceptionConfigCacheManagerLogger::load(string $key) must be compatible with MagentoFrameworkInterceptionConfigCacheManager::load(string $key): ?array in /var/www/html/generated/code/Magento/Framework/Interception/Config/CacheManager/Logger.php on line 69… Read More »how to get dependency graphs – problems in generated code

How to remove parent theme handle from child theme programmatically?

Parent theme (theme design directory path) app/design/frontend/Jigar/basetheme/Magento_Customer/layout/customer_account_create.xml Here is the sample code : <?xml version=”1.0″?> <!– /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ –> <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <update handle=”customheader” /> <body>… Read More »How to remove parent theme handle from child theme programmatically?

Show Related products in the popup modal

I am using this code to show the modal when product add to cart /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ define([ ‘jquery’, ‘mage/translate’, ‘underscore’, ‘Magento_Catalog/js/product/view/product-ids-resolver’, ‘Magento_Catalog/js/product/view/product-info-resolver’, ‘jquery-ui-modules/widget’ ], function ($,… Read More »Show Related products in the popup modal

Magento 2.4.7 3rd party scrpit is not working on checkout page

Error Screenshot: https://prnt.sc/evsXGmA4rOdW <?php $googlehelper = $this->helper(‘ModuleExtensionHelperData’); $isenabled = $googlehelper->isEnabled(); if($isenabled) : $lanselected = $googlehelper->SelectLanguage(); $layoutselected = $googlehelper->SelectLayout(); $bashlanguage = substr($googlehelper->BashLanguage(), 0, 2); $layouthtml = ‘layout: google.translate.TranslateElement.InlineLayout.’.$layoutselected; ?> <div id=”google_translate_element” style=”float: left;”></div> <?php $scriptString = <<<script function googleTranslateElementInit() { new… Read More »Magento 2.4.7 3rd party scrpit is not working on checkout page