Skip to main content

Conflict with German Market Plugin

Written by the Divi Engine Documentation Team

Introduction

There is a common problem with the German community when using the German Market Plugin - the checkout not working well. Use the following to help fix this.

If using German Market by Marketpress:

Install the German market plugin and then go to BodyCommerce > Settings and enable the setting "Overwrite German Market Templates."

If using German Market Plugin:

1) Deactivate German Market Hooks

WooCommerce -> German Market -> Allgemein -> Bestellvorgang

Try deactivate the hooks here: "Deaktiviere German Market Hooks". If this does not work, go to step 2

2) Check if you have activated the "Check Order" page

WooCommerce -> German Market -> Allgemein -> Bestellvorgang -> Bestellung prüfen Seite

If this does not work, go to step 3 3) Code Snippet

Please add the following to your functions.php or use a plugin like Code Snippets

add_action( 'after_setup_theme', function() {
add_filter( 'german_market_add_woocommerce_de_templates_force_original', function( $return_original, $template_name ) {
if ( 'checkout/form-checkout.php' === $template_name ) {
$return_original = true;
}
return $return_original;
}, 10, 2 );
});