$87 GRAYBYTE WORDPRESS FILE MANAGER $86

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/assets/js/frontend/

HOME
Current File : /var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/assets/js/frontend//price-slider.js
/* global kkart_price_slider_params, accounting */
jQuery( function( $ ) {

	// kkart_price_slider_params is required to continue, ensure the object exists
	if ( typeof kkart_price_slider_params === 'undefined' ) {
		return false;
	}

	$( document.body ).bind( 'price_slider_create price_slider_slide', function( event, min, max ) {

		$( '.price_slider_amount span.from' ).html( accounting.formatMoney( min, {
			symbol:    kkart_price_slider_params.currency_format_symbol,
			decimal:   kkart_price_slider_params.currency_format_decimal_sep,
			thousand:  kkart_price_slider_params.currency_format_thousand_sep,
			precision: kkart_price_slider_params.currency_format_num_decimals,
			format:    kkart_price_slider_params.currency_format
		} ) );

		$( '.price_slider_amount span.to' ).html( accounting.formatMoney( max, {
			symbol:    kkart_price_slider_params.currency_format_symbol,
			decimal:   kkart_price_slider_params.currency_format_decimal_sep,
			thousand:  kkart_price_slider_params.currency_format_thousand_sep,
			precision: kkart_price_slider_params.currency_format_num_decimals,
			format:    kkart_price_slider_params.currency_format
		} ) );

		$( document.body ).trigger( 'price_slider_updated', [ min, max ] );
	});

	function init_price_filter() {
		$( 'input#min_price, input#max_price' ).hide();
		$( '.price_slider, .price_label' ).show();

		var min_price         = $( '.price_slider_amount #min_price' ).data( 'min' ),
			max_price         = $( '.price_slider_amount #max_price' ).data( 'max' ),
			step              = $( '.price_slider_amount' ).data( 'step' ) || 1,
			current_min_price = $( '.price_slider_amount #min_price' ).val(),
			current_max_price = $( '.price_slider_amount #max_price' ).val();

		$( '.price_slider:not(.ui-slider)' ).slider({
			range: true,
			animate: true,
			min: min_price,
			max: max_price,
			step: step,
			values: [ current_min_price, current_max_price ],
			create: function() {

				$( '.price_slider_amount #min_price' ).val( current_min_price );
				$( '.price_slider_amount #max_price' ).val( current_max_price );

				$( document.body ).trigger( 'price_slider_create', [ current_min_price, current_max_price ] );
			},
			slide: function( event, ui ) {

				$( 'input#min_price' ).val( ui.values[0] );
				$( 'input#max_price' ).val( ui.values[1] );

				$( document.body ).trigger( 'price_slider_slide', [ ui.values[0], ui.values[1] ] );
			},
			change: function( event, ui ) {

				$( document.body ).trigger( 'price_slider_change', [ ui.values[0], ui.values[1] ] );
			}
		});
	}

	init_price_filter();

	var hasSelectiveRefresh = (
		'undefined' !== typeof wp &&
		wp.customize &&
		wp.customize.selectiveRefresh &&
		wp.customize.widgetsPreview &&
		wp.customize.widgetsPreview.WidgetPartial
	);
	if ( hasSelectiveRefresh ) {
		wp.customize.selectiveRefresh.bind( 'partial-content-rendered', function() {
			init_price_filter();
		} );
	}
});


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Feb 2026 2.55 AM
root / root
0755
add-payment-method.js
1.054 KB
18 Feb 2026 11.32 PM
root / root
0644
add-payment-method.min.js
0.704 KB
18 Feb 2026 11.32 PM
root / root
0644
add-to-cart-variation.js
28.076 KB
18 Feb 2026 11.32 PM
root / root
0644
add-to-cart-variation.min.js
13.881 KB
18 Feb 2026 11.32 PM
root / root
0644
add-to-cart.js
5.685 KB
18 Feb 2026 11.32 PM
root / root
0644
add-to-cart.min.js
3.001 KB
18 Feb 2026 11.32 PM
root / root
0644
address-i18n.js
4.839 KB
18 Feb 2026 11.32 PM
root / root
0644
address-i18n.min.js
2.557 KB
18 Feb 2026 11.32 PM
root / root
0644
cart-fragments.js
5.574 KB
18 Feb 2026 11.32 PM
root / root
0644
cart-fragments.min.js
2.919 KB
18 Feb 2026 11.32 PM
root / root
0644
cart.js
15.25 KB
18 Feb 2026 11.32 PM
root / root
0644
cart.min.js
7.333 KB
18 Feb 2026 11.32 PM
root / root
0644
checkout.js
24.216 KB
18 Feb 2026 11.32 PM
root / root
0644
checkout.min.js
13.55 KB
18 Feb 2026 11.32 PM
root / root
0644
country-select.js
6.042 KB
18 Feb 2026 11.32 PM
root / root
0644
country-select.min.js
3.221 KB
18 Feb 2026 11.32 PM
root / root
0644
credit-card-form.js
0.598 KB
18 Feb 2026 11.32 PM
root / root
0644
credit-card-form.min.js
0.529 KB
18 Feb 2026 11.32 PM
root / root
0644
geolocation.js
2.499 KB
18 Feb 2026 11.32 PM
root / root
0644
geolocation.min.js
1.303 KB
18 Feb 2026 11.32 PM
root / root
0644
kkart.js
3.161 KB
18 Feb 2026 11.32 PM
root / root
0644
kkart.min.js
1.917 KB
18 Feb 2026 11.32 PM
root / root
0644
lost-password.js
0.155 KB
18 Feb 2026 11.32 PM
root / root
0644
lost-password.min.js
0.129 KB
18 Feb 2026 11.32 PM
root / root
0644
password-strength-meter.js
3.718 KB
18 Feb 2026 11.32 PM
root / root
0644
password-strength-meter.min.js
1.977 KB
18 Feb 2026 11.32 PM
root / root
0644
price-slider.js
2.854 KB
18 Feb 2026 11.32 PM
root / root
0644
price-slider.min.js
1.987 KB
18 Feb 2026 11.32 PM
root / root
0644
single-product.js
10.116 KB
18 Feb 2026 11.32 PM
root / root
0644
single-product.min.js
6.125 KB
18 Feb 2026 11.32 PM
root / root
0644
tokenization-form.js
3.725 KB
18 Feb 2026 11.32 PM
root / root
0644
tokenization-form.min.js
2.175 KB
18 Feb 2026 11.32 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF