Forum Forum Prestashop Theme SNS Nova – Prestashop Theme Update number of product never end (ajax loading)

  • Author
    Posts
  • #15728

    diake
    Participant

    Hi !
    (sorry for English – I’m French)

    I have a realy BIG probleme. I search for longs hours for resolve but i’m return to you.

    When i click on – Product + | Product – | When i put quantity inside checkout process (when i see cart) the Number of product and price change, but the loader ajax never end….

    When i delete product it’s ok, loader start and end normally
    When i add product to cart it’s ok too

    Ajax loading it’s ok everychere except on product quantity update

    For now, i comment in cart-summary.js

    /*$(‘.cart_quantity_up’).off(‘click’).on(‘click’, function(e){
    e.preventDefault();
    upQuantity($(this).attr(‘id’).replace(‘cart_quantity_up_’, ”));
    });
    $(‘.cart_quantity_down’).off(‘click’).on(‘click’, function(e){
    e.preventDefault();
    downQuantity($(this).attr(‘id’).replace(‘cart_quantity_down_’, ”));
    });*/
    /*$(‘.cart_quantity_input’).typeWatch({
    highlight: true, wait: 600, captureLength: 0, callback: function(val){
    updateQty(val, true, this.el);
    }
    });*/

    and i put the Input in read only in shopping-cart-product-line :

    <input readonly type=”text” value=”{$customization.quantity}” class=”cart_quantity_input form-control grey” name=”quantity_{$product.id_product}_{$product.id_product_attribute}_{$id_customization}_{$product.id_address_delivery|intval}”/>

    This disable the bug in frontoffice but not in system

    I test lot of thing and now i’m lost

    Thanks for help !

You must be logged in to reply to this topic. Click here to login or register