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.
In this guide, we are going to show you how to create a custom admin menu in Magento 2. The first step is to create a module. Let's give the module a name. Call it: Magemonkey_Newadminmenu Then, create registration.php file <?php MagentoFrameworkComponentComponentRegistrar::register(…
READ MOREIf you want to show product listing in a given order by its category in the Catalog Product List Widget? Then follow the below steps. Step 1: Create a file like ProductOrder/CatalogProList/etc/frontend/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"> <type name="MagentoCatalogWidgetBlockProductProductsList"> <plugin name="custom_widgets_product_list" type="ProductOrderCatalogProListPluginBlockProductProductsOrderList"/>…
READ MOREWe have two choices for achieving this functionality. One option is to directly add in topmenu.phtml by overriding a file in your theme. There are chances that it won't work if you have a third party mega menu extension. Another way is by using the plugin,…
READ MOREMagento2 has a built-in script for any kind of file download, we can use the below code for file downloads: <?php /** * Magemonkeys. * * @category Magemonkeys * * @author Magemonkeys * @copyright Copyright (c) 2020 Magemonkeys (https://magemonkeys.com/) */ namespace MagemonkeysDownloadControllerDownload;…
READ MOREIf you want to set clickable value in the Magento 2 Grid then please follow the below steps. I have made this type of functionality for my custom module. Step 1: Please add this code to your UI Listing XML. We have added bodyTmpl…
READ MOREIf you want to add css class for only nonanchor category, then you need to add below code in app/design/frontend/Isev/[your-theme]/Magento_Catalog/layout/catalog_category_view_type_default.xml <body> <attribute name="class" value="nonanchercat"/> </body>
READ MORECreate the block file in your module. <?php namespace MagemonkeyCategoryBlock; class Category extends MagentoFrameworkViewElementTemplate { public function __construct( MagentoFrameworkViewElementTemplateContext $context, MagentoCatalogApiCategoryRepositoryInterface $categoryRepository, array $data = [] ) { $this->categoryRepository = $categoryRepository; parent::__construct($context, $data); } /* $categoryId as category id */ public function…
READ MOREWhile you're working with the REST API in Magento you can retrieve the Rest Webapi Request Parameters. Magento has its own OOTB Webapi module that is dealing with Rest API functionality. Required Class, MagentoFrameworkWebapiRestRequest <?php namespace MagemonkeysRestParamsModel; use MagentoFrameworkWebapiRestRequest; class GetRestParam { /** * @var…
READ MOREBefore following the below steps you need to create the custom payment method module. Step 1) Create a template file - Magemonkey/Chargeanywhere/view/frontend/web/template/payment/chargeanywhere.html <!-- /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ --> <div class="payment-method"…
READ MOREStep 1) Create di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/ObjectManager/etc/config.xsd"> <type name="MagentoCheckoutModelDefaultConfigProvider"> <plugin name="AddAttPlug" type="[vendor][module]ModelPluginDefaultConfigProvider" /> </type> </config> Step 2) create plugin file DefaultConfigProvider.php class DefaultConfigProvider { /** *@var checkoutSession */ protected $checkoutSession; /** *Constructor * @param CheckoutSession $checkoutSession */ public function __construct(CheckoutSession…
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...