woothemes/woocommerce — pull request #618 by GeertDD (2012-02-11 13:56:26+00:00)
Title: Don't show a select list if there's only a single shipping method to choose from.

Closes issue #605.

First I generated full labels (label name + price) for each shipping method. Then these labels are used in a loop to build a select list if multiple options are available. In case of a single option, the label is printed as plain text with a hidden input for the value.

All code uses WP coding standards.