Order notes on cart page

Is it possible to add the Woocommerce order notes field before the checkout form page?

I’ve added field by action

function addCommentBox(){
    echo '<p class="form-row form-row notes" id="order_comments_field"><label for="order_comments" class="">Order Notes</label><textarea name="order_comments" class="input-text " id="order_comments" placeholder="Notes about your order, e.g. special notes for delivery." rows="2" cols="5"></textarea></p>';
add_action('woocommerce_proceed_to_checkout', 'addCommentBox', 1);

Read more here: Order notes on cart page

Leave a Reply

Your email address will not be published. Required fields are marked *