How to convert this list of options from radio buttons to a dropdown menu? Below is code pulled from the single-product.php template.
<div class="wcsatt-options-wrapper" <?php echo count( $options ) === 1 ? 'style="display:none;"' : '' ?>><?php
if ( $prompt ) {
echo $prompt;
} else {
?><h3><?php
_e( 'Choose a subscription plan:', WCS_ATT::TEXT_DOMAIN );
?></h3><?php
}
?><ul class="wcsatt-options-product"><?php
foreach ( $options as $option_id => $option ) {
?><li class="<?php echo $option_id !== '0' ? 'subscription-option' : 'one-time-option'; ?>">
<label>
<input type="radio" name="convert_to_sub_<?php echo $product->id; ?>" data-custom_data="<?php echo esc_attr( json_encode( $option[ 'data' ] ) ); ?>" value="<?php echo $option_id; ?>" <?php checked( $option[ 'selected' ], true, true ); ?> />
<?php echo $option[ 'description' ]; ?>
</label>
</li><?php
}
?></ul>