You are here

function hook_commerce_physical_line_item_shippable_alter in Commerce Physical Product 7

Allows modules to alter the shippability that has been determined for a line item.

Parameters

&$shippable: Boolean indicating whether or not the given line item has been determined to be shippable.

$line_item: The line item object whose shippability is being determined.

See also

commerce_physical_line_item_shippable()

1 invocation of hook_commerce_physical_line_item_shippable_alter()
commerce_physical_line_item_shippable in ./commerce_physical.module
Determines whether or not a line item should be considered shippable.

File

./commerce_physical.api.php, line 129
Hooks provided by the Commerce Physical Product module.

Code

function hook_commerce_physical_line_item_shippable_alter(&$shippable, $line_item) {

  // No example.
}