    var parcelamento_ajax_call = function() {
        $.ajax({
            type: 'POST',
            url: 'index.php?route=extension/module/parcelamento&product_id=223',
            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',
            beforeSend: function() {
            },
            complete: function() {
            },
            success: function(json) {
                if (json.success) {
                    if ($('#parcelamento').length > 0 && json.parcelamento) {
                        animation_on_change_options('#parcelamento', json.parcelamento);
                    }
                }
            }
        });
    }

    var animation_on_change_options = function(selector_class_or_id, new_html_content) {
        $(selector_class_or_id).fadeOut(150, function() {
            $(this).html(new_html_content).fadeIn(50);
        });
    }

    if ($('#product input[name=\'quantity\']').val() > 1) {
        parcelamento_ajax_call();
    }

    if ( jQuery.isFunction(jQuery.fn.on) ) {
        $(document).on('change', '#product input[type=\'radio\']:checked, #product input[type=\'checkbox\'], #product select', function () {
            parcelamento_ajax_call();
        });
        $(document).on('input', '#product input[type=\'number\'], #product input[name=\'quantity\']', function () {
            parcelamento_ajax_call();
        });
    } else {
        $('#product input[type=\'text\'], #product input[type=\'number\'], #product input[type=\'hidden\'], #product input[type=\'radio\']:checked, #product input[type=\'checkbox\'], #product select, #product textarea, #product input[name=\'quantity\']').live('change touchend', function() {
            parcelamento_ajax_call();
        });
    }
    // Support spinner_quantity
    if($('.number-spinner button').length){
        $(document).on('click', '.number-spinner button', function(){
            setTimeout(function(){
                parcelamento_ajax_call();
            }, 100);
        });
    }
    // Support bt_claudine
    if($('.increase').length || $('.decrease').length){
        $(document).on('click', '.increase', function(){
            setTimeout(function(){
                parcelamento_ajax_call();
            }, 100);
        });
        $(document).on('click', '.decrease', function(){
            setTimeout(function(){
                parcelamento_ajax_call();
            }, 100);
        });
    }
    // Support Pav Theme
    if($('.quantity-adder .add-action').length){
        $(".quantity-adder .add-action").bind("mouseup touchend", function(e){
            setTimeout(function(){
                parcelamento_ajax_call();
            }, 100);
        });
    }
    // Support so-jenzo
    if($('.product_quantity_up').length || $('.product_quantity_down').length){
        $('.product_quantity_up,.product_quantity_down').click(function(){
            setTimeout(function(){
                parcelamento_ajax_call();
            }, 100);
        });
    }
    // Support Vitalia
    if($('#q_up').length || $('#q_down').length){
        $('#q_up,#q_down').click(function(){
            setTimeout(function(){
                parcelamento_ajax_call();
            }, 100);
        });
    }
    // Support Journal2
    if($('.qty .journal-stepper').length){
        $(".qty .journal-stepper").bind("mouseup touchend", function(e){
            setTimeout(function(){
                parcelamento_ajax_call();
            }, 100);
        });
    }
    // Support Journal3
    if($('.stepper').length){
        $(".stepper").bind("mouseup touchend", function(e){
            setTimeout(function(){
                parcelamento_ajax_call();
            }, 100);
        });
    }