I need to get orders data directly from database. I have got all orders (about 18,000) since January 2020. I need to do a join to customer_entity however, I realized that about 300 records were missing. By investigating further, I found out that customer_id value is null for most of […]
Magento1
Now my customer directly login after click confirm the email, i want if customer click the confirmation mail after need to login.
I have a requirement to prevent a user from adding a product when a certain condition is not met. I created a beforeAddProduct plugin. At the beginning of the plugin i have this code: if(!$condition){ throw new LocalizedException(__('You can't add this product to cart')); } Of-course this plugin will be […]
I have migrated magento 2.3.6 version to 2.4.2-p1. But in product listing page I am getting below error. Exception #0 (DomainException): Undefined factory elasticsearch7 Can someone help me for this. Thanks in advance.
I am trying to change the search bar input width when it expands on hover. <div class="search-wrapper"> <div class="search-content block block-search" id="search-content"> <a class="search-icon" title="<?php /* @escapeNotVerified */ echo __('Search'); ?>" href="javascript:void(0);"><span><?php /* @escapeNotVerified */ echo __('Search'); ?></span></a> <div class="search-form-container" <?php /*data-mage-init='{"dropdownDialog":{ "appendTo":"#search-content", "triggerEvent":"hover", "triggerTarget":".search-icon", "closeOnMouseLeave": true, "triggerClass":"active", "parentClass":"active", "buttons":null}}'*/ […]
I would like to move the Images and Videos section under the General section. I have tried with uiComponent and Modifier Pool. These Both methods are Magento’s default method for modification product edit form. I have also tried to move the section from the admin product attribute set setting to […]
I am creating a custom API endpoint for returning the filters for a particular search term. I tried following the “Magento GraphQL’s approach” and used MagentoCatalogGraphQlModelResolverLayerFiltersProvider::getFilters(MagentoCatalogModelLayerResolver::CATALOG_LAYER_SEARCH) but the problem is that it is returning ALL the filters with all their options instead of only the ones with products in them. […]
The situation: When trying to create an order from within the admin, I can’t add any products, the following error message comes up ‘Product that you are trying to add is not available’. It doesn’t matter the product, all of them raises the same error. Weirdest thing is, the process […]
While creating orders in admin backend, is there any way to exempt tax? I’ve searched through the docs and many tax extension around, but there are only ways to configure tax exemption for “customer group”, “product group” or … there is no way to set tax free for a specific […]