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.

    • How to get recently view product collection in Magento 2?

      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 MORE
    • Magento 2 – How to hide cash on delivery payment method?

      Create 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 MORE
    • Many Magento 1.X online stores hacked in the largest campaign to date

      Almost 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 MORE
    • Magento attack – it’s ongoing – Is your store secure?

      The 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 MORE
    • Disable add to cart for particular customer group

      Please 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 MORE
    • Magento 2 product meta description override – how to use short description instead of product’s information?

      Currently, 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 MORE
    • How to change Magento 2 admin password from database?

      To 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 MORE
    • Magento 2: Change review tab ordering in product detail page

      If 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 MORE
    • Magento 2: Remove page title only on home page

      If 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 MORE
    • Open a new window and use the empty layout in admin magento 2 using controller

      If 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 MORE
    Recent Articles
    Get a Free Quote