Update Price on Productpage

Hi everyone, I am looking for a way to update the price of the product on the product page itself. So I want the customer to select an option from a dropdown and after the selection I want the customer to see the current price of the product directly on the product page.

It must be possible because it is working on the demopage op snipcart (https://demo.snipcart.com). But I am working with Webflow and have no Javascript experience, so I don’t know how it is done.

Is there anyone who can help me out?

Thank you.

Here’s how I’ve done it here:

                <!-- Option Selector-->
                <div class="detail-option mb-3">
                  <form action="#" id="orbmoption">
                    <h6 class="detail-option-heading">Option <span>(required)</span></h6>
                      <label for="full_assembly" class="btn btn-sm btn-outline-secondary detail-option-btn-label"> Full Assembly <input type="radio"
                      checked name="mount_options" value="Full-Assembly" id="full_assembly" required class="input-invisible">
                    <label for="top_only" class="btn btn-sm btn-outline-secondary detail-option-btn-label"> Top Piece Only <input
                        type="radio" name="mount_options" value="Top-Piece-Only" id="top_only" required class="input-invisible">
                  <script nonce="<?php echo $CSPNONCE ?>">
                document.getElementById("orbmoption").addEventListener('click', function (event) {
                    if ( event.target && event.target.matches("input[type='radio']") ) {changeBarmount(); changePricing();}
                      function changeBarmount() {
                    for (var i = 0, length = orbmoption.length; i < length; i++) {
                        if (orbmoption[i].checked) {
                          document.getElementById("button-ktm-husqvarna-off-road-bar-mounts").dataset.itemCustom1Value = orbmoption[i].value;
                    function changePricing() {
                          var pricetoshow = $(this).attr("value");
                          var targetprice = $("#" + pricetoshow);
              <!-- Pricing-->
              <div class="mb-3">
                  <ul class="list-inline mb-2 mb-sm-0">
                  <li class="list-inline-item h4 font-weight-light mb-0 price-hider" id="Full-Assembly">$299.95 <span class="detail-option-heading">(Full Assembly)</span></li>
                    <li class="list-inline-item h4 font-weight-light mb-0 price-hider" id="Top-Piece-Only" style="display: none">$159.95 <span class="detail-option-heading">(Top Only)</span></li>