Class Mage_Sales_Model_Observer
Sales observer
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Sales/Model/Observer.php
public
|
|
public
array
|
|
public
|
#
setExpireQuotesAdditionalFilterFields( array $fields )
Set expire quotes additional fields to filter |
public
|
#
substractQtyFromQuotes( Varien_Event_Observer $observer )
When deleting product, substract it from all quotes quantities |
public
|
#
markQuotesRecollectOnCatalogRules( Varien_Event_Observer $observer )
When applying a catalog price rule, make related quotes recollect on demand |
public
|
#
catalogProductSaveAfter( Varien_Event_Observer $observer )
Catalog Product After Save (change status process) |
public
|
|
public
|
#
aggregateSalesReportOrderData(
Refresh sales order report statistics for last day |
public
|
#
aggregateSalesReportShipmentData(
Refresh sales shipment report statistics for last day |
public
|
#
aggregateSalesReportInvoicedData(
Refresh sales invoiced report statistics for last day |
public
|
#
aggregateSalesReportRefundedData(
Refresh sales refunded report statistics for last day |
public
|
#
aggregateSalesReportBestsellersData(
Refresh bestsellers report statistics for last day |
public
|
#
prepareProductEditFormRecurringProfile( Varien_Event_Observer $observer )
Add the recurring profile form when editing a product |
public
|
#
restrictAdminBillingAgreementUsage( Varien_Event_Observer $observer )
Block admin ability to use customer billing agreements |
public
|
|
public
|
#
setQuoteCanApplyMsrp( Varien_Event_Observer $observer )
Set Quote information about MSRP price enabled |
public
null
|
#
addVatRequestParamsOrderComment( Varien_Event_Observer $observer )
Add VAT validation request date and identifier to order comments |
protected
|
#
_getVatRequiredSalesAddress(
Retrieve sales address (order or quote) on which tax calculation must be based |
protected
integer|string
|
#
_getVatRequiredCustomerAddress(
Retrieve customer address (default billing or default shipping) ID on which tax calculation must be based |
public
|
#
changeQuoteCustomerGroupId( Varien_Event_Observer $observer )
Handle customer VAT number if needed on collect_totals_before event of quote address |
public
|
#
restoreQuoteCustomerGroupId( Varien_Event_Observer $observer )
Restore initial customer group ID in quote if needed on collect_totals_after event of quote address |
protected
array
|
$_expireQuotesFilterFields | array() |
#
Expire quotes additional fields to filter |