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.
Magento 2.4 version have given feature to add table using declarative schema. Module name : Magemonkeys_Core We need to create db_schema.xml file in the app/code/Magemonkeys/Core/etc/ folder <?xml version="1.0" encoding="UTF-8"?> <schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd"> <table name="customtable" resource="default" engine="innodb" comment="Custom table"> <column xsi:type="smallint" name="id" unsigned="false" nullable="false" identity="true"…
READ MOREIf 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 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 MOREArtificial Intelligence has evolved from a competitive advantage into a...
Digital commerce has undergone a remarkable transformation over the last...
The Rise of AI in Shopify Ecommerce The ecommerce industry...
(more…)
The rapid advancement of artificial intelligence has transformed the digital...