Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the simple-custom-post-order domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/staging.wpify.io/web/wp/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/staging.wpify.io/web/wp/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce-subscriptions domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/staging.wpify.io/web/wp/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wpify-woo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/staging.wpify.io/web/wp/wp-includes/functions.php on line 6114
Počítání hodnoty košíku včetně / bez DPH – WPify

Dokumentace

Počítání hodnoty košíku včetně / bez DPH

Defaultně plugin počítá hodnotu košíku včetně DPH. Pokud tuto skutečnost chcete upravit, tak je v pluginu připraven následující filtr:

apply_filters( 'wpify_woo_conditional_shipping_cart_amount_include_tax', true )

Jednoduchým snippetem tak můžete změnit toto nastavení a říci, že chcete počítat s hodnotu bez DPH.

add_filter( 'wpify_woo_conditional_shipping_cart_amount_include_tax', function() { return false; } );

Tento snippet můžete vložit do funkcí vaší child šablony nebo pomocí pluginu Code Snippets.