Web Analytics

Fill the form & Get Installation Support





    You can’t set any image & color icon image in the Magento color dropdown attribute.

    If you want to set color images in the dropdown of the color attribute then follow below steps.

    Step 1: Override this file in your theme and replace with the below code.

    app/design/frontend/[VendorName]/[theme]/Magento_ConfigurableProduct/templates/product/view/type/options/configurable.phtml

    Step 2: Add below CSS in your style.css

    Step 3: Run below commands.

    That’s it.

    After making these changes, you can check your product detail page. You will see color images or icons in the color select boxes.

     

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





      Recent Articles

      Author Info

      Hire R. 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.