• I’m trying to have my shipping checkout form add a CSS class based on a specific state(s)

    I’m pretty sure I can add a filter in my functions file, but Not sure where and what…

    This code is close but it’s not getting me there..

    ‘ if( isset( $available_methods[‘free_shipping’] ) AND in_array( $_SESSION[‘customer’][‘shipping_state’], $excluded_states ) ) ‘

  • The topic ‘How can I have my checkout form add a CSS class?’ is closed to new replies.