Merge pull request #878 from foxrunsoftware/master

Adds a Few Shipping Related Action Hooks
This commit is contained in:
Mike Jolley 2012-03-26 08:17:22 -07:00
commit f99353a861
2 changed files with 6 additions and 0 deletions

View File

@ -236,6 +236,8 @@ function woocommerce_order_data_meta_box($post) {
endforeach;
echo '</div>';
do_action('woocommerce_admin_order_data_after_shipping_address');
?>
</div>
</div>

View File

@ -35,6 +35,8 @@ $available_methods = $woocommerce->shipping->get_available_shipping_methods();
<?php if ($woocommerce->cart->needs_shipping()) : ?>
<?php do_action('woocommerce_review_order_before_shipping'); ?>
<tr class="shipping">
<th colspan="2"><?php _e('Shipping', 'woocommerce'); ?></th>
<td>
@ -96,6 +98,8 @@ $available_methods = $woocommerce->shipping->get_available_shipping_methods();
?></td>
</tr>
<?php do_action('woocommerce_review_order_after_shipping'); ?>
<?php endif; ?>