Merge pull request #878 from foxrunsoftware/master
Adds a Few Shipping Related Action Hooks
This commit is contained in:
commit
f99353a861
|
@ -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>
|
||||
|
|
|
@ -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; ?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue