Fixed problem where not having checkout page top text in settings was masking checkou...
authorChuck Scott <cscott@gaslightmedia.com>
Mon, 10 Sep 2018 20:47:51 +0000 (16:47 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Mon, 10 Sep 2018 20:49:53 +0000 (16:49 -0400)
index.php
readme.txt
views/front/registrations/checkout.html

index 437738a..bd61992 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
  * Plugin Name: GLM Associate - Event Registrations Add-On
  * Plugin URI: http://www.gaslightmedia.com/
  * Description: Add-on to integrate registrations into Events add-on.
- * Version: 1.0.16
+ * Version: 1.0.17
  * Author: Gaslight Media
  * Author URI: http://www.gaslightmedia.com/
  * License: GPL2
@@ -17,7 +17,7 @@
  * @package glmMembersRegistrationsAddOn
  * @author Chuck Scott <cscott@gaslightmedia.com>
  * @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.0.16
+ * @version 1.0.17
  */
 
 // Check that we're being called by WordPress.
@@ -41,7 +41,7 @@ if (!defined('ABSPATH')) {
  *  so that we're sure the other add-ons see an up to date
  *  version from this plugin.
  */
-define('GLM_MEMBERS_REGISTRATIONS_PLUGIN_VERSION', '1.0.16');
+define('GLM_MEMBERS_REGISTRATIONS_PLUGIN_VERSION', '1.0.17');
 define('GLM_MEMBERS_REGISTRATIONS_PLUGIN_DB_VERSION', '1.0.1');
 
 // This is the minimum version of the GLM Members DB plugin require for this plugin.
index 6f26da4..3519ecb 100755 (executable)
@@ -25,6 +25,9 @@ e.g.
 1. Activate the plugin through the 'Plugins' menu in WordPress
 
 == Changelog ==
+= 1.0.17 =
+* Fixed checkout error messages not showing on checkout page if not checkout page top text provided in settings
+
 = 1.0.16 =
 * Fixed card expiration date changing when user fails at checkout page and checkout is redisplayed
 
index b0f289b..6214765 100755 (executable)
 {if $checkoutPageText}
     <div id="checkout-page-text" class="glm-row">
         <p>{$checkoutPageText}</p>
+    </div>
+{/if}
 
-    {if $haveMessages}
-        <div class="glm-registrations-messages glm-reg-warning" class="glm-row">
-            <i>Please Note:</i>
-            <ul>
-    {foreach $messages as $m}
-                <li>{$m}</li>
-    {/foreach}
-            </ul>
-        </div>
-    {/if}
-
-
+{if $haveMessages}
+    <div class="glm-registrations-messages glm-reg-warning" class="glm-row">
+        <i>Please Note:</i>
+        <ul>
+{foreach $messages as $m}
+            <li>{$m}</li>
+{/foreach}
+        </ul>
     </div>
 {/if}
 
+
 {if $haveCart}
 
     {if $settings.reg_not_submitted_dialog}