Function Hook_ecommerce_cart_orders->needs_shipping_address

Definitions

sources/hooks/systems/ecommerce/cart_orders.php

  • Find whether a shipping address is needed.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Returns

  • Whether a shipping address is needed
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find whether a shipping address is needed.
 *
 * @return boolean Whether a shipping address is needed
 */

public function needs_shipping_address() : bool