Unknown: Creation of dynamic property Request::$request is deprecated in /home3/markeokr/public_html/system/library/request.php on line 26Unknown: Creation of dynamic property mysqli::$report_mode is deprecated in /home3/markeokr/public_html/system/library/db/mysqli.php on line 15Unknown: Creation of dynamic property Session\DB::$db is deprecated in /home3/markeokr/public_html/system/library/session/db.php on line 8Unknown: Creation of dynamic property Proxy::$getTranslations is deprecated in /home3/markeokr/public_html/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__construct is deprecated in /home3/markeokr/public_html/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__get is deprecated in /home3/markeokr/public_html/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__set is deprecated in /home3/markeokr/public_html/system/engine/proxy.php on line 30Unknown: mysqli::real_escape_string(): Passing null to parameter #1 ($string) of type string is deprecated in /home3/markeokr/public_html/system/library/db/mysqli.php on line 53Warning: Cannot modify header information - headers already sent by (output started at /home3/markeokr/public_html/system/framework.php:42) in /home3/markeokr/public_html/catalog/controller/startup/session.php on line 25Unknown: Creation of dynamic property Proxy::$getLanguage is deprecated in /home3/markeokr/public_html/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$getLanguages is deprecated in /home3/markeokr/public_html/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__construct is deprecated in /home3/markeokr/public_html/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__get is deprecated in /home3/markeokr/public_html/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__set is deprecated in /home3/markeokr/public_html/system/engine/proxy.php on line 30Unknown: Automatic conversion of false to array is deprecated in /home3/markeokr/storage/modification/catalog/controller/startup/startup.php on line 103Warning: Cannot modify header information - headers already sent by (output started at /home3/markeokr/public_html/system/framework.php:42) in /home3/markeokr/storage/modification/catalog/controller/startup/startup.php on line 107Unknown: Creation of dynamic property Cart\Customer::$config is deprecated in /home3/markeokr/public_html/system/library/cart/customer.php on line 14Unknown: Creation of dynamic property Cart\Customer::$db is deprecated in /home3/markeokr/public_html/system/library/cart/customer.php on line 15Unknown: Creation of dynamic property Cart\Customer::$request is deprecated in /home3/markeokr/public_html/system/library/cart/customer.php on line 16Unknown: Creation of dynamic property Cart\Customer::$session is deprecated in /home3/markeokr/public_html/system/library/cart/customer.php on line 17Unknown: Creation of dynamic property Cart\Vendor::$config is deprecated in /home3/markeokr/public_html/system/library/cart/vendor.php on line 10Unknown: Creation of dynamic property Cart\Vendor::$db is deprecated in /home3/markeokr/public_html/system/library/cart/vendor.php on line 11Unknown: Creation of dynamic property Cart\Vendor::$request is deprecated in /home3/markeokr/public_html/system/library/cart/vendor.php on line 12Unknown: Creation of dynamic property Cart\Vendor::$session is deprecated in /home3/markeokr/public_html/system/library/cart/vendor.php on line 13Unknown: Creation of dynamic property Proxy::$getCurrencyByCode is deprecated in /home3/markeokr/public_html/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$getCurrencies is deprecated in /home3/markeokr/public_html/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__construct is deprecated in /home3/markeokr/public_html/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__get is deprecated in /home3/markeokr/public_html/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__set is deprecated in /home3/markeokr/public_html/system/engine/proxy.php on line 30Warning: Cannot modify header information - headers already sent by (output started at /home3/markeokr/public_html/system/framework.php:42) in /home3/markeokr/storage/modification/catalog/controller/startup/startup.php on line 171Unknown: Creation of dynamic property Cart\Currency::$db is deprecated in /home3/markeokr/public_html/system/library/cart/currency.php on line 7Unknown: Creation of dynamic property Cart\Currency::$language is deprecated in /home3/markeokr/public_html/system/library/cart/currency.php on line 8Unknown: Creation of dynamic property Cart\Tax::$config is deprecated in /home3/markeokr/public_html/system/library/cart/tax.php on line 7Unknown: Creation of dynamic property Cart\Tax::$db is deprecated in /home3/markeokr/public_html/system/library/cart/tax.php on line 8Unknown: Creation of dynamic property Cart\Weight::$db is deprecated in /home3/markeokr/public_html/system/library/cart/weight.php on line 7Unknown: Creation of dynamic property Cart\Weight::$config is deprecated in /home3/markeokr/public_html/system/library/cart/weight.php on line 8Unknown: Creation of dynamic property Cart\Length::$db is deprecated in /home3/markeokr/public_html/system/library/cart/length.php on line 7Unknown: Creation of dynamic property Cart\Length::$config is deprecated in /home3/markeokr/public_html/system/library/cart/length.php on line 8Unknown: Creation of dynamic property Cart\Cart::$config is deprecated in /home3/markeokr/storage/modification/system/library/cart/cart.php on line 7Unknown: Creation of dynamic property Cart\Cart::$customer is deprecated in /home3/markeokr/storage/modification/system/library/cart/cart.php on line 8Unknown: Creation of dynamic property Cart\Cart::$session is deprecated in /home3/markeokr/storage/modification/system/library/cart/cart.php on line 9Unknown: Creation of dynamic property Cart\Cart::$db is deprecated in /home3/markeokr/storage/modification/system/library/cart/cart.php on line 10Unknown: Creation of dynamic property Cart\Cart::$tax is deprecated in /home3/markeokr/storage/modification/system/library/cart/cart.php on line 11Unknown: Creation of dynamic property Cart\Cart::$weight is deprecated in /home3/markeokr/storage/modification/system/library/cart/cart.php on line 12Unknown: Creation of dynamic property Proxy::$getEvents is deprecated in /home3/markeokr/public_html/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__construct is deprecated in /home3/markeokr/public_html/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__get is deprecated in /home3/markeokr/public_html/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__set is deprecated in /home3/markeokr/public_html/system/engine/proxy.php on line 30Warning: Cannot modify header information - headers already sent by (output started at /home3/markeokr/public_html/system/framework.php:42) in /home3/markeokr/public_html/catalog/controller/extension/module/live_options.php on line 210 var price_with_options_ajax_call = function() { $.ajax({ type: 'POST', url: 'index.php?route=extension/module/live_options&product_id=34', 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) { animation_on_change_price_with_options('#content .price-tax-live', json.new_price.tax); } if ($('#content .price-new-live').length > 0 && json.new_price.special) { animation_on_change_price_with_options('#content .price-new-live', json.new_price.special); } if ($('#content .price-old-live').length > 0 && json.new_price.price) { 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); } } }, 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 ($('#content input[name=\'quantity\']').val() > 1) { 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(); }); } // 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); }); }