Thanks for the info found on the above thead. It helped me lots. And I have it working.
However I do not understand how or why the sort on Price actually works.
As the id is set to _price ( "id" => "_price" ),
while support for 'custom-fields' is added,
and later the button link is simply <?php _e('Price','cleancut')?>.
How does one refer to the other? I don't understand where the connection is made. Is it simply sorting on the LAST custom field?
The reason I ask, is if you wanted to also add a Product ID Number ("_product_id"), how would the code know to sort on that field instead of the price field?
assuming that link would be ...
<?php _e('Product ID #','cleancut')?>.