We sacrifice by not doing any other technology, so that you get the best of Magento.
We sacrifice by not doing any other technology, so that you get the best of Magento.
If you need to change default container max-width globally, just need to change like below: Add _variables.less file in your theme web/css/source folder and add below variable @layout__max-width: 1360px;
READ MORECreate config.xml in your custom module and add below code Vendor/Module/etc/config.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd"> <default> <csp> <mode> <storefront> <report_only>0</report_only> </storefront> <admin> <report_only>0</report_only> </admin> </mode> </csp> </default> </config> Add a domain to the whitelist Create csp_whitelist.xml in your custom module and…
READ MOREIf you want all products to have Use Default Value as CHECKED, then run below SQL in the database: DELETE FROM `catalog_product_entity_text` where store_id = 1; DELETE FROM `catalog_product_entity_datetime` where store_id = 1; DELETE FROM `catalog_product_entity_decimal` where store_id = 1; DELETE FROM…
READ MOREFollow below steps to install Using composer : - composer require --dev magento/magento-coding-standard - php bin magento setup:upgrade - php bin/magento cache:flush You are done with installations. Now, You can check Magento coding standard errors using the below command for Custom module…
READ MOREIn one of the Magento 2 project, we have added a load more button on the listing page. So whenever the user clicks on the load more button, the next page of products will be shown. You can use below on the…
READ MORETo achieve this, create a basic module and below code in InstallSchema.php file. Change the vendor namespace and module name as per your requirement. <?php namespace MagemonkeysDiscontinueSetup; use MagentoEavSetupEavSetup; use MagentoEavSetupEavSetupFactory; use MagentoFrameworkSetupInstallDataInterface; use MagentoFrameworkSetupModuleContextInterface; use MagentoFrameworkSetupModuleDataSetupInterface; class InstallData implements InstallDataInterface {…
READ MORETo leverage Magento platform benefits, Magento store owners regularly upgrade their stores in latest version. But, it's been observed that they faces some bugs in their eCommerce store after the upgradation process. Below are the reasons for same - Not installing Magento…
READ MOREIf you want to change the main price with a custom price attribute. You can use the below method 1. Create file di.xml on app/code/Magemonkeys/CustomPrice/etc/frontend <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <type name="MagentoCatalogModelProduct"> <plugin name="change_product" type="MagemonkeysCustomPricePluginModelProduct" sortOrder="1" /> </type> </config> 2. Create file…
READ MOREWe can create custom api for GraphQL. As per the app/code/ standard, our module name is Magemonkeys/Customgraphql We can create schema.graphqls file in module etc folder. Below is the code for that file. type Query { CustomGraphql ( username: String @doc(description: "Email…
READ MORECreate di.xml file your module and add the below code <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <type name="MagentoCustomerApiCustomerRepositoryInterface"> <plugin name="save_customer_group" type="VendorModulePluginMagentoCustomerApiCustomerRepositoryPlugin" /> </type> </config> Create plugin file under this directory Vendor/Module/Plugin/Magento/Customer/Api/CustomerRepositoryPlugin.php <?php namespace VendorModulePluginMagentoCustomerApi; use MagentoCustomerApiDataCustomerInterface; use MagentoCustomerApiCustomerRepositoryInterface; use MagentoFrameworkControllerResultFactory; use MagentoFrameworkUrlInterface; use…
READ MOREThe commercial vehicle components and spare parts industry has undergone...
The automotive aftermarket industry has undergone a massive transformation over...
The modern digital landscape has transformed how manufacturers, distributors, and...
The automotive parts and component industry has undergone a massive...
Understanding the Digital Transformation of the Industrial Supply Market The...