Add additional hook to grouped product add-to-cart template

This commit is contained in:
Lee Willis 2013-03-08 18:26:01 +00:00
parent bf8feefb6d
commit 7a8f87428c
1 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,8 @@ foreach ( $product->get_children() as $child_id ) {
?></label></td>
<?php do_action ( 'woocommerce_grouped_product_list_before_price', $child_product['product'] ); ?>
<td class="price"><?php echo $child_product['product']->get_price_html(); ?>
<?php echo apply_filters( 'woocommerce_stock_html', '<small class="stock '.$child_product['availability']['class'].'">'.$child_product['availability']['availability'].'</small>', $child_product['availability']['availability'] ); ?>
</td>