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());});

September 24, 2019 · 1 min · Harshvardhan Malpani