I am adding some custom value in my tax amount after select country by using sales_quote_address_collect_totals_after even, everything is working fine but after complete the online payment my paid amount increase by this custom tax value means grand total and paid amount is different, paid amount is more than grand […]
Magento2
We (almost) always use UPS for our shipments, so it would be nice for that to be the default dropdown menu option that is selected when we go into an order, click ship, and go to add tracking information. The current default is ‘Custom Value’. How/where in the code would […]
What is the role and necessity of Redis, Varnish, and Elasticsearch in a Magento 2 setup? Are these components required only in a server environment, or are they also needed in a local development environment?
Which Integrated Development Environment (IDE) is widely recommended for coding and development in Magento2? What are the key features and advantages of the suggested IDE in relation to Magento development? Are there any specific considerations or extensions/plugins that enhance the Magento development experience?
Is this my Installdata.php file <?php namespace AutosmartCategoryAttributesSetup; use MagentoCatalogModelCategory; use MagentoCatalogModelCategoryAttributeBackendImage; use MagentoCatalogModelCategoryAttributeSourceMode; use MagentoCatalogModelResourceModelEavAttribute; use MagentoEavModelEntityAttributeScopedAttributeInterface; use MagentoEavSetupEavSetup; use MagentoEavSetupEavSetupFactory; use MagentoFrameworkSetupInstallDataInterface; use MagentoFrameworkSetupModuleContextInterface; use MagentoFrameworkSetupModuleDataSetupInterface; class InstallData implements InstallDataInterface { private $eavSetupFactory; public function __construct(EavSetupFactory $eavSetupFactory) { $this->eavSetupFactory = $eavSetupFactory; } public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) […]
I’m looking to understand the inventory management features in Magento 2. Can someone explain the different inventory options available in Magento 2 and how they can be utilized? Specifically, I’d like to know about the following: Stock management: How does Magento 2 handle stock management? Can it handle multiple warehouses […]
I would like to understand the difference between the bin/magento c:f and bin/magento c:c commands used for cache management in Magento 2. Although they both serve the purpose of clearing the cache, I would like to know their specific functionalities and when it is appropriate to use each command. What […]
I’m new to Magento 2 and I’m trying to understand the purpose and appropriate usage of some important commands. Specifically, I would like to know more about the following commands: bin/magento setup:upgrade bin/magento setup:di:compile bin/magento static:content:deploy -f What are the specific functionalities and benefits of these commands in a Magento […]
Request: query { categories { items { name } } } Error Response: { "errors": [ { "debugMessage": "There is no attribute class assigned to field categoryList", "message": "Internal server error", "extensions": { "category": "internal" }, "locations": [ { "line": 2, "column": 3 } ], "path": [ "categories" ] } […]