indent
This commit is contained in:
parent
583741c442
commit
73a7a2d599
|
@ -285,7 +285,7 @@ if (!function_exists('woocommerce_simple_add_to_cart')) {
|
|||
if( $_product->get_price() === '') return;
|
||||
|
||||
if ($availability['availability']) :
|
||||
echo apply_filters( 'woocommerce_stock_html', '<p class="stock '.$availability['class'].'">'.$availability['availability'].'</p>', $availability['availability'] );
|
||||
echo apply_filters( 'woocommerce_stock_html', '<p class="stock '.$availability['class'].'">'.$availability['availability'].'</p>', $availability['availability'] );
|
||||
endif;
|
||||
|
||||
// Don't show cart if out of stock
|
||||
|
@ -338,8 +338,7 @@ if (!function_exists('woocommerce_grouped_add_to_cart')) {
|
|||
if ($child_product->is_visible()) echo '</a>';
|
||||
?></label></td>
|
||||
<td class="price"><?php echo $child_product->get_price_html(); ?>
|
||||
<?php echo apply_filters( 'woocommerce_stock_html',
|
||||
'<small class="stock '.$cavailability['class'].'">'.$cavailability['availability'].'</small>', $cavailability['availability'] ); ?>
|
||||
<?php echo apply_filters( 'woocommerce_stock_html', '<small class="stock '.$cavailability['class'].'">'.$cavailability['availability'].'</small>', $cavailability['availability'] ); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
|
|
Loading…
Reference in New Issue