Change Woocommerce price dynamically during checkout

In this post, we discuss how you can change the price of a woocommerce product, temporarily, during the checkout process. There are lots of tutorials and free plugins which can be used to learn how to add additional prices to a product. Examples or documentation for changing the actual product price is hard to find.

This article explains woocommerce limitations as well as whats possible. Specifically in this article, we will show you demo code where we allow a html form, to accept payment via woocommerce. To accomplish this, the price calculated by that form, will be the new price of the product.