			var price_with_options_ajax_call = function() {
				$.ajax({
					type: 'POST',
					url: 'index.php?route=extension/module/live_options&product_id=1713',
					data: $('#content input[type=\'text\'], #content input[type=\'number\'], #content input[type=\'hidden\'], #content input[type=\'radio\']:checked, #content input[type=\'checkbox\']:checked, #content select, #content textarea'),
					dataType: 'json',
					beforeSend: function() {
						// you can add smth useful here
					},
					complete: function() {
						// you can add smth useful here
					},
					success: function(json) {
						if (json.success) {
							if ($('#content .price-tax-live').length > 0 && json.new_price.tax) {
								if (json.show_without_tax_first)
									animation_on_change_price_with_options('#content .price-tax-live', json.new_price.special);
								else
									animation_on_change_price_with_options('#content .price-tax-live', json.new_price.tax);	
							}
							if (json.show_without_tax_first)
								animation_on_change_price_with_options('#content .price-new-live', json.new_price.tax);
							else
								animation_on_change_price_with_options('#content .price-new-live', json.new_price.special);

							if (json.new_price.show_discount == 0 || json.new_price.special == json.new_price.price) {
								animation_on_change_price_with_options('#content .price-old-live', '');
							} else {
								if (json.show_without_tax_first)
									animation_on_change_price_with_options('#content .price-old-live', json.new_price.list_tax);
								else
									animation_on_change_price_with_options('#content .price-old-live', json.new_price.price);
							}
							// points
							if ($('#content .spend-points-live').length > 0 && json.new_price.points) {
								animation_on_change_price_with_options('#content .spend-points-live', json.new_price.points);
							}
							// reward
							if ($('#content .get-reward-live').length > 0 && json.new_price.reward) {
								animation_on_change_price_with_options('#content .get-reward-live', json.new_price.reward);
							}
							// discount
							if ($('#content .discount-live').length > 0 && json.new_price.discount) {
								animation_on_change_price_with_options('#content .discount-live', json.new_price.discount + '% OFF');
							}
							// stock_status							
							if ($('#content .stock-live').length > 0) {
								animation_on_change_status_with_options('#content .stock-live', json.stock_status, json.stock_color);
							}
		
							_cart_enabled = json.cart_enabled;
							if (_cart_enabled == false || json.can_buy == false) {
							    $('#button-cart').attr("disabled", true);
							} else {									    
							    $('#button-cart').attr("disabled", false);
							}				 							
						}
					},
					error: function(error) {
						console.log('error: ' + error.responseText);
					}
				});
			}
			
			var animation_on_change_price_with_options = function(selector_class_or_id, new_html_content) {
				$(selector_class_or_id).fadeOut(150, function() {
					$(this).html(new_html_content).fadeIn(50);
				});
			}

			var animation_on_change_status_with_options = function(selector_class_or_id, status, color) {
				$(selector_class_or_id).fadeOut(150, function() {
					$(this).html(status).fadeIn(50);					
					$(selector_class_or_id).css("color", color);
				});
				
			}

			if ($('#content input[name=\'quantity\']').val() > 0)
			{
				price_with_options_ajax_call();
			}

			if ( jQuery.isFunction(jQuery.fn.on) ) 
			{
				$(document).on('change', '#content input[type=\'text\'], #content input[type=\'number\'], #content input[type=\'hidden\'], #content input[type=\'radio\']:checked, #content input[type=\'checkbox\'], #content select, #content textarea, #content input[name=\'quantity\']', function () {
					
					price_with_options_ajax_call();
				});
				$(document).on('input', '#content input[type=\'text\'], #content input[type=\'number\'], #content input[name=\'quantity\']', function () {
					
					price_with_options_ajax_call();
				});
			} 
			else 
			{
				$('#content input[type=\'text\'], #content input[type=\'number\'], #content input[type=\'hidden\'], #content input[type=\'radio\']:checked, #content input[type=\'checkbox\'], #content select, #content textarea, #content input[name=\'quantity\']').live('change', function() {
					price_with_options_ajax_call();
				});
			}
			
			$(document).on('click', '#product-product .number-spinner a', function () {
				setTimeout(function() {
					price_with_options_ajax_call();
				}, 100);
			});

			// Support spinner_quantity
			if( $('#product-product .number-spinner button').length ){
				$(document).on('click', '#product-product .number-spinner button', function () {
					setTimeout(function() {
						price_with_options_ajax_call();
					}, 100);
				});
			}
			// Support bt_claudine
			if( $('.increase').length || $('.decrease').length ){
				$(document).on('click', '.increase', function () {
					setTimeout(function() {
						price_with_options_ajax_call();
					}, 100);
				});
				$(document).on('click', '.decrease', function () {
					setTimeout(function() {
						price_with_options_ajax_call();
					}, 100);
				});
			}
			// Support Pav theme
			if( $('.quantity-adder .add-action').length ){
				$(".quantity-adder .add-action").bind( "mouseup touchend", function(e){
					setTimeout(function() {
						price_with_options_ajax_call();
					}, 100);
				});
			}
			// Support vitalia
			if( $('#q_up').length || $('#q_down').length ){
				$('#q_up,#q_down').click(function(){
					setTimeout(function() {
						price_with_options_ajax_call();
					}, 100);
				});
			}
			// Support journal2
			if( $('.qty .journal-stepper').length ){
				$(".qty .journal-stepper").bind( "mouseup touchend", function(e){
					setTimeout(function() {
						price_with_options_ajax_call();
					}, 100);
				});
			}