Adding static dropdown for postal codes in woocommerce

Hi i am working wordpress site. Can any one tell me how to add static dropdown for postal codes.As i need to add only particular location for delivery.And need to check whether the location entered by the customer is available for delivery or not and display a message as the location is not available for delivery.

'postcode' => array(
            'label'        => __( 'Postcode / ZIP', 'woocommerce' ),
            'required'     => true,
            'class'        => array( 'form-row-wide', 'address-field' ),
            'validate'     => array( 'postcode' ),
            'autocomplete' => 'postal-code',
            'priority'     => 90,
        ),

Read more here: Adding static dropdown for postal codes in woocommerce

Leave a Reply

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