From: Chuck Scott Date: Thu, 11 Jan 2018 22:09:26 +0000 (-0500) Subject: Removed test code from regCartSupport.php X-Git-Tag: v1.0.0^2~60 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=35733b253ff3ad88295d52d2333001e2f6d034e8;p=WP-Plugins%2Fglm-member-db-registrations.git Removed test code from regCartSupport.php --- diff --git a/classes/regCartSupport.php b/classes/regCartSupport.php index 4a48686..5a6a44c 100644 --- a/classes/regCartSupport.php +++ b/classes/regCartSupport.php @@ -667,13 +667,10 @@ class GlmRegCartSupport // Check for event payment code $this->cart['events'][$eventKey]['payCodes'] = array(); if ($this->cart['payCodes']) { -echo "1"; foreach ($this->cart['payCodes'] as $code) { -echo "2"; $thisDiscount = 0; if ($code['ref_type'] == $this->config['pay_code_ref_type_numb']['Event'] && $code['ref_dest'] == $event['reg_event']) { -echo "3"; switch ($code['code_type']) { case 'Free': $thisDiscount = $eventCharges; @@ -697,7 +694,7 @@ echo "3"; } } -echo "
".print_r($this->cart['events'][$eventKey]['payCodes'],1)."
"; + // Save totals for this event $this->cart['events'][$eventKey]['eventRegistrants'] = $eventRegistrants; $this->cart['events'][$eventKey]['eventCharges'] = $eventCharges;