Compatibility with plugins
Add provided code to functions.php and update Settings. Calculation option "Use prices modified by other plugins" must be ON. System option "Suppress other pricing plugins in frontend" must be OFF.
//for cart items
add_filter( 'wdp_save_cart_item_keys', function ( $keys ) {
$keys[] = 'addons';
return $keys;
});
$wdp_get_product...
Tue, 21 Jan, 2020 at 2:51 PM
class WDP_WCEPO_Compatibility {
const KEY = 'theme_complete_epo';
const WDP_VERSION = '2.2.4';
const TARGET_VERSION = '4.9.6';
...
Tue, 28 Apr, 2020 at 6:06 PM
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* Plugin Name: WooCommerce Product Bundles
* Plugin URI: https...
Tue, 18 Aug, 2020 at 12:37 PM
add_filter( 'wdp_save_cart_item_keys', function ( $keys ) {
$keys[] = 'booking';
return $keys;
}, 10, 1 );
add_filter( "wdp_get_pr...
Fri, 6 Sep, 2019 at 3:57 PM
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* Plugin Name: WOOCS - WooCommerce Currency Switcher
* Plug...
Tue, 25 Feb, 2020 at 8:14 AM
add_filter( 'wdp_preloaded_list_user_roles', function ( $list ) {
$groups = array();
if ( function_exists( '_groups_get_tablename' ) ) {
...
Wed, 2 Oct, 2019 at 9:59 AM
add_filter( 'wdp_save_cart_item_keys', function ( $keys ) {
$keys[] = 'pricing_item_meta_data';
return $keys;
});
add_filter( "wd...
Fri, 6 Sep, 2019 at 4:01 PM
add_filter( 'wdp_save_cart_item_keys', function ( $keys ) {
$keys[] = 'giftcard_option';
return $keys;
});
add_filter( "wdp_get_pr...
Fri, 6 Sep, 2019 at 4:03 PM
add_filter( 'yith_wcpo_return_original_price', '__return_true' );
Fri, 6 Sep, 2019 at 4:04 PM
add_filter( 'wdp_get_product_price', function ( $price, $product, $price_mode, $item_meta ) {
if ( $product->is_on_sale( 'edit' ) ) {...
Fri, 6 Sep, 2019 at 4:05 PM