Bulk Add Custom Attribute Options in Magento 1

$jq=new jQuery.noConflict();
var mimim=["Yellow Topaz",
"Alexandrite"];
$jq.each(mimim,function(a,b){
$jq("#add_new_option_button").click();
$jq("#matage-options-panel .dynamic-grid tbody tr:nth-child(2) td:nth-child(1) input").val(b);
});

Posted

in

,

by

Comments

Leave a Reply

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