Browse Source

updated subscriptions

Bachir Soussi Chiadmi 10 years ago
parent
commit
ccd86a08a4

+ 0 - 529
materio_subscriptions/materio_subscriptions.features.field.inc

@@ -1,529 +0,0 @@
-<?php
-/**
- * @file
- * materio_subscriptions.features.field.inc
- */
-
-/**
- * Implements hook_field_default_fields().
- */
-function materio_subscriptions_field_default_fields() {
-  $fields = array();
-
-  // Exported field: 'node-product-body'.
-  $fields['node-product-body'] = array(
-    'field_config' => array(
-      'active' => '1',
-      'cardinality' => '1',
-      'deleted' => '0',
-      'entity_types' => array(
-        0 => 'node',
-      ),
-      'field_name' => 'body',
-      'field_permissions' => array(
-        'type' => '0',
-      ),
-      'foreign keys' => array(
-        'format' => array(
-          'columns' => array(
-            'format' => 'format',
-          ),
-          'table' => 'filter_format',
-        ),
-      ),
-      'indexes' => array(
-        'format' => array(
-          0 => 'format',
-        ),
-      ),
-      'locked' => '0',
-      'module' => 'text',
-      'settings' => array(
-        'entity_translation_sync' => FALSE,
-        'profile2_private' => FALSE,
-      ),
-      'translatable' => '1',
-      'type' => 'text_with_summary',
-    ),
-    'field_instance' => array(
-      'bundle' => 'product',
-      'default_value' => NULL,
-      'deleted' => '0',
-      'description' => '',
-      'display' => array(
-        'bookmark' => array(
-          'label' => 'above',
-          'settings' => array(),
-          'type' => 'hidden',
-          'weight' => 0,
-        ),
-        'cardbig' => array(
-          'label' => 'above',
-          'settings' => array(),
-          'type' => 'hidden',
-          'weight' => 0,
-        ),
-        'cardfull' => array(
-          'label' => 'above',
-          'settings' => array(),
-          'type' => 'hidden',
-          'weight' => 0,
-        ),
-        'cardmedium' => array(
-          'label' => 'above',
-          'settings' => array(),
-          'type' => 'hidden',
-          'weight' => 0,
-        ),
-        'cardsmall' => array(
-          'label' => 'above',
-          'settings' => array(),
-          'type' => 'hidden',
-          'weight' => 0,
-        ),
-        'default' => array(
-          'label' => 'hidden',
-          'module' => 'text',
-          'settings' => array(),
-          'type' => 'text_default',
-          'weight' => 0,
-        ),
-        'print' => array(
-          'label' => 'above',
-          'settings' => array(),
-          'type' => 'hidden',
-          'weight' => 0,
-        ),
-        'teaser' => array(
-          'label' => 'hidden',
-          'module' => 'text',
-          'settings' => array(
-            'trim_length' => 600,
-          ),
-          'type' => 'text_summary_or_trimmed',
-          'weight' => 0,
-        ),
-      ),
-      'entity_type' => 'node',
-      'field_name' => 'body',
-      'label' => 'Description',
-      'required' => FALSE,
-      'settings' => array(
-        'display_summary' => TRUE,
-        'entity_translation_sync' => FALSE,
-        'text_processing' => 1,
-        'user_register_form' => FALSE,
-      ),
-      'widget' => array(
-        'module' => 'text',
-        'settings' => array(
-          'rows' => 20,
-          'summary_rows' => 5,
-        ),
-        'type' => 'text_textarea_with_summary',
-        'weight' => 31,
-      ),
-    ),
-  );
-
-  // Exported field: 'node-product-taxonomy_catalog'.
-  $fields['node-product-taxonomy_catalog'] = array(
-    'field_config' => array(
-      'active' => '1',
-      'cardinality' => '-1',
-      'deleted' => '0',
-      'entity_types' => array(),
-      'field_name' => 'taxonomy_catalog',
-      'foreign keys' => array(
-        'tid' => array(
-          'columns' => array(
-            'tid' => 'tid',
-          ),
-          'table' => 'taxonomy_term_data',
-        ),
-      ),
-      'indexes' => array(
-        'tid' => array(
-          0 => 'tid',
-        ),
-      ),
-      'locked' => '0',
-      'module' => 'taxonomy',
-      'settings' => array(
-        'allowed_values' => array(
-          0 => array(
-            'vocabulary' => 'catalog',
-            'parent' => 0,
-          ),
-        ),
-        'entity_translation_sync' => FALSE,
-        'options_list_callback' => 'i18n_taxonomy_allowed_values',
-      ),
-      'translatable' => '0',
-      'type' => 'taxonomy_term_reference',
-    ),
-    'field_instance' => array(
-      'bundle' => 'product',
-      'default_value' => NULL,
-      'deleted' => '0',
-      'description' => '',
-      'display' => array(
-        'bookmark' => array(
-          'label' => 'above',
-          'settings' => array(),
-          'type' => 'hidden',
-          'weight' => 0,
-        ),
-        'cardbig' => array(
-          'label' => 'above',
-          'settings' => array(),
-          'type' => 'hidden',
-          'weight' => 0,
-        ),
-        'cardfull' => array(
-          'label' => 'above',
-          'settings' => array(),
-          'type' => 'hidden',
-          'weight' => 0,
-        ),
-        'cardmedium' => array(
-          'label' => 'above',
-          'settings' => array(),
-          'type' => 'hidden',
-          'weight' => 0,
-        ),
-        'cardsmall' => array(
-          'label' => 'above',
-          'settings' => array(),
-          'type' => 'hidden',
-          'weight' => 0,
-        ),
-        'default' => array(
-          'label' => 'above',
-          'module' => 'i18n_taxonomy',
-          'settings' => array(),
-          'type' => 'i18n_taxonomy_term_reference_link',
-          'weight' => 2,
-        ),
-        'print' => array(
-          'label' => 'above',
-          'settings' => array(),
-          'type' => 'hidden',
-          'weight' => 0,
-        ),
-        'teaser' => array(
-          'label' => 'above',
-          'settings' => array(),
-          'type' => 'hidden',
-          'weight' => 0,
-        ),
-      ),
-      'entity_type' => 'node',
-      'field_name' => 'taxonomy_catalog',
-      'label' => 'Catalog',
-      'required' => FALSE,
-      'settings' => array(
-        'entity_translation_sync' => FALSE,
-        'user_register_form' => FALSE,
-      ),
-      'widget' => array(
-        'module' => 'options',
-        'settings' => array(),
-        'type' => 'options_select',
-        'weight' => 33,
-      ),
-    ),
-  );
-
-  // Exported field: 'node-product-uc_product_image'.
-  $fields['node-product-uc_product_image'] = array(
-    'field_config' => array(
-      'active' => '1',
-      'cardinality' => '-1',
-      'deleted' => '0',
-      'entity_types' => array(),
-      'field_name' => 'uc_product_image',
-      'foreign keys' => array(
-        'fid' => array(
-          'columns' => array(
-            'fid' => 'fid',
-          ),
-          'table' => 'file_managed',
-        ),
-      ),
-      'indexes' => array(
-        'fid' => array(
-          0 => 'fid',
-        ),
-      ),
-      'locked' => '0',
-      'module' => 'image',
-      'settings' => array(
-        'default_image' => 0,
-        'entity_translation_sync' => array(
-          0 => 'fid',
-        ),
-        'uri_scheme' => 'public',
-      ),
-      'translatable' => '0',
-      'type' => 'image',
-    ),
-    'field_instance' => array(
-      'bundle' => 'product',
-      'deleted' => '0',
-      'description' => '',
-      'display' => array(
-        'bookmark' => array(
-          'label' => 'above',
-          'settings' => array(),
-          'type' => 'hidden',
-          'weight' => 0,
-        ),
-        'cardbig' => array(
-          'label' => 'above',
-          'settings' => array(),
-          'type' => 'hidden',
-          'weight' => 0,
-        ),
-        'cardfull' => array(
-          'label' => 'above',
-          'settings' => array(),
-          'type' => 'hidden',
-          'weight' => 0,
-        ),
-        'cardmedium' => array(
-          'label' => 'above',
-          'settings' => array(),
-          'type' => 'hidden',
-          'weight' => 0,
-        ),
-        'cardsmall' => array(
-          'label' => 'above',
-          'settings' => array(),
-          'type' => 'hidden',
-          'weight' => 0,
-        ),
-        'default' => array(
-          'label' => 'above',
-          'module' => 'image',
-          'settings' => array(
-            'image_link' => '',
-            'image_style' => '',
-          ),
-          'type' => 'image',
-          'weight' => 1,
-        ),
-        'full' => array(
-          'label' => 'hidden',
-          'module' => 'uc_product',
-          'settings' => array(),
-          'type' => 'uc_product_image',
-          'weight' => 0,
-        ),
-        'print' => array(
-          'label' => 'above',
-          'settings' => array(),
-          'type' => 'hidden',
-          'weight' => 0,
-        ),
-        'teaser' => array(
-          'label' => 'hidden',
-          'module' => 'uc_product',
-          'settings' => array(),
-          'type' => 'uc_product_image',
-          'weight' => 1,
-        ),
-      ),
-      'entity_type' => 'node',
-      'field_name' => 'uc_product_image',
-      'label' => 'Image',
-      'required' => FALSE,
-      'settings' => array(
-        'alt_field' => 0,
-        'default_image' => 0,
-        'entity_translation_sync' => FALSE,
-        'file_directory' => '',
-        'file_extensions' => 'png gif jpg jpeg',
-        'max_filesize' => '',
-        'max_resolution' => '',
-        'min_resolution' => '',
-        'title_field' => 0,
-        'user_register_form' => FALSE,
-      ),
-      'weight' => -2,
-      'widget' => array(
-        'module' => 'image',
-        'settings' => array(
-          'preview_image_style' => 'thumbnail',
-          'progress_indicator' => 'throbber',
-        ),
-        'type' => 'image_image',
-        'weight' => 32,
-      ),
-    ),
-  );
-
-  // Exported field: 'taxonomy_term-catalog-synonyms_synonym'.
-  $fields['taxonomy_term-catalog-synonyms_synonym'] = array(
-    'field_config' => array(
-      'active' => '1',
-      'cardinality' => '-1',
-      'deleted' => '0',
-      'entity_types' => array(),
-      'field_name' => 'synonyms_synonym',
-      'field_permissions' => array(
-        'type' => '0',
-      ),
-      'foreign keys' => array(
-        'format' => array(
-          'columns' => array(
-            'format' => 'format',
-          ),
-          'table' => 'filter_format',
-        ),
-      ),
-      'indexes' => array(
-        'format' => array(
-          0 => 'format',
-        ),
-      ),
-      'locked' => '0',
-      'module' => 'text',
-      'settings' => array(
-        'entity_translation_sync' => FALSE,
-        'max_length' => 255,
-        'profile2_private' => FALSE,
-      ),
-      'translatable' => '1',
-      'type' => 'text',
-    ),
-    'field_instance' => array(
-      'bundle' => 'catalog',
-      'default_value' => NULL,
-      'deleted' => '0',
-      'description' => '',
-      'display' => array(
-        'default' => array(
-          'label' => 'above',
-          'module' => 'text',
-          'settings' => array(),
-          'type' => 'text_default',
-          'weight' => 0,
-        ),
-      ),
-      'entity_type' => 'taxonomy_term',
-      'field_name' => 'synonyms_synonym',
-      'label' => 'Synonyms for this term',
-      'required' => FALSE,
-      'settings' => array(
-        'entity_translation_sync' => FALSE,
-        'text_processing' => 0,
-        'user_register_form' => FALSE,
-      ),
-      'widget' => array(
-        'module' => 'text',
-        'settings' => array(
-          'size' => 60,
-        ),
-        'type' => 'text_textfield',
-        'weight' => 31,
-      ),
-    ),
-  );
-
-  // Exported field: 'taxonomy_term-catalog-uc_catalog_image'.
-  $fields['taxonomy_term-catalog-uc_catalog_image'] = array(
-    'field_config' => array(
-      'active' => '1',
-      'cardinality' => '1',
-      'deleted' => '0',
-      'entity_types' => array(),
-      'field_name' => 'uc_catalog_image',
-      'foreign keys' => array(
-        'fid' => array(
-          'columns' => array(
-            'fid' => 'fid',
-          ),
-          'table' => 'file_managed',
-        ),
-      ),
-      'indexes' => array(
-        'fid' => array(
-          0 => 'fid',
-        ),
-      ),
-      'locked' => '0',
-      'module' => 'image',
-      'settings' => array(
-        'default_image' => 0,
-        'entity_translation_sync' => array(
-          0 => 'fid',
-        ),
-        'uri_scheme' => 'public',
-      ),
-      'translatable' => '0',
-      'type' => 'image',
-    ),
-    'field_instance' => array(
-      'bundle' => 'catalog',
-      'deleted' => '0',
-      'description' => '',
-      'display' => array(
-        'default' => array(
-          'label' => 'above',
-          'module' => 'image',
-          'settings' => array(
-            'image_link' => '',
-            'image_style' => '',
-          ),
-          'type' => 'image',
-          'weight' => 1,
-        ),
-        'full' => array(
-          'label' => 'hidden',
-          'module' => 'image',
-          'settings' => array(
-            'image_link' => 'content',
-            'image_style' => 'uc_category',
-          ),
-          'type' => 'image',
-          'weight' => 0,
-        ),
-      ),
-      'entity_type' => 'taxonomy_term',
-      'field_name' => 'uc_catalog_image',
-      'label' => 'Image',
-      'required' => FALSE,
-      'settings' => array(
-        'alt_field' => 0,
-        'default_image' => 0,
-        'entity_translation_sync' => FALSE,
-        'file_directory' => '',
-        'file_extensions' => 'png gif jpg jpeg',
-        'max_filesize' => '',
-        'max_resolution' => '',
-        'min_resolution' => '',
-        'title_field' => 0,
-        'user_register_form' => FALSE,
-      ),
-      'widget' => array(
-        'module' => 'image',
-        'settings' => array(
-          'preview_image_style' => 'thumbnail',
-          'progress_indicator' => 'throbber',
-        ),
-        'type' => 'image_image',
-        'weight' => 32,
-      ),
-    ),
-  );
-
-  // Translatables
-  // Included for use with string extractors like potx.
-  t('Catalog');
-  t('Description');
-  t('Image');
-  t('Synonyms for this term');
-
-  return $fields;
-}

