<?php
/***************************************************************************
*                                                                          *
*   (c) 2004 Vladimir V. Kalynyak, Alexey V. Vinokurov, Ilya M. Shalnev    *
*                                                                          *
* This  is  commercial  software,  only  users  who have purchased a valid *
* license  and  accept  to the terms of the  License Agreement can install *
* and use this program.                                                    *
*                                                                          *
****************************************************************************
* PLEASE READ THE FULL TEXT  OF THE SOFTWARE  LICENSE   AGREEMENT  IN  THE *
* "copyright.txt" FILE PROVIDED WITH THIS DISTRIBUTION PACKAGE.            *
****************************************************************************/

defined('BOOTSTRAP') or die('Access denied');

if (fn_allowed_for('ULTIMATE')) {
    fn_register_hooks(
    /** @see \fn_store_locator_ult_check_store_permission() */
        'ult_check_store_permission'
    );
}

fn_register_hooks(
    /** @see \fn_store_locator_delete_company() */
    'delete_company',
    /** @see \fn_store_locator_calculate_cart_post() */
    'calculate_cart_post',
    /** @see \fn_store_locator_calculate_cart_taxes_pre() */
    'calculate_cart_taxes_pre',
    /** @see \fn_store_locator_update_cart_by_data_post() */
    'update_cart_by_data_post',
    /** @see \fn_store_locator_pickup_point_variable_init() */
    'pickup_point_variable_init',
    /** @see \fn_store_locator_calculate_cart_content_before_shipping_calculation() */
    'calculate_cart_content_before_shipping_calculation',
    /** @see \fn_store_locator_update_shipping() */
    'update_shipping',
    /** @see \fn_store_locator_store_shipping_rates_post() */
    'store_shipping_rates_post',
    /** @see \fn_store_locator_storefront_rest_api_format_order_prices_post() */
    'storefront_rest_api_format_order_prices_post',
    /** @see \fn_store_locator_storefront_rest_api_strip_service_data_post() */
    'storefront_rest_api_strip_service_data_post',
    /** @see \fn_store_locator_shippings_get_shipping_for_test_post() */
    'shippings_get_shipping_for_test_post',
    /** @see \fn_store_locator_place_suborders_pre() */
    'place_suborders_pre',
    /** @see \fn_store_locator_pre_update_order() */
    'pre_update_order',
    'uninstall_addon_post',
    'order_fulfillment_set_marketplace_shipping_to_product_group',
    'commerceml_order_storage_update_order_cart_calculation_post',
    'api_orders_create_after_add_product_to_cart'
);
