How can we improve WooCommerce?

Use WooCommerce filter, instead of harcoding stuff

Let's take the date field as an example.
The function 'wc_checkout_fields_date_picker_field' is creating the markup for fields of the type 'date'

The classes for the input field are hard coded to 'checkout-date-picker input-text', instead of using '$args['input_class']'.
This way all other classes are discarded.

Using 'woocommerce_form_field_args' to add the input classes or a new filter would be really great to be able to alter things.

Right now the addon breaks the styling of some themes.

3 votes
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Alex shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...

WooCommerce: Extension - WooCommerce Checkout Field Editor

Feedback and Knowledge Base