Web Analytics

Fill the form & Get Installation Support





    To achieve this, create a basic module and below code in InstallSchema.php file.

    Change the vendor namespace and module name as per your requirement.

    Create a Observer with catalog_product_save _before in adminhtml/events.xml

    Add Observer file and place the below code in it.

    Create a plugin with aroundGetProduyctCollection to remove the discontinue product from whole site. Please add the below code in that plugin.

     

    Fill the below form if you have any Magento programming need.





      Recent Articles

      Author Info

      Author Image

      Hire A. Patel

      Get a Free Quote





        Let our Magento expert connect to discuss your requirement.


          We offer Magento
          certified developers.

          Our Magento clientele
          is 500+.

          We sign NDA for the
          security of your projects.

          We’ve performed 100+
          Magento migration projects.

          Free quotation
          on your project.

          Three months warranty on
          code developed by us.