Price calculator

Hello,
I want to add an interactive price calculator to a product I sell on my site. So I created the calculator with Calconic (the code is in HTML)


And I would like to know how to connect the payment button (acheter), so my customer can directly pay the amount calculated.

If you are trying to send the amount back to the page on clicking Acheter then you need to add some javascript to your HTML and use onMessage and postMessage

Does this mean it’s possible to hook up the Calconic widget with the Wix cart?

I too have built an almost perfect solution with Calconic but the lack of an ‘add to cart’ function is a fundamental drawback.

I need a solution to avoid resorting to a different platform.