Ecommerce for products whose price depends on the measurements entered by the user

I am building an Online store for Wallpapers store. Those products (wallpaper) do not have a fixed price. The price depends on wallpaper type, wall area, etc. Those are the values that a customer should enter on the Product Page
I created a calculator that calculates the price of a product. When calculated, that price is displayed inside one span.

Is it possible to make the functionality for the Add to Cart button to read that price and add to the cart that product with that exact price?

If not, Is there any other way to handle this type of product?

Read-only link:

Hi @Djordje_Urosevic.
Josh with Foxy here. What you’re after may be pretty tough to do with Webflow Ecommerce. That said, it’s 100% possible with our seamless Webflow integration:

You can manage wallpapers with Webflow CMS and then Foxy can use your calculated price as the final product price. You can pass other data/media from CMS as needed.

Here to help if you have any questions or need help getting started: