Incompatibility with 3rd party plugin
-
Hello, I’m writing you because I have an incompatibility problem with a 3rd party plugin (“YITH WOOCOMMERCE BULK PRODUCT EDITING”). I already wrote to YITH support, and they found a solution to let me use both of your plugins, which I need.
In particular on file “woocommerce-product-price-based-on-countries/woocommerce-product-price-based-on-countries.php” on line 157, instead of:
$is_ajax_admin = $is_ajax && isset( $_POST[‘action’] ) && in_array( $_POST[‘action’], array( ‘woocommerce_add_variation’, ‘woocommerce_load_variations’, ‘woocommerce_save_variations’, ‘woocommerce_bulk_edit_variations’, ‘inline-save’, ‘woocommerce_add_order_item’, ‘wcpbc_hide_notice’ ) );
I’d need this code:
$is_ajax_admin = $is_ajax && isset( $_POST[‘action’] ) && in_array( $_POST[‘action’], array( ‘woocommerce_add_variation’, ‘woocommerce_load_variations’, ‘woocommerce_save_variations’, ‘woocommerce_bulk_edit_variations’, ‘inline-save’, ‘woocommerce_add_order_item’, ‘wcpbc_hide_notice’, ‘yith_wcbep_bulk_edit_products’ ) );I would do that by myself, but of course on the next update I’ll miss this fix.
I’m asking you if you could edit it, I would really appreciate. Of course as a better alternative, if you add a filter in this section to let us edit those parameters with an action would be pretty super too!
Thanks for the attention, bye.
The topic ‘Incompatibility with 3rd party plugin’ is closed to new replies.