• Resolved egmontuk

    (@egmontuk)


    Hi

    I’m using the jigoshop_billing_fields filter to specify the fields to display on the billing section.

    We don’t require state so we don’t have it included. Since upgrading to 1.17.8 we get an error on the checkout page ‘invalid billing state’.

    I have a workaround in place for now but it’s a pain. Can this be fixed?

    https://wordpress.org/plugins/jigoshop/

Viewing 1 replies (of 1 total)
  • Hi egmontuk,

    If you haven’t try the function bellow yet, add it to your themes function.php file.

    add_filter(‘jigoshop_billing_fields’, ‘remove_billing_fields’);

    function remove_billing_fields($fieldsToRemove){
    unset($fieldsToRemove[‘billing’][‘billing_state’]);

    return $fieldsToRemove;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘jigoshop_billing_fields filter broken in 1.17.8’ is closed to new replies.