Update templates/single-product/add-to-cart/variable.php

Variation options fixed as issues provided by ksemel. Woo Jin Koh
This commit is contained in:
superjinya 2012-10-15 11:01:42 +09:00
parent 596c408c27
commit 9554d3f253
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ global $woocommerce, $product, $post;
switch ( $orderby ) {
case 'name' :
$args = array( 'orderby' => 'name', 'order' => 'ASC', 'menu_order' => false );
$terms = get_terms( sanitize_title($name), array('menu_order' => 'ASC', 'hide_empty' => false) );
break;
case 'id' :
$args = array( 'orderby' => 'id', 'order' => 'ASC', 'menu_order' => false );