'payMethodsNumb' => $this->config['payment_method_numb'],
'misc' => $misc,
'checkoutPageText' => $misc['checkout_page_text'],
- 'globalTerms' => $misc['reg_terms']
+ 'globalTerms' => $misc['reg_terms'],
+ 'eventCustomFieldsUid' => GLM_MEMBERS_REGISTRATIONS_PLUGIN_SLUG.'-customfields-reg-event-edit-'
);
// echo "<pre>".print_r($templateData,1)."</pre>";
</div>
{/if} {* / total charges > 0 *}
</div>
+ {if apply_filters('glm-members-customfields-active', false)}
+ <div class="glm-reg-row">
+ <div class="glm-small-12 glm-columns">
+ <h4>Additional information we need to collect</h4>
+ {foreach $cart.events as $event}
+ <div class="glm-reg-row">
+ <div class="glm-large-12 glm-columns glm-reg-nowrap">
+ <h5>{$event.event_name}:</h5>
+ {apply_filters('glm-members-customfields-form-display', $eventCustomFieldsUid.{$event.id}, {$cart.id}, false)}
+
+ GLM_MEMBERS_REGISTRATIONS_PLUGIN_SLUG.'-customfields-reg-event-edit-'.$regEventID
+
+ </div>
+ </div>
+ {/foreach}
+ </div>
+ </div>
+ {/if}
<div class="glm-reg-row">
<div class="glm-small-12 glm-columns">
<div class="glm-reg-row">