Warning: Undefined array key “name” in D:xampphtdocsmage2rockvendormagentomodule-catalogUiComponentListingColumnsProductActions.php on line 61 Exception in D:xampphtdocsmage2rockvendormagentoframeworkAppErrorHandler.php:62 when I add the products the categories then those products are not displaying in products page
Magento
I just switched from AWS x86 t2.small ubuntu to AWS ARM a1.medium/2GB and the performance is terrible compared to the t2. Running Magento Open source 2.4.6 Is there anything to be done to speed up this setup? Or do I have to do the painful switch back..
When I conclude the order to the checkout, the current order is always saved in the pending status. Also when I go to the success page of the order I go back the error 500. The same mistake is presented to me when I try to access the payments section […]
Magento 2.4.5-p1 version using. We want to give custom discount via our custom module Using this code – <?php namespace NamespceModulenameControllerAdminhtmlQuote; use MagentoBackendAppActionContext; use MagentoFrameworkControllerResultFactory; use MagentoQuoteApiDataShippingAssignmentInterface; use MagentoQuoteApiDataTotalItemInterface; use MagentoSalesRuleModelRuleFactory; use MagentoSalesRuleApiRuleRepositoryInterface; use MagentoQuoteModelQuoteAddressTotal; use MagentoFrameworkAppResourceConnection; use MagentoFrameworkDBTransactionFactory; class CustomFullDiscount extends MagentoBackendAppAction { private $jsonResultFactory; protected $magentoQuoteFactory; protected $ruleFactory; […]
I noticed for a while that although I could run the commands in my crontab just fine, they would not run from cron itself; when I looked at magento.cron.log, I found lines like this: Directory "var/locks/" cannot be created Warning!mkdir(): Permission denied I noticed that var/locks in my Magento installation […]
I made a seeder custom command in order to populate multiple models for my developemtn easyness: <?php namespace MageGuideFirstModuleConsoleCommand; use MageGuideFirstModuleModelBlogPost; use MageGuideFirstModuleModelResourceModelBlogPostResource; use SymfonyComponentConsoleCommandCommand; use SymfonyComponentConsoleHelperProgressBar; use SymfonyComponentConsoleInputInputInterface; use SymfonyComponentConsoleOutputOutputInterface; /** * Seed Multiple Blogposts with Skus */ class BlogpostSeeder extends Command { const BLOGPOSTS_NUM=10000; private BlogPostResource $resource; public […]
I currently want to delete products from a specific website in bulk, as it is a huge list of SKUs, so I want to do this via a CSV template, but I have not identified which field removes the check mark from the website I want to delete from. Below […]
I want to retrieve all customer orders’ except the ones that have a specific item (walle product) Currently, I get all orders that have the item and then filter them from orderCollection $orderItemCollection = $this->orderItemCollectionFactory->create(); $orderItemCollection->addFieldToFilter('sku', Data::WALLET_PRODUCT_SKU); $walletOrders = []; foreach ($orderItemCollection->getItems() as $orderItem) { $walletOrders[] = $orderItem->getOrderId(); } $orderCollection->addFieldToFilter('entity_id', […]
I have a module with BlockAdminhtml files and in one of those files it adds the Save button as follows: $this->buttonList->add( 'save_and_continue_edit', [ 'class' => 'save', 'label' => __('Save and Continue Edit'), 'data_attribute' => [ 'mage-init' => ['button' => ['event' => 'saveAndContinueEdit', 'target' => '#edit_form']], ] ], 10 ); I […]