If you are using our previous version of the hosted checkout, please refer to the old dynamic pricing and quantity
guide
The examples below use the Hosted Checkout, but the same approach is compatible
with the Embedded Checkout as well.
Details about implementing dynamic functionality into the Checkout