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.
class WDP_and_WCUMCS_compatibility {
private $currency_func;
public function __construct() {
$this->init_hooks();
}
public function init_hooks() {
...
Fri, 6 Sep, 2019 at 4:06 PM
function wdp_get_all_memberships_levels() {
global $wpdb;
$levels = array();
if ( isset( $wpdb->pmpro_membership_levels ) ) {
$levels = $wpdb-&...
Fri, 6 Sep, 2019 at 4:07 PM
// One Item discount fix
add_action( 'wdp_before_apply_to_wc_cart', function ( $wdp_cart, $wc_cart ) {
remove_filter( 'woocommerce_cart_item_p...
Fri, 6 Sep, 2019 at 4:08 PM
class WDP_WOOSB_Compatibility {
const KEY = 'wpclever_woosb';
const WDP_VERSION = '2.2.4';
const TARGET_VERSION = '3.8.3';
publ...
Fri, 13 Dec, 2019 at 4:26 PM
<?php
add_filter( 'wdp_save_cart_item_keys', function ( $keys ) {
return array_merge( $keys, array(
'_booking_price',
'_bo...
Fri, 6 Sep, 2019 at 4:12 PM
This plugin adds extra hooks add_action('woocommerce_add_to_cart', 'woo_ml_proceed_to_checkout'); add_action('woocommerce_cart_item_re...
Fri, 4 Oct, 2019 at 2:04 PM
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* Plugin Name: Flexible Product Fields
* Plugin URI: https:/...
Fri, 13 Dec, 2019 at 4:29 PM
add_filter( 'wdp_price_display_html', function ( $price_html, $wdp_product ) {
if ( ! $wdp_product->are_rules_applied() ) {
...
Fri, 13 Dec, 2019 at 4:36 PM
$wdp_get_product_any_price = function ( $price, $product, $item_meta ) {
if ( isset( $item_meta['nyp'] ) ) {
$price = floatval( $item_m...
Tue, 21 Jan, 2020 at 2:49 PM
class WDP_WCCP_Compatibility {
const KEY = 'some_where_warm_wccp';
const WDP_VERSION = '2.2.4';
const TARGET_VERSION = '5.1.4'...
Tue, 24 Mar, 2020 at 1:00 PM