Answer the question
In order to leave comments, you need to log in
woocommerce. How to remove the shipping method that is duplicated in the right column?
After updating woocommerce, a block appeared in the right column where delivery methods are indicated. This block is duplicated on the left. How to remove the block with the choice of delivery, which is on the right in the sidebar? If you just make display: none, then this is not correct and the choice of the method on the left works crookedly.
I found where to change the delivery method. In the cart-shipping.php
But template, this template draws output to both the left side and the sidebar.
On the left it looks like this:
<?php if (WC()->cart->needs_shipping() && WC()->cart->show_shipping()) : ?>
<?php do_action('woocommerce_review_order_before_shipping'); ?>
<?php wc_cart_totals_shipping_html(); ?>
<?php do_action('woocommerce_review_order_after_shipping'); ?>
<?php endif; ?>
<?php do_action('woocommerce_checkout_order_review'); ?>
Answer the question
In order to leave comments, you need to log in
remove shipping from this file total-cart.php
wc_cart_totals_shipping_html();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question