Skip to content

magento man

How to troubleshoot an issue where customers fill in different Shipping and Billing addresses but it comes through as same address on the order?

Magento 2.4.2-p1 Smartwave Porto theme 13 Amasty extensions I have the Calendar extension from Amasty as well as other Amasty extensions including One-Step-Checkout (this one is currently disabled but still installed), Shipping Area, Shipping restrictions and Shipping rules. I have… Read More »How to troubleshoot an issue where customers fill in different Shipping and Billing addresses but it comes through as same address on the order?

getting “URL key for specified store already exists.” error when trying to apply data patch to update a cms page

I am trying to update a cms page through a data patch but, the patch is not applying. I get this error below Unable to apply data patch VendorModuleSetupPatchDataCreateRegistryPage for module vendor_module. Original exception message: URL key for specified store… Read More »getting “URL key for specified store already exists.” error when trying to apply data patch to update a cms page

Deprecated Functionality: preg_replace(): Passing null to parameter

I have an issue; 1 exception(s): Exception #0 (Exception): Deprecated Functionality: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Statement.php on line 222 $_helper = $this->helper(‘MagentoCatalogHelperOutput’); $_imagehelper = $this->helper(‘MagentoCatalogHelperImage’); $_product = $block->getProduct(); $specs = $_product->getAttributeText(‘specifications’);… Read More »Deprecated Functionality: preg_replace(): Passing null to parameter

How to override magentoframeworkviewpageconfig.php file in magento 2 for removing htmlentites in page source code

I want to override the magentoframeworkviewpageconfig.php file setMetadata($name, $content) method to remove the htmlentites in meta description when we are viewing the page source code. For that i did following code di.xml file: <preference for=”vendormagentoframeworkViewPageConfig” type=”LogoImporterFrameworkViewPageConfig” /> LogoImporterFrameworkViewPageConfig.php file: <?php… Read More »How to override magentoframeworkviewpageconfig.php file in magento 2 for removing htmlentites in page source code