• Resolved Ryan Zook

    (@zookcomputer)


    I’m using Woo Default Attributes 1.0.0 with WooCommerce 3.0.5, and the plugin is working as expected… except the attributes do not keep their custom sort order. When I create a new product, the attributes are present in Product Data as desired, but they are out of the preferred order. The order is not alphabetical or numeric, sometimes it’s almost reverse of what’s in the Woo Default Attributes Settings page… sometimes I can’t figure out what order it’s using. I can re-order them on the Settings page, but they are always rearranged on the new product’s attribute list, in a consistent but incorrect order.

    I tried sorting the list in both Chrome and Firefox with no differences.

Viewing 1 replies (of 1 total)
  • To fix this, edit the file class-wdat-admin.php, and find the line that says 'position' => "$1",.
    Change this line to 'position' => $i, and it works as expected!

Viewing 1 replies (of 1 total)
  • The topic ‘Default Attributes not sorted’ is closed to new replies.