Merge pull request #654 from GeertDD/review_order_classes

Added classes to the table cells for order review
This commit is contained in:
Mike Jolley 2012-02-16 07:52:55 -08:00
commit 04d14e4658
1 changed files with 5 additions and 5 deletions

View File

@ -12,9 +12,9 @@ $available_methods = $woocommerce->shipping->get_available_shipping_methods();
<table class="shop_table"> <table class="shop_table">
<thead> <thead>
<tr> <tr>
<th><?php _e('Product', 'woocommerce'); ?></th> <th class="product-name"><?php _e('Product', 'woocommerce'); ?></th>
<th><?php _e('Qty', 'woocommerce'); ?></th> <th class="product-quantity"><?php _e('Qty', 'woocommerce'); ?></th>
<th><?php _e('Totals', 'woocommerce'); ?></th> <th class="product-subtotal"><?php _e('Totals', 'woocommerce'); ?></th>
</tr> </tr>
</thead> </thead>
<tfoot> <tfoot>
@ -180,8 +180,8 @@ $available_methods = $woocommerce->shipping->get_available_shipping_methods();
echo ' echo '
<tr> <tr>
<td class="product-name">'.$_product->get_title().$woocommerce->cart->get_item_data( $values ).'</td> <td class="product-name">'.$_product->get_title().$woocommerce->cart->get_item_data( $values ).'</td>
<td>'.$values['quantity'].'</td> <td class="product-quantity">'.$values['quantity'].'</td>
<td>' . $woocommerce->cart->get_product_subtotal( $_product, $values['quantity'] ) . '</td> <td class="product-subtotal">' . $woocommerce->cart->get_product_subtotal( $_product, $values['quantity'] ) . '</td>
</tr>'; </tr>';
endif; endif;
endforeach; endforeach;