how to add value from data field to cart like checkbox eg

I created a purchase form.
I use the 'basket' field to accumulate purchases
We correctly combine the values ​​of the checkbox and radio fields
I couldn't find how to add values ​​entered in a Data (number type) field to the cart
Can you help me if it helps?

Replies are visible only to logged in members with an active subscription.