Update price with jquery


  • Member
    brooki
    October 12, 2017 at 6:35 am #36155

    Hello,

    I have set two fields which I use to calculate a price from and set the value of the third field with jquery.

    $(‘input[name=textfield_8]’).val(result);

    It’s working fine and my calculated price is set in the field. The problem is that the price shown next to the field did not get updated. I tried trigger events and everything but it just not updating. When I click on this field and hit any key the price is updated. I just can’t get it done with jquery. I tried keydown events and other things nothing works.

    So the question is how do I tell the plugin / woocommerce to do the update on prices like when I type anything in the field by hand?

    If someone want to help I can also give all login data to WordPress that are needed.

    Testlink: https://jadeboost.com/destiny-2/power-boosting/

    Type like 10 in current light and 100 in desired light. The value of field below them is changed correct. But the price is not updating.
    Thanks

    • This topic was modified 2 months by  brooki. Reason: Testing link

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.