// add hook_alias create table in 1.5.0.1.sql and its datas
This commit is contained in:
@@ -649,3 +649,99 @@ ALTER TABLE `PREFIX_order_slip` ADD COLUMN `partial` TINYINT(1) NOT NULL AFTER `
|
|||||||
ALTER TABLE `PREFIX_order_slip_detail` ADD COLUMN `amount` DECIMAL(10,2) NOT NULL AFTER `product_quantity`;
|
ALTER TABLE `PREFIX_order_slip_detail` ADD COLUMN `amount` DECIMAL(10,2) NOT NULL AFTER `product_quantity`;
|
||||||
|
|
||||||
INSERT INTO `PREFIX_tab` (`id_parent`, `class_name`, `position`) VALUES (-1, 'AdminLogin', 0);
|
INSERT INTO `PREFIX_tab` (`id_parent`, `class_name`, `position`) VALUES (-1, 'AdminLogin', 0);
|
||||||
|
|
||||||
|
CREATE TABLE `PREFIX_hook_alias` (
|
||||||
|
`id_hook_alias` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`alias` varchar(64) NOT NULL,
|
||||||
|
`name` varchar(64) NOT NULL,
|
||||||
|
PRIMARY KEY (`id_hook_alias`),
|
||||||
|
UNIQUE KEY `alias` (`alias`)
|
||||||
|
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
INSERT INTO `PREFIX_hook_alias` (`id_hook_alias`, `name`, `alias`) VALUES
|
||||||
|
(1, 'displayPayment', 'payment'),
|
||||||
|
(2, 'actionValidateOrder', 'newOrder'),
|
||||||
|
(3, 'actionPaymentConfirmation', 'paymentConfirm'),
|
||||||
|
(4, 'displayPaymentReturn', 'paymentReturn'),
|
||||||
|
(5, 'actionUpdateQuantity', 'updateQuantity'),
|
||||||
|
(6, 'displayRightColumn', 'rightColumn'),
|
||||||
|
(7, 'displayLeftColumn', 'leftColumn'),
|
||||||
|
(8, 'displayHome', 'home'),
|
||||||
|
(9, 'displayHeader', 'header'),
|
||||||
|
(10, 'actionCartSave', 'cart'),
|
||||||
|
(11, 'actionAuthentication', 'authentication'),
|
||||||
|
(12, 'actionProductAdd', 'addproduct'),
|
||||||
|
(13, 'actionProductUpdate', 'updateproduct'),
|
||||||
|
(14, 'displayTop', 'top'),
|
||||||
|
(15, 'displayRightColumnProduct', 'extraRight'),
|
||||||
|
(16, 'actionProductDelete', 'deleteproduct'),
|
||||||
|
(17, 'displayFooterProduct', 'productfooter'),
|
||||||
|
(18, 'displayInvoice', 'invoice'),
|
||||||
|
(19, 'actionOrderStatusUpdate', 'updateOrderStatus'),
|
||||||
|
(20, 'displayAdminOrder', 'adminOrder'),
|
||||||
|
(21, 'displayFooter', 'footer'),
|
||||||
|
(22, 'displayPDFInvoice', 'PDFInvoice'),
|
||||||
|
(23, 'displayAdminCustomers', 'adminCustomers'),
|
||||||
|
(24, 'displayOrderConfirmation', 'orderConfirmation'),
|
||||||
|
(25, 'actionCustomerAccountAdd', 'createAccount'),
|
||||||
|
(26, 'displayCustomerAccount', 'customerAccount'),
|
||||||
|
(27, 'actionOrderSlipAdd', 'orderSlip'),
|
||||||
|
(28, 'displayProductTab', 'productTab'),
|
||||||
|
(29, 'displayProductTabContent', 'productTabContent'),
|
||||||
|
(30, 'displayShoppingCartFooter', 'shoppingCart'),
|
||||||
|
(31, 'displayCustomerAccountForm', 'createAccountForm'),
|
||||||
|
(32, 'displayAdminStatsModules', 'AdminStatsModules'),
|
||||||
|
(33, 'displayAdminStatsGraphEngine', 'GraphEngine'),
|
||||||
|
(34, 'actionOrderReturn', 'orderReturn'),
|
||||||
|
(35, 'displayProductButtons', 'productActions'),
|
||||||
|
(36, 'displayBackOfficeHome', 'backOfficeHome'),
|
||||||
|
(37, 'displayAdminStatsGridEngine', 'GridEngine'),
|
||||||
|
(38, 'actionWatermark', 'watermark'),
|
||||||
|
(39, 'actionProductCancel', 'cancelProduct'),
|
||||||
|
(40, 'displayLeftColumnProduct', 'extraLeft'),
|
||||||
|
(41, 'actionProductOutOfStock', 'productOutOfStock'),
|
||||||
|
(42, 'actionProductAttributeUpdate', 'updateProductAttribute'),
|
||||||
|
(43, 'displayCarrierList', 'extraCarrier'),
|
||||||
|
(44, 'displayShoppingCart', 'shoppingCartExtra'),
|
||||||
|
(45, 'actionSearch', 'search'),
|
||||||
|
(46, 'displayBeforePayment', 'backBeforePayment'),
|
||||||
|
(47, 'actionCarrierUpdate', 'updateCarrier'),
|
||||||
|
(48, 'actionOrderStatusPostUpdate', 'postUpdateOrderStatus'),
|
||||||
|
(49, 'displayCustomerAccountFormTop', 'createAccountTop'),
|
||||||
|
(50, 'displayBackOfficeHeader', 'backOfficeHeader'),
|
||||||
|
(51, 'displayBackOfficeTop', 'backOfficeTop'),
|
||||||
|
(52, 'displayBackOfficeFooter', 'backOfficeFooter'),
|
||||||
|
(53, 'actionProductAttributeDelete', 'deleteProductAttribute'),
|
||||||
|
(54, 'actionCarrierProcess', 'processCarrier'),
|
||||||
|
(55, 'actionOrderDetail', 'orderDetail'),
|
||||||
|
(56, 'displayBeforeCarrier', 'beforeCarrier'),
|
||||||
|
(57, 'displayOrderDetail', 'orderDetailDisplayed'),
|
||||||
|
(58, 'actionPaymentCCAdd', 'paymentCCAdded'),
|
||||||
|
(59, 'displayProductComparison', 'extraProductComparison'),
|
||||||
|
(60, 'actionCategoryAdd', 'categoryAddition'),
|
||||||
|
(61, 'actionCategoryUpdate', 'categoryUpdate'),
|
||||||
|
(62, 'actionCategoryDelete', 'categoryDeletion'),
|
||||||
|
(63, 'actionBeforeAuthentication', 'beforeAuthentication'),
|
||||||
|
(64, 'displayPaymentTop', 'paymentTop'),
|
||||||
|
(65, 'actionHtaccessCreate', 'afterCreateHtaccess'),
|
||||||
|
(66, 'actionAdminMetaSave', 'afterSaveAdminMeta'),
|
||||||
|
(67, 'displayAttributeGroupForm', 'attributeGroupForm'),
|
||||||
|
(68, 'actionAttributeGroupSave', 'afterSaveAttributeGroup'),
|
||||||
|
(69, 'actionAttributeGroupDelete', 'afterDeleteAttributeGroup'),
|
||||||
|
(70, 'displayFeatureForm', 'featureForm'),
|
||||||
|
(71, 'actionFeatureSave', 'afterSaveFeature'),
|
||||||
|
(72, 'actionFeatureDelete', 'afterDeleteFeature'),
|
||||||
|
(73, 'actionProductSave', 'afterSaveProduct'),
|
||||||
|
(74, 'actionProductListOverride', 'productListAssign'),
|
||||||
|
(75, 'displayAttributeGroupPostProcess', 'postProcessAttributeGroup'),
|
||||||
|
(76, 'displayFeaturePostProcess', 'postProcessFeature'),
|
||||||
|
(77, 'displayFeatureValueForm', 'featureValueForm'),
|
||||||
|
(78, 'displayFeatureValuePostProcess', 'postProcessFeatureValue'),
|
||||||
|
(79, 'actionFeatureValueDelete', 'afterDeleteFeatureValue'),
|
||||||
|
(80, 'actionFeatureValueSave', 'afterSaveFeatureValue'),
|
||||||
|
(81, 'displayAttributeForm', 'attributeForm'),
|
||||||
|
(82, 'actionAttributePostProcess', 'postProcessAttribute'),
|
||||||
|
(83, 'actionAttributeDelete', 'afterDeleteAttribute'),
|
||||||
|
(84, 'actionAttributeSave', 'afterSaveAttribute'),
|
||||||
|
(85, 'actionTaxManager', 'taxManager');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user