Download Expiry support for variations

Fixes Issue #1471
This commit is contained in:
Nirav Mehta 2012-09-04 16:54:38 +05:30
parent e19505c6ab
commit 30475c31af
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ function variable_product_type_options() {
if ($attribute['is_taxonomy']) :
$post_terms = wp_get_post_terms( $post->ID, $attribute['name'] );
foreach ($post_terms as $term) :
echo '<option '.selected($variation_selected_value, $term->slug, false).' value="'.$term->slug.'">' . apply_filters( 'woocommerce_variation_option_name', $term->name ) . '</option>';
echo '<option '.selected($variation_selected_value, $term->slug, false).' value="'.$term->slug.'">'.$term->name.'</option>';
endforeach;
else :
$options = explode('|', $attribute['value']);