I would like to change the "Order Comments" field in Woocommerce from a textbox to an input box with maximum characters of 18.
function filter_checkout_fields( $fields ) {.
.woocommerce-checkout form textarea#order_comments { height: 12em; // Set your height }.
Shipping – Shipping section of checkout (shipping must be enabled); Additional – Appear after the billing and shipping sections of checkout, next to order notes ...
Billing details; First name; Last name; Company name; Country; Address; Town/City; District; Postcode/ZIP; Phone; Email address; Order ...
You can remove the Additional Information and Order Notes fields in WooCommerce checkout page with 2 filters that you add to your themes ...
Please try to add the below style in your theme's Additional CSS. textarea#order_comments { height: 130px; }. We hope this will help. Thank you!
Here's what happens on the WooCommerce Checkout page after applying “Snippet 1” below: the company input field has a maxlength of 15 characters and it's ...
The user will be allowed to upload or delete fields through the order page. Screenshots. Customize shipping fields, create account, order notes and include ...
This example adds a very simple text field to the billing fields. There are many additional options you can pass within the array to ...