Add a custom select box to the WooCommerce checkout page

Reader Interactions


  1. Thank you for tutorial.

    Tell me how to display field value as «In the afternoon» but not «afternoon».

    This part of code not work good?
    ‘options’ => array(
    ‘blank’ => __( ‘Select a day part’, ‘wps’ ),
    ‘morning’ => __( ‘In the morning’, ‘wps’ ),
    ‘afternoon’ => __( ‘In the afternoon’, ‘wps’ ),
    ‘evening’ => __( ‘In the evening’, ‘wps’ )

    P.S. I`m not a programmer and i can`t understand how to make it.

    • The code in the example already shows the field value with ‘in the afternoon’ and should work fine. Only in the backend you see under the delivery option afternoon.

  2. Hi Frank, thanks for tutorial. How to know user choice delivery in the admin panel if admin must approve? *sorry my bad english

Leave a Reply

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

Genesis as Foundation

I develop my themes and plugins exclusively for the Genesis Framework. Genesis is the most recommended WordPress framework and provides a secure and search-engine-optimized foundation for your website. You can't go wrong choosing Genesis.

Get Genesis

Sign in to your account

Lost password?Purchased via Bylt or Creativemarket? register here.