WordPress.org

Ready to get started?Download WordPress

Forums

How can I have my checkout form add a CSS class? (1 post)

  1. rwilki
    Member
    Posted 1 year ago #

    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 ) ) '

Topic Closed

This topic has been closed to new replies.

About this Topic