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.
To do this programmatically, you need the collection function to get called in custom phtml file so that the product will be shown in the file. Let's say we have a module which is named "Magemonkeys_Recentlyview" For that module, we have to…
READ MORECreate a custom module and follow the below step. 1. Create file di.xml on app/code/Vendor/Module/etc <?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="MagentoOfflinePaymentsModelCashondelivery"> <plugin name="restrict_payment_on_shippingmethod" type="VendorModulePluginMethodList" disabled="false" sortOrder="10"/> </type> </config> 2. Create file MethodList.php on app/code/Vendor/Module/Plugin <?php namespace VendorModulePlugin; use MagentoPaymentModelMethodAbstractMethod; use MagentoQuoteModelQuote;…
READ MOREAlmost 2000 stores using the Magento eCommerce platform had been affected over the weekend. Security researchers claim this to be the “Largest Campaign Ever” they have observed to date since 2015. According to security experts, it was a typical Magecart scheme where…
READ MOREThe news is in the tech headlines that Magento stores are getting hacked. More than 4500 Magento stores have been hacked so far this month. We hope and wish that your store is safe till the date. But, it’s advisable to be…
READ MOREPlease follow the below steps if you want to disable add to cart for a particular customer group. Step 1: Create a plugin and define in Magemonkeys/Customerrestriction/etc/di.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <!-- Disable Add to Cart --> <type name="MagentoCatalogModelProduct"> <plugin name="IsSalablePluginAfter" type="MagemonkeysCustomerrestrictionPluginIsSalablePlugin"/> </type>…
READ MORECurrently, Magento allows you to use the Product related information to set as meta description in configuration settings but let's say if you wish to use short description, then? Well, while working on a project I faced the above situation and fixed it…
READ MORETo change the admin password from the database: Go to PhpMyAdmin and copy the following MySql query: UPDATE admin_user SET password = CONCAT(SHA2('XXXXXXNewPassWord', 256), ':XXXXXX:1') WHERE username = 'admin'; The XXXXXX is a cryptographic salt which is saved in the env.php file
READ MOREIf you want to change ordering of review tab in product detail page then follow below steps: Step 1. You need to override catalog_product_view.xml file in your theme [vendername]/[yourthemename]/Magento_Review/layout/ folder and paste the below code in between the body tag. <referenceBlock name="reviews.tab"> <arguments>…
READ MOREIf you want to remove the page title only on the home page, then follow the below institution. You need to override the cms_index_index.xml file in your theme app/design/frontend/themevender/themename/Magento_Cms/layout/cms_index_index.xml and paste the below code in between the body tag. <referenceContainer name="content-container"> <referenceBlock…
READ MOREIf you want to open a new window when you click on the button & use the empty layout in it then you have to follow the below steps. Step 1: Place a new button in the admin and you have to make…
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...