Unknown: Automatic conversion of false to array is deprecated in /home/casaangus/public_html/catalog/controller/startup/startup.php on line 95Warning: Cannot modify header information - headers already sent by (output started at /home/casaangus/public_html/system/framework.php:42) in /home/casaangus/public_html/catalog/controller/startup/startup.php on line 99Warning: Cannot modify header information - headers already sent by (output started at /home/casaangus/public_html/system/framework.php:42) in /home/casaangus/public_html/catalog/controller/startup/startup.php on line 157 var price_with_options_ajax_call = function() { $.ajax({ type: 'post', url: 'index.php?route=extension/module/ajaxoptionprice/index&pid=135', data: $('#product input[type=\'text\'], #product input[type=\'number\'], #product input[type=\'hidden\'], #product input[type=\'radio\']:checked, #product input[type=\'checkbox\']:checked, #product select, #product textarea'), dataType: 'json', success: function(json) { if (json.success) { if ($('special-price-tag').length > 0 && json.new_price.special_price) { animation_on_change_price_with_options('special-price-tag', json.new_price.special_price); } if ($('price-tag').length > 0 && json.new_price.price) { animation_on_change_price_with_options('price-tag', json.new_price.price); } } }, error: function(error) { console.log(error); } }); } var animation_on_change_price_with_options = function(selector, value) { $(selector).fadeOut(150, function() { $(this).html(value).fadeIn(50); }); } $('#product').on('change', 'input[type=\'text\'], input[type=\'number\'], input[type=\'hidden\'], input[type=\'radio\'], input[type=\'checkbox\'], select, textarea', price_with_options_ajax_call);