Skip to content

Delete product iamges and Add images programatically Issue

I have to import the product images by script for this I’m using below script but getting the error when save product. public function __construct( MagentoCatalogModelProductGalleryReadHandler $readHandler, MagentoCatalogModelProductGalleryProcessor $galleryProcessor, MagentoCatalogModelResourceModelProductGallery $productGallery ) { $this->readHandler = $readHandler; $this->galleryProcessor = $galleryProcessor; $this->productGallery… Read More »Delete product iamges and Add images programatically Issue

please help, im updating magento 2.3.5-p3 to 2.4.3 but im stuck in errors and erros here is one

[root@33 public_html]# composer update Do not run Composer as root/super user! See https://getcomposer.org/root for details Continue as root/super user [yes]? y Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of… Read More »please help, im updating magento 2.3.5-p3 to 2.4.3 but im stuck in errors and erros here is one

Undo remove css done in a parent theme

I have one theme that is removing a specific css file that is not needed for it. layout/default_head_blocks.xml <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <head> <remove src=”mage/calendar.css”/> </head> I now have a child theme that inherits the above theme. Is there a way… Read More »Undo remove css done in a parent theme

Magento 2 Backend admin config system error

I have found an issue on Magento 2.4.7 only in developer mode. error: 1 exception(s): Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: ‘Magento_MediaStorage::system/config/system/storage/media/synchronize.phtml’ in module: ‘Magento_MediaStorage’ block’s name: ‘systemconfigsystemstoragemediasynchronize_0’ Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: ‘Magento_MediaStorage::system/config/system/storage/media/synchronize.phtml’ in module: ‘Magento_MediaStorage’ block’s name:… Read More »Magento 2 Backend admin config system error