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 set layered navigation filters position category wise in Magento 2?

      By default, Magento adjusts the attribute position when we create product attributes. But, systematically, the same position will get apply for all categories. So if we wanted to display attributes position differently for categories wise, then this article is your solution. First,…

      READ MORE
    • Magento 2.3.x Attributes options not created correctly programmatically

      If you want to create product attribute options programatically, but not by admin then this blog post is right the solution for you. You need to add below code in controller. Codes for 2.2.x & 2.3.x will be different. Code for Magento…

      READ MORE
    • Get layered navigation attributes list Magento 2

      Get all the attributes which are used in layered navigation in category & search page. You can get all the filterable attribute list from MagentoCatalogModelResourceModelProductAttributeCollectionFactory class. As a result, you will get that, all those attributes which have been used in Layered Navigation status are…

      READ MORE
    • The XML invalid Element indexer, attribute class: [facet ‘pattern’] The value in developer mode

      Please Follow Below steps to resolved such error of Digit Pattern : Making below changes on given files will help you to solve the error. File Path is : /vendor/magento/framework/Indexer/etc/indexer.xsd Do below change in line number 74: <xs:pattern value="[a-zA-Z\]+" /> to <xs:pattern value="[a-zA-Z0-9\]+" />…

      READ MORE
    • How to add some logic when product added from backend in Magento?

      We will achieve this functionality through EventObserver. Here, I have used the event which is called "controller_action_catalog_product_save_entity_after" Step 1: Create event.xml in /etc/adminhtml folder in your module. <?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="controller_action_catalog_product_save_entity_after"> <observer name="magemonkeys_saveproductlogic" instance="MagemonkeysSaveproductlogicObserverSaveProduct" /> </event> </config> Step 2:…

      READ MORE
    • Overriding MagentoCatalogModelLayer Model class in Magento 2

      To customize the layered navigation in Magento 2, sometimes, we need to override the core class file. Generally, we can use preference to override models, but it's not possible every time. So on that case, we need to use a different approach…

      READ MORE
    • Magento 2: Exclude group products in category page using plugin

      Magento 2: Exclude group products in list page using a plugin If you want to exclude group products in category page then follow below steps: 1. Put below code in your module di.xml file. <type name="MagentoCatalogModelLayer"> <plugin name="LayerPlugin" type="VendernameModulenamePluginLayer"/> </type> 2. The…

      READ MORE
    • How to make newsletter that brings you business?

      Drive more targeted customers to your site with our below mentioned 12 tips and increase your click-through rate. 1. When To Send Email Messages Keep regular contact with your customers by sending emails once a week. You have to test different frequencies…

      READ MORE
    • Magento 2 Sorting Attribute Option value in category filter programmatically

      Step 1) Override the Magento_LayeredNavigation/templates/layer/filter.phtml to your theme design directory Step 2) Add and Change in filter.phtml <?php $offsets = array(); $offsets1 = array(); $offsets2 = array(); $offsets3 = array(); foreach ($filterItems as $filters) { $checklable = $filters->getLabel(); if(preg_match("/[a-z]/i", $checklable)){ array_push($offsets1, $filters);…

      READ MORE
    • Are You Ready For 3D Secure 2.0?

      Recently there has been a significant impact on most payment processing (credit cards or bank transfers). The European Union revised a regulation known as the Payment Service Directive (PSD) with an updated version PSD2. Yet, many merchants do not understand what PSD2…

      READ MORE
    Recent Articles
    Get a Free Quote