Adds a Number of Shipping Related Action Calls

Adds a number of shipping related action calls to provide more hooks for
customizations
This commit is contained in:
Justin Stern 2012-03-24 13:00:59 -04:00
parent bdfdb074cd
commit 37efd18ffc
6 changed files with 14 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; ?>

View File

@ -46,4 +46,6 @@
<?php woocommerce_get_template('emails/email-addresses.php', array( 'order' => $order )); ?>
<?php do_action('woocommerce_email_after_addresses', $order); ?>
<?php do_action('woocommerce_email_footer'); ?>

View File

@ -46,4 +46,6 @@
<?php woocommerce_get_template('emails/email-addresses.php', array( 'order' => $order )); ?>
<?php do_action('woocommerce_email_after_addresses', $order); ?>
<?php do_action('woocommerce_email_footer'); ?>

View File

@ -50,4 +50,6 @@
<?php woocommerce_get_template('emails/email-addresses.php', array( 'order' => $order )); ?>
<?php do_action('woocommerce_email_after_addresses', $order); ?>
<?php do_action('woocommerce_email_footer'); ?>

View File

@ -46,4 +46,6 @@
<?php woocommerce_get_template('emails/email-addresses.php', array( 'order' => $order )); ?>
<?php do_action('woocommerce_email_after_addresses', $order); ?>
<?php do_action('woocommerce_email_footer'); ?>