shopp_order_manager_shipping_method

filters the shipping method selected to ship the order currently viewed in the Order Manager.

add_filter( 'shopp_order_manager_shipping_method', [callback] )

@param string $method the label of the shipping method selected to ship the order currently viewed in the Order Manager.

Description

filters the shipping method selected to ship the order currently viewed in the Order Manager.

Example

// register filter callback
add_filter('shopp_order_manager_shipping_method', 'shopp_order_manager_shipping_method_fltr');

// create filter function
function shopp_order_manager_shipping_method_fltr( $method ) {
    // Say you want to substitute the name of the shipping method
    if ( 'FedEx Ground' == $method )
        $method = 'Standard Shipping';
    return $method;
}

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar