function edgtfInitSelect2() {
		var orderByDropDown = $('.woocommerce-ordering .orderby');
		if (orderByDropDown.length) {
			orderByDropDown.select2({
				minimumResultsForSearch: Infinity
			});
		}
		
		var variableProducts = $('.edgtf-woocommerce-page .edgtf-content .variations td.value select');
		if (variableProducts.length) {
			variableProducts.select2();
		}
		
		var shippingCountryCalc = $('#calc_shipping_country');
		if (shippingCountryCalc.length) {
			shippingCountryCalc.select2();
		}
		
		var shippingStateCalc = $('.cart-collaterals .shipping select#calc_shipping_state');
		if (shippingStateCalc.length) {
			shippingStateCalc.select2();
		}
	}
/*
    ** Init select2 script for select html dropdowns
    */
Init select2 script for select html dropdowns
Init select2 script for select html dropdowns
function edgtfInitSelect2() {
		var orderByDropDown = $('.woocommerce-ordering .orderby');
		if (orderByDropDown.length) {
			orderByDropDown.select2({
				minimumResultsForSearch: Infinity
			});
		}
		var variableProducts = $('.edgtf-woocommerce-page .edgtf-content .variations td.value select');
		if (variableProducts.length) {
			variableProducts.select2();
		}
		var shippingCountryCalc = $('#calc_shipping_country');
		if (shippingCountryCalc.length) {
			shippingCountryCalc.select2();
		}
		var shippingStateCalc = $('.cart-collaterals .shipping select#calc_shipping_state');
		if (shippingStateCalc.length) {
			shippingStateCalc.select2();
		}
	}
function edgtfInitSelect2 ( ) { var orderByDropDown = $ ( '.woocommerce-ordering .orderby' ) ; if ( orderByDropDown . length ) { orderByDropDown . select2 ( { minimumResultsForSearch : Infinity } ) ; } var variableProducts = $ ( '.edgtf-woocommerce-page .edgtf-content .variations td.value select' ) ; if ( variableProducts . length ) { variableProducts . select2 ( ) ; } var shippingCountryCalc = $ ( '#calc_shipping_country' ) ; if ( shippingCountryCalc . length ) { shippingCountryCalc . select2 ( ) ; } var shippingStateCalc = $ ( '.cart-collaterals .shipping select#calc_shipping_state' ) ; if ( shippingStateCalc . length ) { shippingStateCalc . select2 ( ) ; } }
Init select2 script for select html dropdowns
Init select2 script for select html dropdowns