diff --git a/templates/CRM/Event/Form/Registration/Register.tpl b/templates/CRM/Event/Form/Registration/Register.tpl index 8f15b2dfb2763d4d1a542334b8e588be8dc9a67a..cbe7aa564647c8bf3513b28847374de9cc173fe6 100644 --- a/templates/CRM/Event/Form/Registration/Register.tpl +++ b/templates/CRM/Event/Form/Registration/Register.tpl @@ -213,8 +213,15 @@ function skipPaymentMethod() { var symbol = '{/literal}{$currencySymbol}{literal}'; + var isMultiple = '{/literal}{$event.is_multiple_registrations}{literal}'; + + var flag = 1; + if (isMultiple && cj("#additional_participants").val()) { + flag = 0; + } + cj('#priceset input').change(function () { - if ((cj(this).attr('data-amount') == '0') || (cj('#pricevalue').text() == symbol + " 0.00" )) { + if (((cj(this).attr('data-amount') == '0') || (cj('#pricevalue').text() == symbol + " 0.00" )) && flag ) { cj(".payment_options-group").hide(); cj("div.payment_processor-section").hide(); cj("div#payment_information").hide();