shipping calculator. #6412

This commit is contained in:
James Koster 2014-12-09 16:20:43 +00:00
parent 316b43f770
commit ddc856880a
3 changed files with 4 additions and 4 deletions

View File

@ -97,5 +97,7 @@ if ( ! defined( 'ABSPATH' ) ) {
echo '<p class="woocommerce-shipping-contents"><small>' . __( 'Shipping', 'woocommerce' ) . ': ' . implode( ', ', $product_names ) . '</small></p>';
?>
<?php endif; ?>
<?php woocommerce_shipping_calculator(); ?>
</td>
</tr>

View File

@ -145,8 +145,6 @@ do_action( 'woocommerce_before_cart' ); ?>
<?php woocommerce_cart_totals(); ?>
<?php woocommerce_shipping_calculator(); ?>
</div>
<?php do_action( 'woocommerce_after_cart' ); ?>

View File

@ -19,9 +19,9 @@ if ( get_option( 'woocommerce_enable_shipping_calc' ) === 'no' || ! WC()->cart->
<?php do_action( 'woocommerce_before_shipping_calculator' ); ?>
<form class="shipping_calculator" action="<?php echo esc_url( WC()->cart->get_cart_url() ); ?>" method="post">
<form class="woocommerce-shipping-calculator" action="<?php echo esc_url( WC()->cart->get_cart_url() ); ?>" method="post">
<h2><a href="#" class="shipping-calculator-button"><?php _e( 'Calculate Shipping', 'woocommerce' ); ?></a></h2>
<p><a href="#" class="shipping-calculator-button"><?php _e( 'Calculate Shipping', 'woocommerce' ); ?></a></p>
<section class="shipping-calculator-form">