includes/arcavis-transaction.php
## This function use to add voucher field in checkout form. 
This function use to add voucher field in checkout form.
This function use to add voucher field in checkout form .
function customise_checkout_field($checkout){
		global $wc_arcavis_shop;
		woocommerce_form_field('arcavis_voucher', array(
			'type' => 'text',
			'class' => array(
				'my-field-class form-row-wide'
			) ,
			'label' => __($wc_arcavis_shop->text_entervoucher) ,
			'placeholder' => __($wc_arcavis_shop->text_entervoucherplaceholder) ,
			'required' => false,
		) , $checkout->get_value('arcavis_voucher'));
		echo '<div id="user_link_hidden_checkout_field">
           		 <input type="hidden" class="input-hidden" name="arcavis_applied_voucher" id="arcavis_applied_voucher" value="">
    		  </div>';
	}
function customise_checkout_field ( $ checkout ) { global $ wc_arcavis_shop ; woocommerce_form_field ( 'arcavis_voucher' , array ( 'type' => 'text' , 'class' => array ( 'my-field-class form-row-wide' ) , 'label' => __ ( $ wc_arcavis_shop -> text_entervoucher ) , 'placeholder' => __ ( $ wc_arcavis_shop -> text_entervoucherplaceholder ) , 'required' => false , ) , $ checkout -> get_value ( 'arcavis_voucher' ) ) ; echo '<div id="user_link_hidden_checkout_field">
           		 <input type="hidden" class="input-hidden" name="arcavis_applied_voucher" id="arcavis_applied_voucher" value="">
    		  </div>' ; }
This function use to add voucher field in checkout form.
This function use to add voucher field in checkout form .