<?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.            *
****************************************************************************/

if (!defined('BOOTSTRAP')) { die('Access denied'); }

fn_register_hooks(
    'pre_add_to_cart',
    'generate_cart_id',
    'calculate_cart',
    'delete_cart_product',
    'reorder',
    'calculate_cart_items',
    'add_to_cart',
    'delete_product_pre',
    'update_cart_products_post',
    'update_cart_products_pre',
    'init_product_tabs_post',
    ['buy_together_update_chain_post', '', 'product_variations'],
    ['buy_together_delete_chain_post', '', 'product_variations']
);