+ 7 - 0
materio_subscriptions/materio_subscriptions.features.inc

@@ -13,6 +13,13 @@ function materio_subscriptions_ctools_plugin_api($module = NULL, $api = NULL) {
   }
 }
 
+/**
+ * Implements hook_views_api().
+ */
+function materio_subscriptions_views_api($module = NULL, $api = NULL) {
+  return array("api" => "3.0");
+}
+
 /**
  * Implements hook_uc_product_default_classes().
  */

+ 55 - 0
materio_subscriptions/materio_subscriptions.features.user_permission.inc

@@ -10,6 +10,24 @@
 function materio_subscriptions_user_default_permissions() {
   $permissions = array();
 
+  // Exported permission: 'access default UC roles expiration list'.
+  $permissions['access default UC roles expiration list'] = array(
+    'name' => 'access default UC roles expiration list',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'materio_admin',
+  );
+
+  // Exported permission: 'access to online payment'.
+  $permissions['access to online payment'] = array(
+    'name' => 'access to online payment',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'materio_user',
+  );
+
   // Exported permission: 'administer attributes'.
   $permissions['administer attributes'] = array(
     'name' => 'administer attributes',
@@ -109,6 +127,15 @@ function materio_subscriptions_user_default_permissions() {
     'module' => 'uc_store',
   );
 
+  // Exported permission: 'configure taxes'.
+  $permissions['configure taxes'] = array(
+    'name' => 'configure taxes',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'uc_taxes',
+  );
+
   // Exported permission: 'create orders'.
   $permissions['create orders'] = array(
     'name' => 'create orders',
@@ -154,6 +181,13 @@ function materio_subscriptions_user_default_permissions() {
     'module' => 'node',
   );
 
+  // Exported permission: 'delete payments'.
+  $permissions['delete payments'] = array(
+    'name' => 'delete payments',
+    'roles' => array(),
+    'module' => 'uc_payment',
+  );
+
   // Exported permission: 'edit any product content'.
   $permissions['edit any product content'] = array(
     'name' => 'edit any product content',
@@ -191,6 +225,13 @@ function materio_subscriptions_user_default_permissions() {
     'module' => 'uc_coupon',
   );
 
+  // Exported permission: 'manual payments'.
+  $permissions['manual payments'] = array(
+    'name' => 'manual payments',
+    'roles' => array(),
+    'module' => 'uc_payment',
+  );
+
   // Exported permission: 'process credit cards'.
   $permissions['process credit cards'] = array(
     'name' => 'process credit cards',
@@ -247,6 +288,13 @@ function materio_subscriptions_user_default_permissions() {
     'module' => 'uc_order',
   );
 
+  // Exported permission: 'view own invoices'.
+  $permissions['view own invoices'] = array(
+    'name' => 'view own invoices',
+    'roles' => array(),
+    'module' => 'uc_order',
+  );
+
   // Exported permission: 'view own orders'.
   $permissions['view own orders'] = array(
     'name' => 'view own orders',
@@ -256,6 +304,13 @@ function materio_subscriptions_user_default_permissions() {
     'module' => 'uc_order',
   );
 
+  // Exported permission: 'view payments'.
+  $permissions['view payments'] = array(
+    'name' => 'view payments',
+    'roles' => array(),
+    'module' => 'uc_payment',
+  );
+
   // Exported permission: 'view reports'.
   $permissions['view reports'] = array(
     'name' => 'view reports',

+ 8 - 2
materio_subscriptions/materio_subscriptions.features.user_role.inc

@@ -13,13 +13,13 @@ function materio_subscriptions_user_default_roles() {
   // Exported role: Adhérent.
   $roles['Adhérent'] = array(
     'name' => 'Adhérent',
-    'weight' => 5,
+    'weight' => 6,
   );
 
   // Exported role: Premium.
   $roles['Premium'] = array(
     'name' => 'Premium',
-    'weight' => 6,
+    'weight' => 7,
   );
 
   // Exported role: Utilisateur.
@@ -28,5 +28,11 @@ function materio_subscriptions_user_default_roles() {
     'weight' => 3,
   );
 
+  // Exported role: Utilisateur test UC.
+  $roles['Utilisateur test UC'] = array(
+    'name' => 'Utilisateur test UC',
+    'weight' => 4,
+  );
+
   return $roles;
 }

+ 51 - 0
materio_subscriptions/materio_subscriptions.info

@@ -1,10 +1,13 @@
 name = Materio Subscriptions
+description = susbcritpion ubercart system
 core = 7.x
 package = Materio
 dependencies[] = ctools
 dependencies[] = features
 dependencies[] = i18n_taxonomy
 dependencies[] = image
+dependencies[] = materio_admin
+dependencies[] = materio_user
 dependencies[] = node
 dependencies[] = options
 dependencies[] = strongarm
@@ -15,9 +18,13 @@ dependencies[] = uc_cart_links
 dependencies[] = uc_coupon
 dependencies[] = uc_credit
 dependencies[] = uc_order
+dependencies[] = uc_payment
 dependencies[] = uc_product
 dependencies[] = uc_store
+dependencies[] = uc_taxes
+dependencies[] = views
 features[ctools][] = strongarm:strongarm:1
+features[ctools][] = views:views_default:3.0
 features[features_api][] = api:2
 features[field_base][] = body
 features[field_base][] = synonyms_synonym
@@ -31,6 +38,8 @@ features[field_instance][] = taxonomy_term-catalog-synonyms_synonym
 features[field_instance][] = taxonomy_term-catalog-uc_catalog_image
 features[taxonomy][] = catalog
 features[uc_product_classes][] = product
+features[user_permission][] = access default UC roles expiration list
+features[user_permission][] = access to online payment
 features[user_permission][] = administer attributes
 features[user_permission][] = administer cart links
 features[user_permission][] = administer credit cards
@@ -42,34 +51,54 @@ features[user_permission][] = administer product features
 features[user_permission][] = administer product options
 features[user_permission][] = administer products
 features[user_permission][] = administer store
+features[user_permission][] = configure taxes
 features[user_permission][] = create orders
 features[user_permission][] = create product content
 features[user_permission][] = delete any product content
 features[user_permission][] = delete orders
 features[user_permission][] = delete own product content
+features[user_permission][] = delete payments
 features[user_permission][] = edit any product content
 features[user_permission][] = edit orders
 features[user_permission][] = edit own product content
 features[user_permission][] = manage store coupons
+features[user_permission][] = manual payments
 features[user_permission][] = process credit cards
 features[user_permission][] = unconditionally delete orders
 features[user_permission][] = view all orders
 features[user_permission][] = view cart links report
 features[user_permission][] = view cc details
 features[user_permission][] = view customers
+features[user_permission][] = view own invoices
 features[user_permission][] = view own orders
+features[user_permission][] = view payments
 features[user_permission][] = view reports
 features[user_permission][] = view store coupons
 features[user_role][] = Adhérent
 features[user_role][] = Premium
 features[user_role][] = Utilisateur
+features[user_role][] = Utilisateur test UC
 features[variable][] = uc_add_item_redirect
 features[variable][] = uc_address_fields
 features[variable][] = uc_address_fields_required
 features[variable][] = uc_address_fields_weight
+features[variable][] = uc_address_format_12
 features[variable][] = uc_address_format_124
+features[variable][] = uc_address_format_16
+features[variable][] = uc_address_format_20
+features[variable][] = uc_address_format_24
 features[variable][] = uc_address_format_250
+features[variable][] = uc_address_format_4
+features[variable][] = uc_address_format_784
+features[variable][] = uc_address_format_795
+features[variable][] = uc_address_format_796
+features[variable][] = uc_address_format_798
+features[variable][] = uc_address_format_8
+features[variable][] = uc_address_format_800
+features[variable][] = uc_address_format_804
+features[variable][] = uc_address_format_826
 features[variable][] = uc_address_format_840
+features[variable][] = uc_address_format_894
 features[variable][] = uc_attribute_option_price_format
 features[variable][] = uc_cap_cart_form_enabled
 features[variable][] = uc_cap_cart_form_weight
@@ -93,6 +122,16 @@ features[variable][] = uc_cart_mail_existing
 features[variable][] = uc_cart_new_account_details
 features[variable][] = uc_cart_new_account_name
 features[variable][] = uc_cart_new_account_password
+features[variable][] = uc_check_address
+features[variable][] = uc_check_mailing_city
+features[variable][] = uc_check_mailing_company
+features[variable][] = uc_check_mailing_country
+features[variable][] = uc_check_mailing_name
+features[variable][] = uc_check_mailing_postal_code
+features[variable][] = uc_check_mailing_street1
+features[variable][] = uc_check_mailing_street2
+features[variable][] = uc_check_mailing_zone
+features[variable][] = uc_check_policy
 features[variable][] = uc_checkout_anonymous
 features[variable][] = uc_checkout_enabled
 features[variable][] = uc_checkout_instructions
@@ -172,6 +211,18 @@ features[variable][] = uc_pane_payment_weight
 features[variable][] = uc_pane_uc_termsofservice_agreement_checkout_enabled
 features[variable][] = uc_pane_uc_termsofservice_agreement_checkout_weight
 features[variable][] = uc_payment_credit_gateway
+features[variable][] = uc_payment_method_check_checkout
+features[variable][] = uc_payment_method_check_weight
+features[variable][] = uc_payment_method_cmcic_checkout
+features[variable][] = uc_payment_method_cmcic_weight
+features[variable][] = uc_payment_method_cod_checkout
+features[variable][] = uc_payment_method_cod_weight
+features[variable][] = uc_payment_method_credit_checkout
+features[variable][] = uc_payment_method_credit_weight
+features[variable][] = uc_payment_method_free_order_checkout
+features[variable][] = uc_payment_method_free_order_weight
+features[variable][] = uc_payment_method_other_checkout
+features[variable][] = uc_payment_method_other_weight
 features[variable][] = uc_payment_show_order_total_preview
 features[variable][] = uc_pg_test_gateway_cc_txn_type
 features[variable][] = uc_pg_test_gateway_enabled

+ 334 - 0
materio_subscriptions/materio_subscriptions.strongarm.inc

@@ -61,6 +61,19 @@ function materio_subscriptions_strongarm() {
   );
   $export['uc_address_fields_weight'] = $strongarm;
 
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_address_format_12';
+  $strongarm->value = '!company
+!first_name !last_name
+!street1
+!street2
+!city
+!postal_code !zone_code
+!country_name_if';
+  $export['uc_address_format_12'] = $strongarm;
+
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
@@ -73,6 +86,42 @@ function materio_subscriptions_strongarm() {
 !zone_name, !country_name';
   $export['uc_address_format_124'] = $strongarm;
 
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_address_format_16';
+  $strongarm->value = '!company
+!first_name !last_name
+!street1
+!street2
+!city, !postal_code
+!country_name_if';
+  $export['uc_address_format_16'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_address_format_20';
+  $strongarm->value = '!company
+!first_name !last_name
+!street1
+!street2
+!city, !postal_code
+!country_name_if';
+  $export['uc_address_format_20'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_address_format_24';
+  $strongarm->value = '!company
+!first_name !last_name
+!street1
+!street2
+!city, !zone_name  !postal_code
+!country_name_if';
+  $export['uc_address_format_24'] = $strongarm;
+
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
@@ -85,6 +134,117 @@ function materio_subscriptions_strongarm() {
 !country_name_if';
   $export['uc_address_format_250'] = $strongarm;
 
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_address_format_4';
+  $strongarm->value = '!company
+!first_name !last_name
+!street1
+!street2
+!city, !zone_code !postal_code
+!country_name_if';
+  $export['uc_address_format_4'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_address_format_784';
+  $strongarm->value = '!company
+!first_name !last_name
+!street1
+!street2
+!city, !zone_code
+!country_name_if';
+  $export['uc_address_format_784'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_address_format_795';
+  $strongarm->value = '!company
+!first_name !last_name
+!street1
+!street2
+!city, !zone_name  !postal_code
+!country_name_if';
+  $export['uc_address_format_795'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_address_format_796';
+  $strongarm->value = '!company
+!first_name !last_name
+!street1
+!street2
+!city  !postal_code
+!country_name_if';
+  $export['uc_address_format_796'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_address_format_798';
+  $strongarm->value = '!company
+!first_name !last_name
+!street1
+!street2
+!city, !zone_name  !postal_code
+!country_name_if';
+  $export['uc_address_format_798'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_address_format_8';
+  $strongarm->value = '!company
+!first_name !last_name
+!street1
+!street2
+!city, !zone_name  !postal_code
+!country_name_if';
+  $export['uc_address_format_8'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_address_format_800';
+  $strongarm->value = '!company
+!first_name !last_name
+!street1
+!street2
+!city, !zone_name  !postal_code
+!country_name_if';
+  $export['uc_address_format_800'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_address_format_804';
+  $strongarm->value = '!country_name
+!zone_name
+!city
+!postal_code
+!street1
+!street2
+!company
+!first_name !last_name';
+  $export['uc_address_format_804'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_address_format_826';
+  $strongarm->value = '!first_name !last_name
+!company
+!street1
+!street2
+!city
+!postal_code
+!country_name_if';
+  $export['uc_address_format_826'] = $strongarm;
+
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
@@ -97,6 +257,18 @@ function materio_subscriptions_strongarm() {
 !country_name_if';
   $export['uc_address_format_840'] = $strongarm;
 
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_address_format_894';
+  $strongarm->value = '!company
+!first_name !last_name
+!street1
+!street2
+!city, !zone_name  !postal_code
+!country_name_if';
+  $export['uc_address_format_894'] = $strongarm;
+
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
@@ -293,6 +465,84 @@ function materio_subscriptions_strongarm() {
   $strongarm->value = 'Your order is almost complete. Please review the details below and click \'Submit order\' if all the information is correct.  You may use the \'Back\' button to make changes to your order if necessary.';
   $export['uc_checkout_review_instructions'] = $strongarm;
 
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_check_address';
+  $strongarm->value = array(
+    'uc_check_mailing_company' => '',
+    'uc_check_mailing_street1' => '',
+    'uc_check_mailing_street2' => '',
+    'uc_check_mailing_city' => '',
+    'uc_check_mailing_zone' => '',
+    'uc_check_mailing_country' => '124',
+    'uc_check_mailing_postal_code' => '',
+  );
+  $export['uc_check_address'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_check_mailing_city';
+  $strongarm->value = 'Paris';
+  $export['uc_check_mailing_city'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_check_mailing_company';
+  $strongarm->value = 'materiO\'';
+  $export['uc_check_mailing_company'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_check_mailing_country';
+  $strongarm->value = '124';
+  $export['uc_check_mailing_country'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_check_mailing_name';
+  $strongarm->value = 'Quentin Hirsinger';
+  $export['uc_check_mailing_name'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_check_mailing_postal_code';
+  $strongarm->value = '75012';
+  $export['uc_check_mailing_postal_code'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_check_mailing_street1';
+  $strongarm->value = '4 rue du faubourg saint antoine';
+  $export['uc_check_mailing_street1'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_check_mailing_street2';
+  $strongarm->value = '';
+  $export['uc_check_mailing_street2'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_check_mailing_zone';
+  $strongarm->value = 0;
+  $export['uc_check_mailing_zone'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_check_policy';
+  $strongarm->value = 'Les chèques personnels et professionnels sont soumis à un délai d\'acceptation de 10 jours ouvrés avant validation et envoi de la commande.';
+  $export['uc_check_policy'] = $strongarm;
+
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
@@ -832,6 +1082,90 @@ For your convenience, you are already logged in with your newly created account.
   $strongarm->value = 'test_gateway';
   $export['uc_payment_credit_gateway'] = $strongarm;
 
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_payment_method_check_checkout';
+  $strongarm->value = 1;
+  $export['uc_payment_method_check_checkout'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_payment_method_check_weight';
+  $strongarm->value = '1';
+  $export['uc_payment_method_check_weight'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_payment_method_cmcic_checkout';
+  $strongarm->value = 1;
+  $export['uc_payment_method_cmcic_checkout'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_payment_method_cmcic_weight';
+  $strongarm->value = '3';
+  $export['uc_payment_method_cmcic_weight'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_payment_method_cod_checkout';
+  $strongarm->value = 0;
+  $export['uc_payment_method_cod_checkout'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_payment_method_cod_weight';
+  $strongarm->value = '1';
+  $export['uc_payment_method_cod_weight'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_payment_method_credit_checkout';
+  $strongarm->value = 1;
+  $export['uc_payment_method_credit_checkout'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_payment_method_credit_weight';
+  $strongarm->value = '2';
+  $export['uc_payment_method_credit_weight'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_payment_method_free_order_checkout';
+  $strongarm->value = 1;
+  $export['uc_payment_method_free_order_checkout'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_payment_method_free_order_weight';
+  $strongarm->value = '0';
+  $export['uc_payment_method_free_order_weight'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_payment_method_other_checkout';
+  $strongarm->value = 1;
+  $export['uc_payment_method_other_checkout'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'uc_payment_method_other_weight';
+  $strongarm->value = '10';
+  $export['uc_payment_method_other_weight'] = $strongarm;
+
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;