Show the shipping calculator only in cart page

This commit is contained in:
Claudio Sanches 2014-12-10 15:40:18 -02:00
parent a5d70fa24c
commit 7450828304
1 changed files with 3 additions and 1 deletions

View File

@ -98,6 +98,8 @@ if ( ! defined( 'ABSPATH' ) ) {
?>
<?php endif; ?>
<?php woocommerce_shipping_calculator(); ?>
<?php if ( is_cart() ) : ?>
<?php woocommerce_shipping_calculator(); ?>
<?php endif; ?>
</td>
</tr>