TripleD1963
Forum Replies Created
-
Thank you @riaanknoetze, Solved.
Hi Hannah,
I have now solved it with a piece of code:// For customer Order received, Order view and email notifications by Dino
add_filter( ‘woocommerce_get_formatted_order_total’, ‘hide_iternational_order_tax_label’, 20, 4 );
function hide_iternational_order_tax_label( $formatted_total, $order, $tax_display, $display_refunded ) {// For international orders we display only the total, not the taxes line below
if( ‘DE’ != $order->get_billing_country() ){
$tax_string = ”; // <=== nulling the tax string
$order_total = $order->get_total();
$formatted_total = wc_price( $order_total, array( ‘currency’ => $order->get_currency() ) );
$total_refunded = $order->get_total_refunded();if ( $total_refunded && $display_refunded ) {
$formatted_total = ‘‘ . strip_tags( $formatted_total ) . ‘‘ . wc_price( $order_total – $total_refunded, array( ‘currency’ => $order->get_currency() ) ) . $tax_string . ‘‘;
} else {
$formatted_total .= $tax_string;
}
}
return $formatted_total;
}I just have to find out what the separator is so that I can add the other European countries in addition to DE = Germany.
Nice that you responded so quickly ??
- This reply was modified 4 years, 1 month ago by TripleD1963.
Forum: Plugins
In reply to: [WooCommerce] Hide Checkout incl. VAT for Non-EU customersOkay . . . how good of you, thanks for your quick response @wizlet130 !!
- This reply was modified 4 years, 2 months ago by TripleD1963.
Forum: Plugins
In reply to: [WooCommerce] Hide Checkout incl. VAT for Non-EU customersHardly dare to ask, have you been able to solve it?
I have exactly the same problem ?? Thanks in advance!Forum: Fixing WordPress
In reply to: Sitemap: product_cat-sitemap.xml HTTP fault 404Thank you James!
Forum: Fixing WordPress
In reply to: An old URL cause to be a 404yes it should sit at the back but can not find it except a draft template ( 1 ) but does not show up. Thanks you so much for your advice!!
Forum: Fixing WordPress
In reply to: An old URL cause to be a 404Thank you very much. Okay I understand now. How do I prevent than ca. 50 daily crawl messages?
Forum: Fixing WordPress
In reply to: An old URL cause to be a 404how to remove the error
Forum: Fixing WordPress
In reply to: An old URL cause to be a 404Hello Peter, Uhhhh ?? and the error?