From a36634dcb859f1c322bc85fac76194fef1d7e345 Mon Sep 17 00:00:00 2001 From: Yashua Date: Wed, 21 Mar 2018 20:50:39 -0700 Subject: [PATCH] Disable subs until finalized --- includes/class-wc-gateway-fastspring-builder.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/class-wc-gateway-fastspring-builder.php b/includes/class-wc-gateway-fastspring-builder.php index 1db4b2b..56991a1 100644 --- a/includes/class-wc-gateway-fastspring-builder.php +++ b/includes/class-wc-gateway-fastspring-builder.php @@ -42,7 +42,8 @@ public function get_cart_items() { $items = array(); - $has_subscription = class_exists('WC_Subscriptions_Product'); + // Disable for now + $has_subscription = false; //class_exists('WC_Subscriptions_Product'); foreach (WC()->cart->cart_contents as $cart_item_key => $values) {