• Resolved wantyq

    (@wantyq)


    Hey, I installed an additional plugin for Woocommerce which allows clients to choose the delivery carrier or even choose a pick up terminal. Here’s the image to show what I’m talking about. https://ibb.co/KD18gnB
    After selecting “LP Express siuntu terminalas” dropdown menu appears. After changing selecting any other delivery method the table of options should refresh like in the photo: https://ibb.co/dbJvn6X

    I screenshoted this plugin on other website. On my website after changing delivery method table doesn’t refresh at all. So in the end, my clients can’t see any drop down menu of the pick up terminals.

    So I’m looking for a code snippet with some additional js or any other solution which could help to solve my problem. I just need that after selecting another delivery method table could refresh.

    • This topic was modified 2 years, 6 months ago by wantyq.
Viewing 1 replies (of 1 total)
  • Plugin Support lionel.a11n

    (@lioneldaniel)

    Hello @wantyq,

    WooCommerce’s default checkout will update the shipping & tax via AJAX when a form field with the address-field class is changed in the form.I recommend contacting the third party plugin’s support for assistance so that their form fields correctly carry that class if they should trigger a shipping calculator refresh. Sometimes adding these classes can be tricky, since WooCommerce calculates them for checkout fields.

    In case you want to tackle the problem yourself, we have an article that has example code to add fields to WooCommerce checkout. It doesn’t mention this specifically, but between the developer doc and some investigation into the plugin’s code you may be able to work out your solution: https://woocommerce.com/document/tutorial-customising-checkout-fields-using-actions-and-filters/

    I hope that points you in the right direction. Since this is a custom code request a bit outside the purpose of this support forum, I’m marking this ‘resolved’. In the future, I suggest you check out the Community Slack or Facebook Group for community help with developer-level questions.

    Feel free to open a new topic if you have further core WooCommerce questions. Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Delivery method’ is closed to new replies.