Home › Forums › ACF PRO › Custom fields for registration woocommerce › Reply To: Custom fields for registration woocommerce
To have numbers instead of text :
'type' => 'number',
'custom_attributes' => array(
'step' => 'any',
'min' => '0'
),
Now, gonna put all of this to trash cause what I really need is to have my custom field on each bought product : if I want to buy a bike for an adult and a bike for a child, I will have to give two different weights… o_O
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.