Skip to content

Instantly share code, notes, and snippets.

@twern
Created May 15, 2017 07:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save twern/b83166236c3d866049da3c27e902cd6b to your computer and use it in GitHub Desktop.
Save twern/b83166236c3d866049da3c27e902cd6b to your computer and use it in GitHub Desktop.
German Market - Filter Ladezeiten Variationen - Steuern + Lieferzeit
// Fixed long page load
// @author MarketPress
// Please, increase your PHP Memory Limit
add_filter( 'woocommerce_de_variations_have_the_same_tax_string', 'my_woocommerce_de_variations_have_the_same_tax_string' );
function my_woocommerce_de_variations_have_the_same_tax_string( $string ) {
return 'Inkl. MwSt.';
}
add_filter( 'woocommerce_de_avoid_check_same_delivery_time_show_parent', '__return_true' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment