Skip to content

Is it possible to refresh a specific price option widget in Magento 2 without a full page reload?

I am working with custom options in Magento 2 and have implemented logic to update the product price dynamically. Additionally, I have added custom logic to update the custom option prices within the widget configuration. My goal is to refresh or reload only the price option widget when these prices change, without reloading the entire page. Is there a way to achieve this in JavaScript, specifically by targeting a single widget?