shipping calculator. #6412
This commit is contained in:
parent
316b43f770
commit
ddc856880a
|
@ -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>
|
||||
|
|
|
@ -145,8 +145,6 @@ do_action( 'woocommerce_before_cart' ); ?>
|
|||
|
||||
<?php woocommerce_cart_totals(); ?>
|
||||
|
||||
<?php woocommerce_shipping_calculator(); ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php do_action( 'woocommerce_after_cart' ); ?>
|
||||
|
|
|
@ -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">
|
||||
|
||||
|
|
Loading…
Reference in New Issue