<?php declare(strict_types=1); namespace ModuleCoordControllerIndex; class Index extends MagentoFrameworkAppActionAction { protected $resultPageFactory; /** * Constructor * * @param MagentoFrameworkAppActionContext $context * @param MagentoFrameworkViewResultPageFactory $resultPageFactory */ public function __construct( MagentoFrameworkAppActionContext $context, MagentoFrameworkViewResultPageFactory $resultPageFactory ) { $this->resultPageFactory = $resultPageFactory; parent::__construct($context); } /** * Execute view action * * @return MagentoFrameworkControllerResultInterface */ public function […]
Magento
Old Code: <?php /** * Copyright © All rights reserved. * See COPYING.txt for license details. */ namespace ModuleCoordCron; class GenerateShipping { protected PsrLogLoggerInterface $logger; /** * @var ModuleCoordModelShipmentGeneration */ private ModuleCoordModelShipmentGeneration $shipment; /** * Constructor * * @param PsrLogLoggerInterface $logger * @param ModuleCoordModelShipmentGeneration $shipmentGeneration */ public function __construct( PsrLogLoggerInterface […]
I am having grouped product on my projects When I go the category from the category bar it shows the correct stock status. but When I go with the catalog search it always shows the out of stock for the all products . Here is my template I checked when […]
Adobe has released security patches to address the “Cosmicsting” vulnerability. These patches are only available for the following versions: My question is: if I want to apply this patch on Magento Open Source 2.4.0, where can I find the official patch for that?
I’ve been trying to set config values both through config-global.php and using MagentoFrameworkAppConfigStorageWriterInterface but it appears this isn’t working. I’m aware of Issue #39230 on the Magento 2 github but I haven’t seen any workarounds posted for this issue and I’ve been struggling to figure out one myself. Anyone out […]
My composer file is below "name": "mymodule/module-shipping", "description": "Description of module", "type": "magento2-module", "version": "1.0.0", "license": [ "OSL-3.0" ], "require": { "php": ">=7.4", "magento/framework": "~100.0.4" }, "autoload": { "files": [ "registration.php" ], "psr-4": { "Mymodule\Shipping\": "" } } } My zip file name is mymodule_shipping1.0.0.zip Please help me. Thanks in […]
I’ve implemented a custom plugin to display additional custom fields in the sales order grid and its values, and it is functioning as expected. However, when applying a filter on the ‘Purchase Date,’ I encounter the following error: Integrity constraint violation: 1052 Column ‘created_at’ in where clause is ambiguous at […]
I am just trying to add a custom layout update to one category. When I click in this category on design->layout update xml there nothing happens and there is always “no update” to see. I tried in the main category as well – same issue. Does anyone know how to […]
Whenever we send off a newsletter with say 10+ links to specific products, our server ends up overloading and our website ends up going down for 5-10 minutes until the server comes back up. The newsletter/email blast is sent off to around 4000~ customers using godaddy. I reached out to […]