From: Chuck Scott Date: Mon, 10 Sep 2018 20:47:51 +0000 (-0400) Subject: Fixed problem where not having checkout page top text in settings was masking checkou... X-Git-Tag: v1.0.22^2~19 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=400146415a7fdbba2bc2402cd2ab61b29ec80163;p=WP-Plugins%2Fglm-member-db-registrations.git Fixed problem where not having checkout page top text in settings was masking checkout error messages. --- diff --git a/index.php b/index.php index 437738a..bd61992 100755 --- 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 * @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. diff --git a/readme.txt b/readme.txt index 6f26da4..3519ecb 100755 --- a/readme.txt +++ b/readme.txt @@ -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 diff --git a/views/front/registrations/checkout.html b/views/front/registrations/checkout.html index b0f289b..6214765 100755 --- a/views/front/registrations/checkout.html +++ b/views/front/registrations/checkout.html @@ -16,22 +16,21 @@ {if $checkoutPageText}

{$checkoutPageText}

+
+{/if} - {if $haveMessages} -
- Please Note: -
    - {foreach $messages as $m} -
  • {$m}
  • - {/foreach} -
-
- {/if} - - +{if $haveMessages} +
+ Please Note: +
    +{foreach $messages as $m} +
  • {$m}
  • +{/foreach} +
{/if} + {if $haveCart} {if $settings.reg_not_submitted_dialog}