// Fix install on hooks + synchronise data

This commit is contained in:
rMalie
2011-12-27 10:49:27 +00:00
parent f4e0e6b1a0
commit 4b899b1eeb
9 changed files with 120 additions and 117 deletions
+7 -4
View File
@@ -746,7 +746,7 @@ class InstallXmlLoader
if ($this->entityExists($entity))
$xml = $this->loadEntity($entity);
else
$xml = new SimpleXMLElement('<entity_'.$entity.' />');
$xml = new InstallSimplexmlElement('<entity_'.$entity.' />');
unset($xml->fields);
// Fill <fields> attributes (config)
@@ -843,7 +843,7 @@ class InstallXmlLoader
if (!is_dir($this->lang_path.$iso.'/data'))
mkdir($this->lang_path.$iso.'/data');
$xml_node = new SimpleXMLElement('<entity_'.$entity.' />');
$xml_node = new InstallSimplexmlElement('<entity_'.$entity.' />');
$this->createXmlEntityNodes($entity, $nodes, $xml_node);
$xml_node->asXML($this->lang_path.$iso.'/data/'.$entity.'.xml');
}
@@ -1120,9 +1120,12 @@ class InstallXmlLoader
{
$image = new Image($image['id_image']);
$image_path = $image->getExistingImgPath();
copy($from_path.$image_path.'.'.$image->image_format, $backup_path.$this->generateId('image', $image->id).'.'.$image->image_format);
if (file_exists($from_path.$image_path.'.'.$image->image_format))
copy($from_path.$image_path.'.'.$image->image_format, $backup_path.$this->generateId('image', $image->id).'.'.$image->image_format);
foreach ($types as $type)
copy($from_path.$image_path.'-'.$type.'.'.$image->image_format, $backup_path.$this->generateId('image', $image->id).'-'.$type.'.'.$image->image_format);
if (file_exists($from_path.$image_path.'-'.$type.'.'.$image->image_format))
copy($from_path.$image_path.'-'.$type.'.'.$image->image_format, $backup_path.$this->generateId('image', $image->id).'-'.$type.'.'.$image->image_format);
}
}
+2 -2
View File
@@ -5,8 +5,8 @@
<field name="id_group" relation="group"/>
</fields>
<entities>
<category_group id="category_group_1_1" id_category="Home" id_group="Unidentified"/>
<category_group id="category_group_1_1" id_category="Home" id_group="Visitor"/>
<category_group id="category_group_1_2" id_category="Home" id_group="Guest"/>
<category_group id="category_group_1_3" id_category="Home" id_group="Default"/>
<category_group id="category_group_1_3" id_category="Home" id_group="Customer"/>
</entities>
</entity_category_group>
+14 -14
View File
@@ -192,13 +192,13 @@
<value>0</value>
</configuration>
<configuration id="PS_1_3_UPDATE_DATE" name="PS_1_3_UPDATE_DATE">
<value>2011-12-22 23:47:41</value>
<value>2011-12-27 10:20:42</value>
</configuration>
<configuration id="PS_PRICE_ROUND_MODE" name="PS_PRICE_ROUND_MODE">
<value>2</value>
</configuration>
<configuration id="PS_1_3_2_UPDATE_DATE" name="PS_1_3_2_UPDATE_DATE">
<value>2011-12-22 23:47:41</value>
<value>2011-12-27 10:20:42</value>
</configuration>
<configuration id="PS_CONDITIONS_CMS_ID" name="PS_CONDITIONS_CMS_ID">
<value>3</value>
@@ -342,7 +342,7 @@
<value>1</value>
</configuration>
<configuration id="PS_IMG_UPDATE_TIME" name="PS_IMG_UPDATE_TIME">
<value>1324594061</value>
<value>1324977642</value>
</configuration>
<configuration id="PS_BACKUP_DROP_TABLE" name="PS_BACKUP_DROP_TABLE">
<value>1</value>
@@ -494,6 +494,15 @@
<configuration id="PS_SMARTY_CONSOLE" name="PS_SMARTY_CONSOLE">
<value>0</value>
</configuration>
<configuration id="PS_INVOICE_MODEL" name="PS_INVOICE_MODEL">
<value>invoice</value>
</configuration>
<configuration id="PS_LIMIT_UPLOAD_IMAGE_VALUE" name="PS_LIMIT_UPLOAD_IMAGE_VALUE">
<value>2</value>
</configuration>
<configuration id="PS_LIMIT_UPLOAD_FILE_VALUE" name="PS_LIMIT_UPLOAD_FILE_VALUE">
<value>2</value>
</configuration>
<configuration id="MB_PAY_TO_EMAIL" name="MB_PAY_TO_EMAIL">
<value/>
</configuration>
@@ -840,7 +849,7 @@
<value>1.5.0.2</value>
</configuration>
<configuration id="PS_SHOP_NAME" name="PS_SHOP_NAME">
<value>PrestaShop</value>
<value>Test</value>
</configuration>
<configuration id="PS_SHOP_EMAIL" name="PS_SHOP_EMAIL">
<value>raphael.malie@gmail.com</value>
@@ -849,16 +858,7 @@
<value>1</value>
</configuration>
<configuration id="PS_SHOP_ACTIVITY" name="PS_SHOP_ACTIVITY">
<value>0</value>
</configuration>
<configuration id="PS_INVOICE_MODEL" name="PS_INVOICE_MODEL">
<value>invoice</value>
</configuration>
<configuration id="PS_LIMIT_UPLOAD_IMAGE_VALUE" name="PS_LIMIT_UPLOAD_IMAGE_VALUE">
<value>2</value>
</configuration>
<configuration id="PS_LIMIT_UPLOAD_FILE_VALUE" name="PS_LIMIT_UPLOAD_FILE_VALUE">
<value>2</value>
<value>10</value>
</configuration>
</entities>
</entity_configuration>
+86 -86
View File
@@ -7,432 +7,432 @@
<field name="live_edit"/>
</fields>
<entities>
<hook id="displayPayment" live_edit="1" is_native="0">
<hook id="displayPayment" live_edit="1">
<name>displayPayment</name>
<title>Payment</title>
<description/>
</hook>
<hook id="actionValidateOrder" live_edit="0" is_native="0">
<hook id="actionValidateOrder" live_edit="0">
<name>actionValidateOrder</name>
<title>New orders</title>
<description/>
</hook>
<hook id="actionPaymentConfirmation" live_edit="0" is_native="0">
<hook id="actionPaymentConfirmation" live_edit="0">
<name>actionPaymentConfirmation</name>
<title>Payment confirmation</title>
<description/>
</hook>
<hook id="displayPaymentReturn" live_edit="0" is_native="0">
<hook id="displayPaymentReturn" live_edit="0">
<name>displayPaymentReturn</name>
<title>Payment return</title>
<description/>
</hook>
<hook id="actionUpdateQuantity" live_edit="0" is_native="0">
<hook id="actionUpdateQuantity" live_edit="0">
<name>actionUpdateQuantity</name>
<title>Quantity update</title>
<description>Quantity is updated only when the customer effectively &lt;b&gt;place&lt;/b&gt; his order.</description>
</hook>
<hook id="displayRightColumn" live_edit="1" is_native="0">
<hook id="displayRightColumn" live_edit="1">
<name>displayRightColumn</name>
<title>Right column blocks</title>
<description/>
</hook>
<hook id="displayLeftColumn" live_edit="1" is_native="0">
<hook id="displayLeftColumn" live_edit="1">
<name>displayLeftColumn</name>
<title>Left column blocks</title>
<description/>
</hook>
<hook id="displayHome" live_edit="1" is_native="0">
<hook id="displayHome" live_edit="1">
<name>displayHome</name>
<title>Homepage content</title>
<description/>
</hook>
<hook id="displayHeader" live_edit="0" is_native="0">
<hook id="displayHeader" live_edit="0">
<name>displayHeader</name>
<title>Header of pages</title>
<description>A hook which allow you to do things in the header of each pages</description>
</hook>
<hook id="actionCartSave" live_edit="0" is_native="0">
<hook id="actionCartSave" live_edit="0">
<name>actionCartSave</name>
<title>Cart creation and update</title>
<description/>
</hook>
<hook id="actionAuthentication" live_edit="0" is_native="0">
<hook id="actionAuthentication" live_edit="0">
<name>actionAuthentication</name>
<title>Successful customer authentication</title>
<description/>
</hook>
<hook id="actionProductAdd" live_edit="0" is_native="0">
<hook id="actionProductAdd" live_edit="0">
<name>actionProductAdd</name>
<title>Product creation</title>
<description/>
</hook>
<hook id="actionProductUpdate" live_edit="0" is_native="0">
<hook id="actionProductUpdate" live_edit="0">
<name>actionProductUpdate</name>
<title>Product Update</title>
<description/>
</hook>
<hook id="displayTop" live_edit="0" is_native="0">
<hook id="displayTop" live_edit="0">
<name>displayTop</name>
<title>Top of pages</title>
<description>A hook which allow you to do things a the top of each pages.</description>
</hook>
<hook id="displayRightColumnProduct" live_edit="0" is_native="0">
<hook id="displayRightColumnProduct" live_edit="0">
<name>displayRightColumnProduct</name>
<title>Extra actions on the product page (right column).</title>
<description/>
</hook>
<hook id="actionProductDelete" live_edit="0" is_native="0">
<hook id="actionProductDelete" live_edit="0">
<name>actionProductDelete</name>
<title>Product deletion</title>
<description>This hook is called when a product is deleted</description>
</hook>
<hook id="displayFooterProduct" live_edit="1" is_native="0">
<hook id="displayFooterProduct" live_edit="1">
<name>displayFooterProduct</name>
<title>Product footer</title>
<description>Add new blocks under the product description</description>
</hook>
<hook id="displayInvoice" live_edit="0" is_native="0">
<hook id="displayInvoice" live_edit="0">
<name>displayInvoice</name>
<title>Invoice</title>
<description>Add blocks to invoice (order)</description>
</hook>
<hook id="actionOrderStatusUpdate" live_edit="0" is_native="0">
<hook id="actionOrderStatusUpdate" live_edit="0">
<name>actionOrderStatusUpdate</name>
<title>Order's status update event</title>
<description>Launch modules when the order's status of an order change.</description>
</hook>
<hook id="displayAdminOrder" live_edit="0" is_native="0">
<hook id="displayAdminOrder" live_edit="0">
<name>displayAdminOrder</name>
<title>Display in Back-Office, tab AdminOrder</title>
<description>Launch modules when the tab AdminOrder is displayed on back-office.</description>
</hook>
<hook id="displayFooter" live_edit="0" is_native="0">
<hook id="displayFooter" live_edit="0">
<name>displayFooter</name>
<title>Footer</title>
<description>Add block in footer</description>
</hook>
<hook id="displayPDFInvoice" live_edit="0" is_native="0">
<hook id="displayPDFInvoice" live_edit="0">
<name>displayPDFInvoice</name>
<title>PDF Invoice</title>
<description>Allow the display of extra informations into the PDF invoice</description>
</hook>
<hook id="displayAdminCustomers" live_edit="0" is_native="0">
<hook id="displayAdminCustomers" live_edit="0">
<name>displayAdminCustomers</name>
<title>Display in Back-Office, tab AdminCustomers</title>
<description>Launch modules when the tab AdminCustomers is displayed on back-office.</description>
</hook>
<hook id="displayOrderConfirmation" live_edit="0" is_native="0">
<hook id="displayOrderConfirmation" live_edit="0">
<name>displayOrderConfirmation</name>
<title>Order confirmation page</title>
<description>Called on order confirmation page</description>
</hook>
<hook id="actionCustomerAccountAdd" live_edit="0" is_native="0">
<hook id="actionCustomerAccountAdd" live_edit="0">
<name>actionCustomerAccountAdd</name>
<title>Successful customer create account</title>
<description>Called when new customer create account successfuled</description>
</hook>
<hook id="displayCustomerAccount" live_edit="0" is_native="0">
<hook id="displayCustomerAccount" live_edit="0">
<name>displayCustomerAccount</name>
<title>Customer account page display in front office</title>
<description>Display on page account of the customer</description>
</hook>
<hook id="actionOrderSlipAdd" live_edit="0" is_native="0">
<hook id="actionOrderSlipAdd" live_edit="0">
<name>actionOrderSlipAdd</name>
<title>Called when a order slip is created</title>
<description>Called when a quantity of one product change in an order.</description>
</hook>
<hook id="displayProductTab" live_edit="0" is_native="0">
<hook id="displayProductTab" live_edit="0">
<name>displayProductTab</name>
<title>Tabs on product page</title>
<description>Called on order product page tabs</description>
</hook>
<hook id="displayProductTabContent" live_edit="0" is_native="0">
<hook id="displayProductTabContent" live_edit="0">
<name>displayProductTabContent</name>
<title>Content of tabs on product page</title>
<description>Called on order product page tabs</description>
</hook>
<hook id="displayShoppingCartFooter" live_edit="0" is_native="0">
<hook id="displayShoppingCartFooter" live_edit="0">
<name>displayShoppingCartFooter</name>
<title>Shopping cart footer</title>
<description>Display some specific informations on the shopping cart page</description>
</hook>
<hook id="displayCustomerAccountForm" live_edit="0" is_native="0">
<hook id="displayCustomerAccountForm" live_edit="0">
<name>displayCustomerAccountForm</name>
<title>Customer account creation form</title>
<description>Display some information on the form to create a customer account</description>
</hook>
<hook id="displayAdminStatsModules" live_edit="0" is_native="0">
<hook id="displayAdminStatsModules" live_edit="0">
<name>displayAdminStatsModules</name>
<title>Stats - Modules</title>
<description/>
</hook>
<hook id="displayAdminStatsGraphEngine" live_edit="0" is_native="0">
<hook id="displayAdminStatsGraphEngine" live_edit="0">
<name>displayAdminStatsGraphEngine</name>
<title>Graph Engines</title>
<description/>
</hook>
<hook id="actionOrderReturn" live_edit="0" is_native="0">
<hook id="actionOrderReturn" live_edit="0">
<name>actionOrderReturn</name>
<title>Product returned</title>
<description/>
</hook>
<hook id="displayProductButtons" live_edit="0" is_native="0">
<hook id="displayProductButtons" live_edit="0">
<name>displayProductButtons</name>
<title>Product actions</title>
<description>Put new action buttons on product page</description>
</hook>
<hook id="displayBackOfficeHome" live_edit="0" is_native="0">
<hook id="displayBackOfficeHome" live_edit="0">
<name>displayBackOfficeHome</name>
<title>Administration panel homepage</title>
<description/>
</hook>
<hook id="displayAdminStatsGridEngine" live_edit="0" is_native="0">
<hook id="displayAdminStatsGridEngine" live_edit="0">
<name>displayAdminStatsGridEngine</name>
<title>Grid Engines</title>
<description/>
</hook>
<hook id="actionWatermark" live_edit="0" is_native="0">
<hook id="actionWatermark" live_edit="0">
<name>actionWatermark</name>
<title>Watermark</title>
<description/>
</hook>
<hook id="actionProductCancel" live_edit="0" is_native="0">
<hook id="actionProductCancel" live_edit="0">
<name>actionProductCancel</name>
<title>Product cancelled</title>
<description>This hook is called when you cancel a product in an order</description>
</hook>
<hook id="displayLeftColumnProduct" live_edit="0" is_native="0">
<hook id="displayLeftColumnProduct" live_edit="0">
<name>displayLeftColumnProduct</name>
<title>Extra actions on the product page (left column).</title>
<description/>
</hook>
<hook id="actionProductOutOfStock" live_edit="0" is_native="0">
<hook id="actionProductOutOfStock" live_edit="0">
<name>actionProductOutOfStock</name>
<title>Product out of stock</title>
<description>Make action while product is out of stock</description>
</hook>
<hook id="actionProductAttributeUpdate" live_edit="0" is_native="0">
<hook id="actionProductAttributeUpdate" live_edit="0">
<name>actionProductAttributeUpdate</name>
<title>Product attribute update</title>
<description/>
</hook>
<hook id="displayCarrierList" live_edit="0" is_native="0">
<hook id="displayCarrierList" live_edit="0">
<name>displayCarrierList</name>
<title>Extra carrier (module mode)</title>
<description/>
</hook>
<hook id="displayShoppingCart" live_edit="0" is_native="0">
<hook id="displayShoppingCart" live_edit="0">
<name>displayShoppingCart</name>
<title>Shopping cart extra button</title>
<description>Display some specific informations</description>
</hook>
<hook id="actionSearch" live_edit="0" is_native="0">
<hook id="actionSearch" live_edit="0">
<name>actionSearch</name>
<title>Search</title>
<description/>
</hook>
<hook id="displayBeforePayment" live_edit="0" is_native="0">
<hook id="displayBeforePayment" live_edit="0">
<name>displayBeforePayment</name>
<title>Redirect in order process</title>
<description>Redirect user to the module instead of displaying payment modules</description>
</hook>
<hook id="actionCarrierUpdate" live_edit="0" is_native="0">
<hook id="actionCarrierUpdate" live_edit="0">
<name>actionCarrierUpdate</name>
<title>Carrier Update</title>
<description>This hook is called when a carrier is updated</description>
</hook>
<hook id="actionOrderStatusPostUpdate" live_edit="0" is_native="0">
<hook id="actionOrderStatusPostUpdate" live_edit="0">
<name>actionOrderStatusPostUpdate</name>
<title>Post update of order status</title>
<description/>
</hook>
<hook id="displayCustomerAccountFormTop" live_edit="0" is_native="0">
<hook id="displayCustomerAccountFormTop" live_edit="0">
<name>displayCustomerAccountFormTop</name>
<title>Block above the form for create an account</title>
<description/>
</hook>
<hook id="displayBackOfficeHeader" live_edit="0" is_native="0">
<hook id="displayBackOfficeHeader" live_edit="0">
<name>displayBackOfficeHeader</name>
<title>Administration panel header</title>
<description/>
</hook>
<hook id="displayBackOfficeTop" live_edit="0" is_native="0">
<hook id="displayBackOfficeTop" live_edit="0">
<name>displayBackOfficeTop</name>
<title>Administration panel hover the tabs</title>
<description/>
</hook>
<hook id="displayBackOfficeFooter" live_edit="0" is_native="0">
<hook id="displayBackOfficeFooter" live_edit="0">
<name>displayBackOfficeFooter</name>
<title>Administration panel footer</title>
<description/>
</hook>
<hook id="actionProductAttributeDelete" live_edit="0" is_native="0">
<hook id="actionProductAttributeDelete" live_edit="0">
<name>actionProductAttributeDelete</name>
<title>Product Attribute Deletion</title>
<description/>
</hook>
<hook id="actionCarrierProcess" live_edit="0" is_native="0">
<hook id="actionCarrierProcess" live_edit="0">
<name>actionCarrierProcess</name>
<title>Carrier Process</title>
<description/>
</hook>
<hook id="actionOrderDetail" live_edit="0" is_native="0">
<hook id="actionOrderDetail" live_edit="0">
<name>actionOrderDetail</name>
<title>Order Detail</title>
<description>To set the follow-up in smarty when order detail is called</description>
</hook>
<hook id="displayBeforeCarrier" live_edit="0" is_native="0">
<hook id="displayBeforeCarrier" live_edit="0">
<name>displayBeforeCarrier</name>
<title>Before carrier list</title>
<description>This hook is display before the carrier list on Front office</description>
</hook>
<hook id="displayOrderDetail" live_edit="0" is_native="0">
<hook id="displayOrderDetail" live_edit="0">
<name>displayOrderDetail</name>
<title>Order detail displayed</title>
<description>Displayed on order detail on front office</description>
</hook>
<hook id="actionPaymentCCAdd" live_edit="0" is_native="0">
<hook id="actionPaymentCCAdd" live_edit="0">
<name>actionPaymentCCAdd</name>
<title>Payment CC added</title>
<description>Payment CC added</description>
</hook>
<hook id="displayProductComparison" live_edit="0" is_native="0">
<hook id="displayProductComparison" live_edit="0">
<name>displayProductComparison</name>
<title>Extra Product Comparison</title>
<description>Extra Product Comparison</description>
</hook>
<hook id="actionCategoryAdd" live_edit="0" is_native="0">
<hook id="actionCategoryAdd" live_edit="0">
<name>actionCategoryAdd</name>
<title>Category creation</title>
<description/>
</hook>
<hook id="actionCategoryUpdate" live_edit="0" is_native="0">
<hook id="actionCategoryUpdate" live_edit="0">
<name>actionCategoryUpdate</name>
<title>Category modification</title>
<description/>
</hook>
<hook id="actionCategoryDelete" live_edit="0" is_native="0">
<hook id="actionCategoryDelete" live_edit="0">
<name>actionCategoryDelete</name>
<title>Category removal</title>
<description/>
</hook>
<hook id="actionBeforeAuthentication" live_edit="0" is_native="0">
<hook id="actionBeforeAuthentication" live_edit="0">
<name>actionBeforeAuthentication</name>
<title>Before Authentication</title>
<description>Before authentication</description>
</hook>
<hook id="displayPaymentTop" live_edit="0" is_native="0">
<hook id="displayPaymentTop" live_edit="0">
<name>displayPaymentTop</name>
<title>Top of payment page</title>
<description>Top of payment page</description>
</hook>
<hook id="actionHtaccessCreate" live_edit="0" is_native="0">
<hook id="actionHtaccessCreate" live_edit="0">
<name>actionHtaccessCreate</name>
<title>After htaccess creation</title>
<description>After htaccess creation</description>
</hook>
<hook id="actionAdminMetaSave" live_edit="0" is_native="0">
<hook id="actionAdminMetaSave" live_edit="0">
<name>actionAdminMetaSave</name>
<title>After save configuration in AdminMeta</title>
<description>After save configuration in AdminMeta</description>
</hook>
<hook id="displayAttributeGroupForm" live_edit="0" is_native="0">
<hook id="displayAttributeGroupForm" live_edit="0">
<name>displayAttributeGroupForm</name>
<title>Add fileds to the form "attribute group"</title>
<description>Add fileds to the form "attribute group"</description>
</hook>
<hook id="actionAttributeGroupSave" live_edit="0" is_native="0">
<hook id="actionAttributeGroupSave" live_edit="0">
<name>actionAttributeGroupSave</name>
<title>On saving attribute group</title>
<description>On saving attribute group</description>
</hook>
<hook id="actionAttributeGroupDelete" live_edit="0" is_native="0">
<hook id="actionAttributeGroupDelete" live_edit="0">
<name>actionAttributeGroupDelete</name>
<title>On deleting attribute group</title>
<description>On deleting attribute group</description>
</hook>
<hook id="displayFeatureForm" live_edit="0" is_native="0">
<hook id="displayFeatureForm" live_edit="0">
<name>displayFeatureForm</name>
<title>Add fields to the form "feature"</title>
<description>Add fields to the form "feature"</description>
</hook>
<hook id="actionFeatureSave" live_edit="0" is_native="0">
<hook id="actionFeatureSave" live_edit="0">
<name>actionFeatureSave</name>
<title>On saving attribute feature</title>
<description>On saving attribute feature</description>
</hook>
<hook id="actionFeatureDelete" live_edit="0" is_native="0">
<hook id="actionFeatureDelete" live_edit="0">
<name>actionFeatureDelete</name>
<title>On deleting attribute feature</title>
<description>On deleting attribute feature</description>
</hook>
<hook id="actionProductSave" live_edit="0" is_native="0">
<hook id="actionProductSave" live_edit="0">
<name>actionProductSave</name>
<title>On saving products</title>
<description>On saving products</description>
</hook>
<hook id="actionProductListOverride" live_edit="0" is_native="0">
<hook id="actionProductListOverride" live_edit="0">
<name>actionProductListOverride</name>
<title>Assign product list to a category</title>
<description>Assign product list to a category</description>
</hook>
<hook id="displayAttributeGroupPostProcess" live_edit="0" is_native="0">
<hook id="displayAttributeGroupPostProcess" live_edit="0">
<name>displayAttributeGroupPostProcess</name>
<title>On post-process in admin attribute group</title>
<description>On post-process in admin attribute group</description>
</hook>
<hook id="displayFeaturePostProcess" live_edit="0" is_native="0">
<hook id="displayFeaturePostProcess" live_edit="0">
<name>displayFeaturePostProcess</name>
<title>On post-process in admin feature</title>
<description>On post-process in admin feature</description>
</hook>
<hook id="displayFeatureValueForm" live_edit="0" is_native="0">
<hook id="displayFeatureValueForm" live_edit="0">
<name>displayFeatureValueForm</name>
<title>Add fileds to the form "feature value"</title>
<description>Add fileds to the form "feature value"</description>
</hook>
<hook id="displayFeatureValuePostProcess" live_edit="0" is_native="0">
<hook id="displayFeatureValuePostProcess" live_edit="0">
<name>displayFeatureValuePostProcess</name>
<title>On post-process in admin feature value</title>
<description>On post-process in admin feature value</description>
</hook>
<hook id="actionFeatureValueDelete" live_edit="0" is_native="0">
<hook id="actionFeatureValueDelete" live_edit="0">
<name>actionFeatureValueDelete</name>
<title>On deleting attribute feature value</title>
<description>On deleting attribute feature value</description>
</hook>
<hook id="actionFeatureValueSave" live_edit="0" is_native="0">
<hook id="actionFeatureValueSave" live_edit="0">
<name>actionFeatureValueSave</name>
<title>On saving attribute feature value</title>
<description>On saving attribute feature value</description>
</hook>
<hook id="displayAttributeForm" live_edit="0" is_native="0">
<hook id="displayAttributeForm" live_edit="0">
<name>displayAttributeForm</name>
<title>Add fileds to the form "feature value"</title>
<description>Add fileds to the form "feature value"</description>
</hook>
<hook id="actionAttributePostProcess" live_edit="0" is_native="0">
<hook id="actionAttributePostProcess" live_edit="0">
<name>actionAttributePostProcess</name>
<title>On post-process in admin feature value</title>
<description>On post-process in admin feature value</description>
</hook>
<hook id="actionAttributeDelete" live_edit="0" is_native="0">
<hook id="actionAttributeDelete" live_edit="0">
<name>actionAttributeDelete</name>
<title>On deleting attribute feature value</title>
<description>On deleting attribute feature value</description>
</hook>
<hook id="actionAttributeSave" live_edit="0" is_native="0">
<hook id="actionAttributeSave" live_edit="0">
<name>actionAttributeSave</name>
<title>On saving attribute feature value</title>
<description>On saving attribute feature value</description>
</hook>
<hook id="actionTaxManager" live_edit="0" is_native="0">
<hook id="actionTaxManager" live_edit="0">
<name>actionTaxManager</name>
<title>Tax Manager Factory</title>
<description/>
</hook>
<hook id="displayMyAccountBlock" live_edit="0" is_native="0">
<hook id="displayMyAccountBlock" live_edit="0">
<name>displayMyAccountBlock</name>
<title>My account block</title>
<description>Display extra informations inside the "my account" block</description>
+1 -1
View File
@@ -32,7 +32,7 @@
<address id="Mon_adresse" id_country="FR" id_state="" id_customer="John" id_manufacturer="" id_supplier="" id_warehouse="0" alias="Mon adresse" company="My Company" lastname="DOE" firstname="John" postcode="75000" phone="0102030405" phone_mobile="" vat_number="" dni="" active="1">
<address1>16, Main street</address1>
<address2>2nd floor</address2>
<city>Paris</city>
<city>Paris </city>
<other/>
</address>
</entities>
@@ -5,8 +5,8 @@
<field name="id_group" relation="group"/>
</fields>
<entities>
<carrier_group id="carrier_group_2_1" id_carrier="My_carrier" id_group="Unidentified"/>
<carrier_group id="carrier_group_2_1" id_carrier="My_carrier" id_group="Visitor"/>
<carrier_group id="carrier_group_2_2" id_carrier="My_carrier" id_group="Guest"/>
<carrier_group id="carrier_group_2_3" id_carrier="My_carrier" id_group="Default"/>
<carrier_group id="carrier_group_2_3" id_carrier="My_carrier" id_group="Customer"/>
</entities>
</entity_carrier_group>
@@ -5,14 +5,14 @@
<field name="id_group" relation="group"/>
</fields>
<entities>
<category_group id="category_group_2_1" id_category="iPods" id_group="Unidentified"/>
<category_group id="category_group_2_1" id_category="iPods" id_group="Visitor"/>
<category_group id="category_group_2_2" id_category="iPods" id_group="Guest"/>
<category_group id="category_group_2_3" id_category="iPods" id_group="Default"/>
<category_group id="category_group_3_1" id_category="Accessories" id_group="Unidentified"/>
<category_group id="category_group_2_3" id_category="iPods" id_group="Customer"/>
<category_group id="category_group_3_1" id_category="Accessories" id_group="Visitor"/>
<category_group id="category_group_3_2" id_category="Accessories" id_group="Guest"/>
<category_group id="category_group_3_3" id_category="Accessories" id_group="Default"/>
<category_group id="category_group_4_1" id_category="Laptops" id_group="Unidentified"/>
<category_group id="category_group_3_3" id_category="Accessories" id_group="Customer"/>
<category_group id="category_group_4_1" id_category="Laptops" id_group="Visitor"/>
<category_group id="category_group_4_2" id_category="Laptops" id_group="Guest"/>
<category_group id="category_group_4_3" id_category="Laptops" id_group="Default"/>
<category_group id="category_group_4_3" id_category="Laptops" id_group="Customer"/>
</entities>
</entity_category_group>
+1 -1
View File
@@ -19,7 +19,7 @@
<field name="is_guest"/>
</fields>
<entities>
<customer id="John" id_gender="Mr" id_default_group="3" firstname="John" lastname="DOE" passwd="3b804a99e990bdc8d8788f72a1ff355b" last_passwd_gen="2011-12-22 23:47:41" birthday="1970-01-15" newsletter="1" ip_registration_newsletter="" newsletter_date_add="" optin="1" secure_key="47ce86627c1f3c792a80773c5d2deaf8" active="1" is_guest="0">
<customer id="John" id_gender="Mr" id_default_group="3" firstname="John" lastname="DOE" passwd="f5e4278a3390ec03252e7baab963cb8b" last_passwd_gen="2011-12-27 10:20:43" birthday="1970-01-15" newsletter="1" ip_registration_newsletter="" newsletter_date_add="" optin="1" secure_key="47ce86627c1f3c792a80773c5d2deaf8" active="1" is_guest="0">
<email>pub@prestashop.com</email>
<note/>
</customer>
+1 -1
View File
@@ -49,7 +49,7 @@
<name>Coconut Grove</name>
<address1>2999 SW 32nd Avenue</address1>
<address2/>
<city>Miami</city>
<city> Miami</city>
<hours>a:7:{i:0;s:13:"09:00 - 19:00";i:1;s:13:"09:00 - 19:00";i:2;s:13:"09:00 - 19:00";i:3;s:13:"09:00 - 19:00";i:4;s:13:"09:00 - 19:00";i:5;s:13:"10:00 - 16:00";i:6;s:13:"10:00 - 16:00";}</hours>
<email/>
<note/>