Merge pull request #12704 from macbookandrew/grouped-product-styles

add product id and class to grouped product rows
This commit is contained in:
Mike Jolley 2017-01-03 11:28:47 +00:00 committed by GitHub
commit 15aa5a2eff
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ do_action( 'woocommerce_before_add_to_cart_form' ); ?>
setup_postdata( $GLOBALS['post'] =& $post_object );
?>
<tr>
<tr id="product-<?php the_ID(); ?>" <?php post_class(); ?>>
<td>
<?php if ( $grouped_product->is_sold_individually() || ! $grouped_product->is_purchasable() ) : ?>
<?php woocommerce_template_loop_add_to_cart(); ?>