Warning: SessionHandler::read(): open(/var/cpanel/php/sessions/ea-php70/sess_3ji2l2pku8ccvqlgd52n0ed773, O_RDWR) failed: Disk quota exceeded (122) in /home/sevgins/public_html/system/library/session/native.php on line 17

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/sevgins/public_html/system/library/session/native.php:17) in /home/sevgins/public_html/system/library/session.php on line 30

Warning: fopen(/home/sevgins/public_html/system/storage/cache/cache.installed_markets.1763873712): failed to open stream: Disk quota exceeded in /home/sevgins/public_html/system/library/cache/file.php on line 49

Warning: flock() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 51

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 53

Warning: fflush() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 55

Warning: flock() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 57

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 59

Warning: Cannot modify header information - headers already sent by (output started at /home/sevgins/public_html/system/library/session/native.php:17) in /home/sevgins/public_html/system/library/session.php on line 50

Warning: fopen(/home/sevgins/public_html/system/storage/cache/cache.language.1763873712): failed to open stream: Disk quota exceeded in /home/sevgins/public_html/system/library/cache/file.php on line 49

Warning: flock() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 51

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 53

Warning: fflush() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 55

Warning: flock() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 57

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 59

Warning: Cannot modify header information - headers already sent by (output started at /home/sevgins/public_html/system/library/session/native.php:17) in /home/sevgins/public_html/catalog/controller/startup/startup.php on line 91

Warning: fopen(/home/sevgins/public_html/system/storage/cache/cache.currency.1763873712): failed to open stream: Disk quota exceeded in /home/sevgins/public_html/system/library/cache/file.php on line 49

Warning: flock() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 51

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 53

Warning: fflush() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 55

Warning: flock() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 57

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 59

Warning: Cannot modify header information - headers already sent by (output started at /home/sevgins/public_html/system/library/session/native.php:17) in /home/sevgins/public_html/catalog/controller/startup/startup.php on line 173

Notice: Undefined index: geoplugin_request in /home/sevgins/public_html/system/library/geoip.php on line 138

Notice: Undefined index: geoplugin_countryCode in /home/sevgins/public_html/system/library/geoip.php on line 139

Notice: Undefined index: geoplugin_countryName in /home/sevgins/public_html/system/library/geoip.php on line 140

Notice: Undefined index: geoplugin_city in /home/sevgins/public_html/system/library/geoip.php on line 141

Warning: fopen(/home/sevgins/public_html/system/storage/cache/cache.installed_markets.1763873712): failed to open stream: Disk quota exceeded in /home/sevgins/public_html/system/library/cache/file.php on line 49

Warning: flock() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 51

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 53

Warning: fflush() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 55

Warning: flock() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 57

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/sevgins/public_html/system/library/cache/file.php on line 59
var price_with_options_ajax_call = function() { $.ajax({ type: 'POST', url: 'index.php?route=product/live_options/index&product_id=5', data: $('#productPage input[type=\'text\'], #productPage input[type=\'number\'], #productPage input[type=\'hidden\'], #productPage input[type=\'radio\']:checked, #productPage input[type=\'checkbox\']:checked, #productPage select, #productPage 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 ($('#productPage .price-tax').length > 0 && json.new_price.tax) { animation_on_change_price_with_options('#productPage .price-tax', json.new_price.tax); }*/ if ($('#productPage .price-new').length > 0 && json.new_price.special) { animation_on_change_price_with_options('#productPage .price-new', json.new_price.special); } if ($('#productPage .price-regular').length > 0 && json.new_price.price) { animation_on_change_price_with_options('#productPage .price-regular', json.new_price.price); } if ($('#productPage #customerDiscountPrice').length > 0 && json.new_price.customerDiscount) { animation_on_change_price_with_options('#productPage #customerDiscountPrice', json.new_price.customerDiscount); } /* points*/ if ($('#productPage .spend-points').length > 0 && json.new_price.points) { animation_on_change_price_with_options('#productPage .spend-points', json.new_price.points); } /* reward*/ if ($('#productPage .get-reward').length > 0 && json.new_price.reward) { animation_on_change_price_with_options('#productPage .get-reward', json.new_price.reward); } } }, error: function(error) { console.log('error: '+error); } }); } 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); }); } if ( jQuery.isFunction(jQuery.fn.on) ) { $(document).on('change', '#productPage input[type=\'text\'], #productPage input[type=\'number\'], #productPage input[type=\'hidden\'], #productPage input[type=\'radio\']:checked, #productPage input[type=\'checkbox\'], #productPage select, #productPage textarea, #productPage input[name=\'quantity\']', function () { price_with_options_ajax_call(); }); } else { $('#productPage input[type=\'text\'], #productPage input[type=\'number\'], #productPage input[type=\'hidden\'], #productPage input[type=\'radio\']:checked, #productPage input[type=\'checkbox\'], #productPage select, #productPage textarea, #productPage input[name=\'quantity\']').live('change', function() { price_with_options_ajax_call(); }); } /* Support spinner_quantity*/ if( $('.number-spinner button').length ){ $(document).on('click', '.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); }); }