KB Tag: Magento 2 extension

  • Magento 2 reorder function – How does the enable or disable work for products?

    The reorder function in Magento 2 is not such a complicated or challenging thing in your Magento store. Many developers on the internet keep portraying that it needs a third-party extension to support and implement in Magento 2, don’t be fooled by the scammers; beware.  We at Webnexs want to peel off such a mask…

  • How to install Magento marketplace extension using command line?

    How to install Magento marketplace extension using command line?

    Have any idea on how to install the Magento marketplace extension with no time in hand? Is there any way to do so? Of course yes. So you spend all the day, sometimes even night, searching for the best Magento multi-vendor marketplace extension, digging many numbers of Magento developers’ product pages and finally finding your…

  • How Magento 2 multi-vendor marketplace split order works?

    Split Order – Basics Basically, In Magento multi-vendor marketplace extension, if a customer checks out, it creates a single order ID with all products. For instance, if the online purchase involves ten sellers, it will generate an order bulking all products and vendors. But the split order feature in the Magento marketplace has now been…

  • How to generate an event in Magento 2

    Here I will show you how to generate an event in your extension for Magento 2 This guide is very easy to do, so follow these simple steps The following examples: <?php .. $event_data_array  =  [‘cid’ => ‘123’]; $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $eventManager = $objectManager->create(‘\Magento\Framework\Event\Manager’); $this->_eventManager->dispatch(‘my_custom_event’, $event_data_array); .. ?> As you can observe it’s quite simple…

  • How to Find All Translation Labels from Magento 2 Extension PHP and JS Files

    Here are the following steps which help you to find all translation labels from Magento 2 extension PHP and JS files: Step 1: PHP files translate label configuration Step 2: JS files translate label configuration Step 3: Enable generator labels  PHP files translate label configuration We utilize default translate label structure of Magento 2. Example: …

  • Magento 2 SMTP Extension: Why Need it for your Email Campaign?

    In this post, I will explain you about the Magento 2 SMTP Extension Magento 2 SMTP aids to develop your email reputation which is essential for each email marketing campaign. In Magento 2, the default host’s default email server will use to send unsolicited emails, i.e. the reputation for this email is very low and…

  • How to Remove magento 2 extension from composer

    While using magento 2 we may reinstall the extension (launchset up/upgrade) hust erase the extension recording from the code_resources table In second magento address (or after cache refreshing) the extensions employ the entire file properly starting to 0 version. You may not get detailed information on how to remove magento 2 extension earlier installed on…

  • How to Get all Translation Labels from PHP and JS files of Magento 2 Extension

    To write a generator label function with XML file using: File directory: xampp/htdocs/translation/translatelabel.php The following steps are the shortest process for you to get all translation labels from PHP and JS files of Magento 2 Extension.   $searchExtensions = array(‘xml’, ‘xml’);   $strTranslateFunc = ‘title=’;   $arrItems = array();    $sourcePath = ‘your_folder_source’;    $di = new…

  • How to call a static block on CMS

    If you want to call a static block on CMS, Just follow these steps: Login to admin page->content->pages, we will choose and edit your CMS “homepage”. Go to tab design and insert the command and save CMS page: “Go to homepage”, you will see contact us info. While working on project, you may need to…