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 print log with new custom file in Magento 2?

      If you want to print your code log in the custom log file, then use the below mention code to print the log in the custom log file. $StringVar = 'Magemonkeys'; $ArrayVar = array('Magemonkeys', 'Abbacus'); $writer = new ZendLogWriterStream(BP . '/var/log/CustomFileName.log'); $logger…

      READ MORE
    • Is your Magento store in safe hands?

      Magento is not any new or naive technology. It's an advanced level technology that has complex to code, but a powerful result-oriented eCommerce solution. If you're having an eCommerce store with Magento 1 or 2, then it's always recommended to get your…

      READ MORE
    • Is your eCommerce store optimized performance wise?

      eCommerce world is changing day-by-day. eStores are adopting the latest trends & technologies.  Some of your competitors are having an edge over your business because they are leveraging technological benefits & improving the performance of their stores. Performance optimization is nothing but…

      READ MORE
    • Magento 2: Show message on every page using message manager

      Display the new message and clear the previous messages on every page using Message Manager. Create the event.xml in 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:Event/etc/events.xsd"> <event name="layout_render_before"> <observer name="success_message" instance="VendorModuleObserverMessageObserver" shared="false" /> </event> </config> Create the…

      READ MORE
    • Magento 2 – How to programmatically check user is subscribed for newsletter or not?

      Use Factory, MagentoNewsletterModelSubscriberFactory Using isSubscribed() method. You can check the user is a subscriber to the newsletter or not. <?php namespace MagemonkeySubscriberModel; use MagentoFrameworkExceptionLocalizedException; use MagentoNewsletterModelSubscriberFactory; class IsSubscribed { /** * @var SubscriberFactory */ private $subscriberFactory; /** * @param SubscriberFactory $subscriberFactory */…

      READ MORE
    • add extra field to newsletter subscription module magento2

      The newsletter subscription module in Magento has only one field (email) by default. If you want to add  an extra field to the form (like the name), perform the following steps: Magemonkeys/Newsletter/registration.php <?php MagentoFrameworkComponentComponentRegistrar::register( MagentoFrameworkComponentComponentRegistrar::MODULE, 'Magemonkeys_Newsletter', __DIR__ ); Magemonkeys/Newsletter/etc/module.xml <?xml version="1.0"?> <config…

      READ MORE
    • How to get all the products including out of stock products?

      Let's say if you need to get all the products through the collection with out-of-stock products and send it in JSON format then what will you do? Step 1: Create a front controller GetProducts.php file <?php namespace MagemonkeysCustomInventoryControllerInventory; use MagentoFrameworkAppActionContext; use MagemonkeysCustomInventoryHelperData;…

      READ MORE
    • When you should change your Magento development team?

      Your eCommerce site is the main key to your business. It plays a major role in business revenue. In fact, many businesses have completely shifted from bricks to clicks model. So we can say that the eCommerce site is the most sensitive element in…

      READ MORE
    • Magento 2: How to check customer email id exist or not?

      You can check the email id for a specific website by using the below code. <?php namespace VendorModuelModel; use MagentoCustomerApiAccountManagementInterface; use MagentoStoreModelStoreManagerInterface; class EmailExist { /** * @var AccountManagementInterface */ protected $customerManagement; /** * @var StoreManagerInterface */ protected $storeManager; /** * Data…

      READ MORE
    • How to show special character in minicart in magento 2?

      You may have face this problem where sometimes you failed to show special character(s) in mini-cart in product name. But what shall one do when he/she has to show special characters like single quote, double quote in product title in minicart. Well,…

      READ MORE
    Recent Articles
    Get a Free Quote