Sfoglia il codice sorgente

updated subscriptions

Bachir Soussi Chiadmi 10 anni fa
parent
commit
f515e148f4

+ 3 - 0
materio_subscriptions/materio_subscriptions.info

@@ -15,10 +15,12 @@ dependencies[] = taxonomy
 dependencies[] = text
 dependencies[] = uc_attribute
 dependencies[] = uc_cart_links
+dependencies[] = uc_cmcic
 dependencies[] = uc_coupon
 dependencies[] = uc_credit
 dependencies[] = uc_order
 dependencies[] = uc_payment
+dependencies[] = uc_payment_pack
 dependencies[] = uc_product
 dependencies[] = uc_store
 dependencies[] = uc_taxes
@@ -78,6 +80,7 @@ features[user_role][] = Adhérent
 features[user_role][] = Premium
 features[user_role][] = Utilisateur
 features[user_role][] = Utilisateur test UC
+features[variable][] = date_format_uc_store
 features[variable][] = uc_add_item_redirect
 features[variable][] = uc_address_fields
 features[variable][] = uc_address_fields_required

+ 14 - 7
materio_subscriptions/materio_subscriptions.strongarm.inc

@@ -10,6 +10,13 @@
 function materio_subscriptions_strongarm() {
   $export = array();
 
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'date_format_uc_store';
+  $strongarm->value = 'm/d/Y';
+  $export['date_format_uc_store'] = $strongarm;
+
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
@@ -470,13 +477,13 @@ function materio_subscriptions_strongarm() {
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_check_address';
   $strongarm->value = array(
-    'uc_check_mailing_company' => '',
-    'uc_check_mailing_street1' => '',
+    'uc_check_mailing_company' => 'materiO\'',
+    'uc_check_mailing_street1' => '4 rue du faubourg saint antoine',
     'uc_check_mailing_street2' => '',
-    'uc_check_mailing_city' => '',
-    'uc_check_mailing_zone' => '',
+    'uc_check_mailing_city' => 'Paris',
+    'uc_check_mailing_zone' => 0,
     'uc_check_mailing_country' => '124',
-    'uc_check_mailing_postal_code' => '',
+    'uc_check_mailing_postal_code' => '75012',
   );
   $export['uc_check_address'] = $strongarm;
 
@@ -1128,7 +1135,7 @@ For your convenience, you are already logged in with your newly created account.
   $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;
+  $strongarm->value = 0;
   $export['uc_payment_method_credit_checkout'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -1142,7 +1149,7 @@ For your convenience, you are already logged in with your newly created account.
   $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;
+  $strongarm->value = 0;
   $export['uc_payment_method_free_order_checkout'] = $strongarm;
 
   $strongarm = new stdClass();