I want to set shipping price for orders created in admin based on products in cart, how to get the quote items using adminhtml_sales_order_create_process_data?

1 Answer 1


To: adminhtml_sales_order_create_process_data but make sure you add this into the <adminhtml> node in your config.xml.

Once in your Observer.php, you can remove the items you wish, I would instead try to hook to a quote event also in the <adminhtml> node and then remove the item at a quote level if possible.

To add an item to the quote:

$quote->addProduct($product, new Varien_Object($eventArgs));

To remove an item from the quote:


Then you can have magento create the admin order:

$adminSalesOrderCreate = Mage::getSingleton('adminhtml/sales_order_create');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.