app/code/community/Adyen/Payment/Model/Observers/Quote.php
protected function _salesQuoteItemSetAttributes(Varien_Event_Observer $observer)
    {
        /** @var Mage_Sales_Model_Quote_Item $quoteItem */
        $quoteItem = $observer->getQuoteItem();
        /** @var Mage_Catalog_Model_Product $product */
        $product = $observer->getProduct();

        $quoteItem->setAdyenPreOrder((bool)$product->getAdyenPreOrder()); // set if product is pre order
    }
protected function _salesQuoteItemSetAttributes(Varien_Event_Observer $observer)
    {
        /** @var Mage_Sales_Model_Quote_Item $quoteItem */
        $quoteItem = $observer->getQuoteItem();
        /** @var Mage_Catalog_Model_Product $product */
        $product = $observer->getProduct();

        $quoteItem->setAdyenPreOrder((bool)$product->getAdyenPreOrder()); // set if product is pre order
    }
protected function _salesQuoteItemSetAttributes ( Varien_Event_Observer $ observer ) { /** @var Mage_Sales_Model_Quote_Item $quoteItem */ $ quoteItem = $ observer -> getQuoteItem ( ) ; /** @var Mage_Catalog_Model_Product $product */ $ product = $ observer -> getProduct ( ) ; $ quoteItem -> setAdyenPreOrder ( ( bool ) $ product -> getAdyenPreOrder ( ) ) ; // set if product is pre order }
set the quote item values based on product attribute values

@param Varien_Event_Observer $observer
set the quote item values based on product attribute values