Customizing Checkout Fields on Woocommerce 2.1, how to?
-
Hi
I’m trying to customize “Order Notes” field on the new 2.1 Woomcommerce version. Previously, I did that by heading to class-wc-checkout.php and modifying it like this (I want it to be a required field, with custom placeholder and label):
$this->checkout_fields['order'] = array( 'order_comments' => array( 'type' => 'textarea', 'class' => array('notes'), 'required' => true, 'label' => __( 'My label', 'woocommerce' ), 'placeholder' => _x('My placeholder', 'placeholder', 'woocommerce') ) );
However, that doesn’t have any effect now on the “Order Notes” field.
Does anyone have a suggestion?Thank you very much.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Customizing Checkout Fields on Woocommerce 2.1, how to?’ is closed to new replies.