bheyde
1/5/2016 - 6:11 PM

Booc Payment Loop

<div class="row form-row">
							<mvt:foreach array="paymentmethods" iterator="method">
								<mvt:if expr="miva_array_elements(g.unique_payment_modules) EQ 1">
									<mvt:if expr="pos1 EQ 1">
										<input type="hidden" name="PaymentMethod" value="&mvte:method:module;:&mvte:method:code;" />
									</mvt:if>
								<mvt:else>
									<div class="column whole">
										<mvt:if expr="(l.settings:method:module EQ 'check') OR (l.settings:method:module EQ 'cod') OR (l.settings:method:module EQ 'customercredit')">
											<label class="input--medium font--medium shipping-selection-form__label shipping-selection-form__payment-method" data-hook="shipping-selection-form__payment-method">
												<input type="radio" name="PaymentMethod" value="&mvte:method:module;:&mvte:method:code;"> &mvt:method:name;
											</label>
										<mvt:elseif expr="l.settings:method:module NE 'check' AND l.settings:method:module NE 'cod' AND l.settings:method:module NE 'customercredit' AND NOT('pal' CIN l.settings:method:code)">
											<label class="input--medium font--medium shipping-selection-form__label shipping-selection-form__payment-method" data-hook="shipping-selection-form__payment-method">
												<input type="radio" name="PaymentMethod" value="&mvte:method:module;:&mvte:method:code;"> Credit Card
											</label>
											<mvt:foreachstop />
										</mvt:if>
									</div>
								</mvt:if>
							</mvt:foreach>
						</div>