Warning: session_start(): open(/var/cpanel/php/sessions/ea-php74/sess_b3d13ef76b2170f15a553357e75c18a6, O_RDWR) failed: Disk quota exceeded (122) in /home/ancta/tematimi.com/system/library/categorizr.php on line 46
Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php74) in /home/ancta/tematimi.com/system/library/categorizr.php on line 46
var canlifiyat = function() {
$.ajax({
type: 'POST',
url: 'index.php?route=product/canlifiyat/index',
data: jQuery('.product-info input[type=\'text\'], .product-info input[type=\'hidden\'], .product-info input[type=\'radio\']:checked, .product-info input[type=\'checkbox\']:checked, .product-info select, .product-info textarea'),
dataType: 'json',
beforeSend: function() {
},
complete: function() {
},
success: function(json) {
if (json.success) {
if (jQuery('.product-info .price-tax').length > 0 && json.new_price.tax) {animation_on_change_price_with_options('.product-info .price-tax', json.new_price.tax);}
if (jQuery('.product-info #price-old').length > 0 && json.new_price.price) {animation_on_change_price_with_options('.product-info #price-old', json.new_price.price);}
if (jQuery('.product-info .fiyatetiketi').length > 0 && json.new_price.special) {animation_on_change_price_with_options('.product-info .fiyatetiketi', json.new_price.special);}
if (jQuery('.product-info #price_container').length > 0 && json.new_price.price) {animation_on_change_price_with_options('.product-info #price_container', json.new_price.price);}
if (jQuery('.product-info #puan').length > 0 && json.new_price.reward) {animation_on_change_price_with_options('.product-info #puan', json.new_price.reward);}
}
},
error: function(error) {
}
});
}
var animation_on_change_price_with_options = function(selector_class_or_id, new_html_content) {
jQuery(selector_class_or_id).fadeOut(150, function() {
jQuery(this).html(new_html_content).fadeIn(50);
});
}
if ( jQuery.isFunction(jQuery.fn.on) )
{jQuery('.product-info input[type=\'text\'], .product-info input[type=\'hidden\'], .product-info input[type=\'radio\']:checked, .product-info input[type=\'checkbox\'], .product-info select, .product-info textarea, .product-info input[name=\'quantity\']').live('change', function() {canlifiyat();});}
else
{jQuery('.product-info input[type=\'text\'], .product-info input[type=\'hidden\'], .product-info input[type=\'radio\']:checked, .product-info input[type=\'checkbox\'], .product-info select, .product-info textarea, .product-info input[name=\'quantity\']').live('change', function() {canlifiyat();});}