Convert dropdown attribute to text swatch in Magento2 Admin Panel Run the following code in console: $=new jQuery.noConflict(); $("#swatch-text-options-panel tr td:nth-child(4) input").each(function (e,el) { $(this).parent().parent().find("td:nth-child(3) input").val($(this).val());}); Author: Harshvardhan Malpani PHP Developer based in New Delhi, India. Working as a freelance web developer providing server deployment, website development and maintenance services. View all posts by Harshvardhan Malpani