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.
I have encountered that in Magento 2.2.6 "Clear Shopping Cart" button is not working on cart page. I have found out that in vendor/magento/module-checkout/view/frontend/templates/cart/form.phtml -line 27, Magento Team seems missed to put a dot for the 'action' classname. <table id="shopping-cart-table" class="cart items…
READ MOREIn Magento, there is no setting to change Magento's backend logo. For that, first, you need to create a custom admin theme and then change the logo. Steps are listed below: app/code/[VendorName]/[ModuleName]/registration.php MagentoFrameworkComponentComponentRegistrar::register( MagentoFrameworkComponentComponentRegistrar::MODULE, '[VendorName]_[ModuleName]', __DIR__ ); app/code/[VendorName]/[ModuleName]/etc/module.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module…
READ MOREFirst of all, we have to create a module for adding custom category attribute. Step 1. Create a new module. We should let Magento know about our new module. The initial configuration file is located at 'app/etc/modules/Namespace_Modulename.xml'. Namespace_Modulename.xml <?xml version="1.0"?> <config> <modules> <Namespace_Modulename> <active>true</active>…
READ MOREMagento automatically removes items from the shopping cart page which are out of stock. What happens if the product goes out of stock and that product is already in other customer’s cart who have not yet checked it out? With this script, Magento…
READ MOREIn this tutorial, we will talk about how to Install/Uninstall Sample Data via Command Line . As you know, Magento 2 have many commands in bin/magento folder. But it may be difficult to get approach with this, so let me explain about it in more…
READ MOREIn this tutorial, we will talk about How to Add Admin User via Command Line. As you know, from Magento 2, they add many commands in bin/magento. It may be difficult to get approach with this, so let me explain about 'How to Add…
READ MOREYour controller rewrite XML part should look like this: <frontend> <routers> <contacts> <args> <modules> <Namespace_Modulename before="Mage_Contacts">Namespace_Modulename</Namespace_Modulename> </modules> </args> </contacts> </routers> </frontend> As you can see instead of using <contactsmodule> node we are here using <contacts> node. <contacts> is the router node which…
READ MOREAre you wondering, how to show CMS Static Block in Magento 2? Here, you will find effective instruction about this topic. Call from Phtml File: echo $this->getLayout() ->createBlock('MagentoCmsBlockBlock') ->setBlockId('your_block_identifier') ->toHtml(); Call from CMS page or block: {{block class="MagentoCmsBlockBlock" block_id="your_block_identifier"}} Call from XML File: <referenceContainer name="content">…
READ MORETo override Magento 2 Helper file, follow below steps. First, you need to create a di.xml file at below desired location. Go to Vendor/Extension/etc/di.xml And add the following code into di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="MagentoBundleHelperData" type="VendorExtensionHelperBundle"/> </config> Next step is to create bundle.php file at…
READ MOREHere we are discussing how to create and call custom popup using Magento 2's Popup Modal Library. You should create a module first, then after create a requirejs-config.js file at app/code/CustomVendor/CustomModule/view/frontend/ var config = { paths: { 'myjs': "CustomVendor_CustomModule/js/customfile" }, shim: { 'myjs': {…
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...