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

Posted

in

,

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *