/**
  * Initialize the object
  *
  * @access public
  * @param array $arrRow
  * @param array $arrShipment
  */
 public function __construct($arrRow, $arrShipment = array())
 {
     parent::__construct($arrRow);
     if (!count($arrShipment) && TL_MODE == 'FE') {
         $arrProducts = $this->Isotope->Cart->getProducts();
         $arrProductIds = array();
         foreach ($arrProducts as $objProduct) {
             $arrProductIds[] = $objProduct->cart_id;
         }
         $arrShipment = array('address' => $this->Isotope->Cart->shippingAddress, 'products' => $arrProducts, 'productids' => $arrProductIds, 'quantity' => $this->Isotope->Cart->items);
     }
     //Build a Shipments array from passed data or the current cart
     $this->Shipment = $arrShipment;
 }