function update

This commit is contained in:
magepeopleteam 2023-10-05 07:09:17 +00:00
parent be6f616520
commit 3999003e9a
1 changed files with 2 additions and 1 deletions

View File

@ -796,7 +796,7 @@ function mep_beta_disable_add_to_cart_if_product_is_in_cart($is_purchasable, $pr
}
}
if(!defined('PAYPLUG_GATEWAY_VERSION')){
if(!class_exists('WC_Xendit_CC')){
if(!class_exists( 'PaysonCheckout_For_WooCommerce' )){
if(!class_exists( 'RP_SUB' )){
@ -812,6 +812,7 @@ function mep_beta_disable_add_to_cart_if_product_is_in_cart($is_purchasable, $pr
}
}
}
}
} // end of check post type