DS_RegAddress - Version 1.0.0

Version Notes

1.0.0
initial release

Download this release

Release Info

Developer Design:Slider GbR
Extension DS_RegAddress
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

app/code/community/DS/RegAddress/Block/Form/Register.php ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Extended Register Form Block
4
+ *
5
+ * @author Design:Slider GbR <magento@design-slider.de>
6
+ * @copyright (C)Design:Slider GbR <www.design-slider.de>
7
+ * @license OSL <http://opensource.org/licenses/osl-3.0.php>
8
+ * @link http://www.design-slider.de/magento_onlineshop/magento-extensions/registration-address/
9
+ * @package DS_RegAddress
10
+ */
11
+ class DS_RegAddress_Block_Form_Register extends Mage_Customer_Block_Form_Register
12
+ {
13
+ /**
14
+ * Overwritten method to manupilate showAddressFields variable.
15
+ */
16
+ protected function _prepareLayout()
17
+ {
18
+ $_showAddressFields = false;
19
+ switch (Mage::getStoreConfig('regaddress/defaultconfiguration/extendedregistration', Mage::app()->getStore())) {
20
+ case 'optional_address':
21
+ case 'forced_address':
22
+ $_showAddressFields = true;
23
+ break;
24
+ }
25
+
26
+ $this->setShowAddressFields($_showAddressFields);
27
+ return parent::_prepareLayout();
28
+ }
29
+
30
+ /**
31
+ * Returns information wether the address configuration in backend is set to 'Forced Address" or not.
32
+ * @return bool
33
+ */
34
+ protected function getAddressForced()
35
+ {
36
+ $_addressForced = false;
37
+ if (Mage::getStoreConfig('regaddress/defaultconfiguration/extendedregistration',Mage::app()->getStore()) == 'forced_address') {
38
+ $_addressForced = true;
39
+ }
40
+
41
+ return $_addressForced;
42
+ }
43
+ }
app/code/community/DS/RegAddress/CHANGE.LOG ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ DS_RegAddress
2
+
3
+ 1.0.0
4
+ initial release
app/code/community/DS/RegAddress/Helper/Data.php ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Default Helper
4
+ *
5
+ * @author Design:Slider GbR <magento@design-slider.de>
6
+ * @copyright (C)Design:Slider GbR <www.design-slider.de>
7
+ * @license OSL <http://opensource.org/licenses/osl-3.0.php>
8
+ * @link http://www.design-slider.de/magento_onlineshop/magento-extensions/registration-address/
9
+ * @package DS_RegAddress
10
+ */
11
+ class DS_RegAddress_Helper_Data extends Mage_Core_Helper_Abstract {}
app/code/community/DS/RegAddress/Model/System/Config/Source/Extendedregistration/Values.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Values for the module configuration (dropdown field)
4
+ *
5
+ * @author Design:Slider GbR <magento@design-slider.de>
6
+ * @copyright (C)Design:Slider GbR <www.design-slider.de>
7
+ * @license OSL <http://opensource.org/licenses/osl-3.0.php>
8
+ * @link http://www.design-slider.de/magento_onlineshop/magento-extensions/registration-address/
9
+ * @package DS_RegAddress
10
+ */
11
+ class DS_RegAddress_Model_System_Config_Source_Extendedregistration_Values
12
+ {
13
+ public function toOptionArray()
14
+ {
15
+ return array(
16
+ array(
17
+ 'value' => 'no',
18
+ 'label' => Mage::helper('dsregaddress')->__('No'),
19
+ ),
20
+ array(
21
+ 'value' => 'optional_address',
22
+ 'label' => Mage::helper('dsregaddress')->__('Optional Address (default)'),
23
+ ),
24
+ array(
25
+ 'value' => 'forced_address',
26
+ 'label' => Mage::helper('dsregaddress')->__('Forced Address'),
27
+ ),
28
+ );
29
+ }
30
+ }
app/code/community/DS/RegAddress/etc/config.xml ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+
4
+ <modules>
5
+ <DS_RegAddress>
6
+ <version>1.0.0</version>
7
+ </DS_RegAddress>
8
+ </modules>
9
+
10
+ <default>
11
+ <regaddress>
12
+ <defaultconfiguration>
13
+ <extendedregistration>optional_address</extendedregistration>
14
+ </defaultconfiguration>
15
+ </regaddress>
16
+ </default>
17
+
18
+ <global>
19
+ <blocks>
20
+ <dsregaddress>
21
+ <class>DS_RegAddress_Block</class>
22
+ </dsregaddress>
23
+ <customer>
24
+ <rewrite>
25
+ <form_register>DS_RegAddress_Block_Form_Register</form_register>
26
+ </rewrite>
27
+ </customer>
28
+ </blocks>
29
+ <models>
30
+ <dsregaddress>
31
+ <class>DS_RegAddress_Model</class>
32
+ </dsregaddress>
33
+ </models>
34
+ <helpers>
35
+ <dsregaddress>
36
+ <class>DS_RegAddress_Helper</class>
37
+ </dsregaddress>
38
+ </helpers>
39
+ </global>
40
+
41
+ <frontend>
42
+ <layout>
43
+ <updates>
44
+ <dsregaddress>
45
+ <file>ds_regaddress.xml</file>
46
+ </dsregaddress>
47
+ </updates>
48
+ </layout>
49
+ <translate>
50
+ <modules>
51
+ <DS_RegAddress>
52
+ <files>
53
+ <default>DS_RegAddress.csv</default>
54
+ </files>
55
+ </DS_RegAddress>
56
+ </modules>
57
+ </translate>
58
+ </frontend>
59
+
60
+ <adminhtml>
61
+ <translate>
62
+ <modules>
63
+ <DS_RegAddress>
64
+ <files>
65
+ <default>DS_RegAddress.csv</default>
66
+ </files>
67
+ </DS_RegAddress>
68
+ </modules>
69
+ </translate>
70
+ <acl>
71
+ <resources>
72
+ <admin>
73
+ <children>
74
+ <system>
75
+ <children>
76
+ <config>
77
+ <children>
78
+ <regaddress>
79
+ <title>DESIGN:SLIDER Registration Address</title>
80
+ </regaddress>
81
+ </children>
82
+ </config>
83
+ </children>
84
+ </system>
85
+ </children>
86
+ </admin>
87
+ </resources>
88
+ </acl>
89
+ </adminhtml>
90
+
91
+ </config>
app/code/community/DS/RegAddress/etc/system.xml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+
4
+ <tabs>
5
+ <designslider translate="label" module="dsregaddress">
6
+ <label>DESIGN:SLIDER EXTENSIONS</label>
7
+ <sort_order>999</sort_order>
8
+ </designslider>
9
+ </tabs>
10
+
11
+ <sections>
12
+ <regaddress translate="label" module="dsregaddress">
13
+ <label>Registration Address</label>
14
+ <tab>designslider</tab>
15
+ <sort_order>18</sort_order>
16
+ <show_in_default>1</show_in_default>
17
+ <show_in_website>1</show_in_website>
18
+ <show_in_store>1</show_in_store>
19
+
20
+ <groups>
21
+ <defaultconfiguration translate="label" module="dsregaddress">
22
+ <label>Default Configuration</label>
23
+ <frontend_type>text</frontend_type>
24
+ <sort_order>1</sort_order>
25
+ <expanded/>
26
+ <show_in_default>1</show_in_default>
27
+ <show_in_website>1</show_in_website>
28
+ <show_in_store>1</show_in_store>
29
+
30
+ <fields>
31
+ <extendedregistration translate="label">
32
+ <label>Extend Registration:</label>
33
+ <frontend_type>select</frontend_type>
34
+ <sort_order>1</sort_order>
35
+ <show_in_default>1</show_in_default>
36
+ <show_in_website>1</show_in_website>
37
+ <show_in_store>1</show_in_store>
38
+ <source_model>dsregaddress/system_config_source_extendedregistration_values</source_model>
39
+ </extendedregistration>
40
+ </fields>
41
+ </defaultconfiguration>
42
+ </groups>
43
+
44
+ </regaddress>
45
+ </sections>
46
+
47
+ </config>
app/design/frontend/default/default/template/ds/regaddress/register.phtml ADDED
@@ -0,0 +1,212 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Extended registration form
4
+ *
5
+ * @author Design:Slider GbR <magento@design-slider.de>
6
+ * @copyright (C)Design:Slider GbR <www.design-slider.de>
7
+ * @license OSL <http://opensource.org/licenses/osl-3.0.php>
8
+ * @link http://www.design-slider.de/magento_onlineshop/magento-extensions/registration-address/
9
+ * @package DS_RegAddress
10
+ * @version CE 1.7
11
+ */
12
+
13
+ $requiredClass = $this->getAddressForced() ? 'required' : '';
14
+ $requiredCharacter = $this->getAddressForced() ? '*' : '';
15
+ ?>
16
+ <div class="account-create">
17
+ <div class="page-title">
18
+ <h1><?php echo $this->__('Create an Account') ?></h1>
19
+ </div>
20
+ <?php echo $this->getChildHtml('form_fields_before')?>
21
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
22
+ <?php /* Extensions placeholder */ ?>
23
+ <?php echo $this->getChildHtml('customer.form.register.extra')?>
24
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="form-validate">
25
+ <div class="fieldset">
26
+ <input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
27
+ <input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
28
+ <h2 class="legend"><?php echo $this->__('Personal Information') ?></h2>
29
+ <ul class="form-list">
30
+ <li class="fields">
31
+ <?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getFormData())->setForceUseCustomerAttributes(true)->toHtml() ?>
32
+ </li>
33
+ <li>
34
+ <label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
35
+ <div class="input-box">
36
+ <input type="text" name="email" id="email_address" value="<?php echo $this->escapeHtml($this->getFormData()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
37
+ </div>
38
+ </li>
39
+ <?php if ($this->isNewsletterEnabled()): ?>
40
+ <li class="control">
41
+ <div class="input-box">
42
+ <input type="checkbox" name="is_subscribed" title="<?php echo $this->__('Sign Up for Newsletter') ?>" value="1" id="is_subscribed"<?php if($this->getFormData()->getIsSubscribed()): ?> checked="checked"<?php endif; ?> class="checkbox" />
43
+ </div>
44
+ <label for="is_subscribed"><?php echo $this->__('Sign Up for Newsletter') ?></label>
45
+ <?php /* Extensions placeholder */ ?>
46
+ <?php echo $this->getChildHtml('customer.form.register.newsletter')?>
47
+ </li>
48
+ <?php endif ?>
49
+ <?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
50
+ <?php if ($_dob->isEnabled()): ?>
51
+ <li><?php echo $_dob->setDate($this->getFormData()->getDob())->toHtml() ?></li>
52
+ <?php endif ?>
53
+ <?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
54
+ <?php if ($_taxvat->isEnabled()): ?>
55
+ <li><?php echo $_taxvat->setTaxvat($this->getFormData()->getTaxvat())->toHtml() ?></li>
56
+ <?php endif ?>
57
+ <?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
58
+ <?php if ($_gender->isEnabled()): ?>
59
+ <li><?php echo $_gender->setGender($this->getFormData()->getGender())->toHtml() ?></li>
60
+ <?php endif ?>
61
+ </ul>
62
+ </div>
63
+ <?php if($this->getShowAddressFields()): ?>
64
+ <div class="fieldset">
65
+ <input id="create_address" type="hidden" name="create_address" value="1" />
66
+ <h2 class="legend"><?php echo $this->__('Address Information') ?></h2>
67
+ <ul class="form-list">
68
+ <li class="fields">
69
+ <div class="field">
70
+ <label for="company"><?php echo $this->__('Company') ?></label>
71
+ <div class="input-box">
72
+ <input type="text" name="company" id="company" value="<?php echo $this->escapeHtml($this->getFormData()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
73
+ </div>
74
+ </div>
75
+ <div class="field">
76
+ <label for="telephone" class="<?php echo $requiredClass ?>"><em><?php echo $requiredCharacter ?></em><?php echo $this->__('Telephone') ?></label>
77
+ <div class="input-box">
78
+ <input type="text" name="telephone" id="telephone" value="<?php echo $this->escapeHtml($this->getFormData()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->getAddressForced() ? $this->helper('customer/address')->getAttributeValidationClass('telephone') : ''?>" />
79
+ </div>
80
+ </div>
81
+ </li>
82
+ <?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
83
+ <li class="wide">
84
+ <label for="street_1" class="<?php echo $requiredClass ?>"><em><?php echo $requiredCharacter ?></em><?php echo $this->__('Street Address') ?></label>
85
+ <div class="input-box">
86
+ <input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getFormData()->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text create-address-indicator <?php echo $this->getAddressForced() ? $_streetValidationClass : ''?>" />
87
+ </div>
88
+ </li>
89
+ <?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
90
+ <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
91
+ <li class="wide">
92
+ <div class="input-box">
93
+ <input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getFormData()->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address %s', $_i) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $this->getAddressForced() ? $_streetValidationClass : '' ?>" />
94
+ </div>
95
+ </li>
96
+ <?php endfor; ?>
97
+ <li class="fields">
98
+ <div class="field">
99
+ <label for="city" class="<?php echo $requiredClass ?>"><em><?php echo $requiredCharacter ?></em><?php echo $this->__('City') ?></label>
100
+ <div class="input-box">
101
+ <input type="text" id="city" name="city" value="<?php echo $this->escapeHtml($this->getFormData()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text create-address-indicator <?php echo $this->getAddressForced() ? $this->helper('customer/address')->getAttributeValidationClass('city') : '' ?>" id="city" />
102
+ </div>
103
+ </div>
104
+ <div class="field">
105
+ <label for="region_id" class="<?php echo $requiredClass ?>"><em><?php echo $requiredCharacter ?></em><?php echo $this->__('State/Province') ?></label>
106
+ <div class="input-box">
107
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
108
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
109
+ </select>
110
+ <script type="text/javascript">
111
+ //<![CDATA[
112
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getFormData()->getRegionId() ?>");
113
+ //]]>
114
+ </script>
115
+ <input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
116
+ </div>
117
+ </div>
118
+ </li>
119
+ <li class="fields">
120
+
121
+ <?php if (!$this->getAddressForced()): ?>
122
+ <div class="field">
123
+ <label for="zip" class="<?php echo $requiredClass ?>"><em><?php echo $requiredCharacter ?></em><?php echo $this->__('Zip/Postal Code') ?></label>
124
+ <div class="input-box">
125
+ <input type="text" id="postcode" name="postcode" value="<?php echo $this->escapeHtml($this->getFormData()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international create-address-indicator <?php echo $this->getAddressForced() ? $this->helper('customer/address')->getAttributeValidationClass('postcode') : ''?>" />
126
+ </div>
127
+ </div>
128
+ <?php else: ?>
129
+ <div class="field">
130
+ <label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
131
+ <div class="input-box">
132
+ <input type="text" name="postcode" value="<?php echo $this->escapeHtml($this->getFormData()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
133
+ </div>
134
+ </div>
135
+ <?php endif; ?>
136
+ <div class="field">
137
+ <label for="country" class="<?php echo $requiredClass ?>"><em><?php echo $requiredCharacter ?></em><?php echo $this->__('Country') ?></label>
138
+ <div class="input-box">
139
+ <?php echo $this->getCountryHtmlSelect() ?>
140
+ </div>
141
+ </div>
142
+ </li>
143
+ </ul>
144
+ <input type="hidden" name="default_billing" value="1" />
145
+ <input type="hidden" name="default_shipping" value="1" />
146
+ </div>
147
+ <?php endif; ?>
148
+ <div class="fieldset">
149
+ <h2 class="legend"><?php echo $this->__('Login Information') ?></h2>
150
+ <ul class="form-list">
151
+ <li class="fields">
152
+ <div class="field">
153
+ <label for="password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
154
+ <div class="input-box">
155
+ <input type="password" name="password" id="password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
156
+ </div>
157
+ </div>
158
+ <div class="field">
159
+ <label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
160
+ <div class="input-box">
161
+ <input type="password" name="confirmation" title="<?php echo $this->__('Confirm Password') ?>" id="confirmation" class="input-text required-entry validate-cpassword" />
162
+ </div>
163
+ </div>
164
+ </li>
165
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
166
+ </ul>
167
+ </div>
168
+ <div class="buttons-set">
169
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
170
+ <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>" class="back-link"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
171
+ <button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
172
+ </div>
173
+ </form>
174
+ <script type="text/javascript">
175
+ //<![CDATA[
176
+ var dataForm = new VarienForm('form-validate', true);
177
+ <?php if($this->getShowAddressFields()): ?>
178
+ var _regionConfig = <?php echo $this->helper('directory')->getRegionJson(); ?>;
179
+
180
+ <?php if (!$this->getAddressForced()): ?>
181
+ _regionConfig.config.regions_required = [];
182
+ <?php endif; ?>
183
+
184
+ var ru = new RegionUpdater('country', 'region', 'region_id', _regionConfig, undefined, 'zip');
185
+ <?php endif; ?>
186
+
187
+ <?php if($this->getShowAddressFields() && !$this->getAddressForced()): ?>
188
+ Event.observe(window, 'load', function() {
189
+ initDsRegAddress();
190
+ });
191
+
192
+ function initDsRegAddress() {
193
+ updateCreateAddress();
194
+ $$('.create-address-indicator').each(function(e) {
195
+ $(e.id).on('change', function() {
196
+ updateCreateAddress();
197
+ });
198
+ });
199
+ }
200
+
201
+ function updateCreateAddress(){
202
+ if ($('postcode').value == '' && $('street_1').value == '' && $('city').value == '') {
203
+ $('create_address').value = 0;
204
+ } else {
205
+ $('create_address').value = 1;
206
+ }
207
+ }
208
+ <?php endif; //eof getShowAddressFields && !$this->getAddressForced() ?>
209
+
210
+ //]]>
211
+ </script>
212
+ </div>
app/etc/modules/DS_RegAddress.xml ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <DS_RegAddress>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ <depends>
8
+ <Mage_Customer/>
9
+ </depends>
10
+ </DS_RegAddress>
11
+ </modules>
12
+ </config>
app/locale/de_DE/DS_RegAddress.csv ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ "Default Configuration","Allgemeine Einstellungen"
2
+ "Extend Registration:","Registrierung erweitern:"
3
+ "No","Nein",
4
+ "Optional Address (default)","Ja, Adressangabe optional (Standard)"
5
+ "Forced Address","Ja, Adressangabe erzwingen"
app/locale/en_GB/DS_RegAddress.csv ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ "Default Configuration","Default Configuration"
2
+ "Extend Registration:","Extend Registration:"
3
+ "No","No",
4
+ "Optional Address (default)","Yes, Optional Address (Default)"
5
+ "Forced Address","Yes, Forced Address"
package.xml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>DS_RegAddress</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Extends the registration form to guide or force your customers to register with their address.</summary>
10
+ <description>Extends the registration form to guide or force your customers to register with their address.&#xD;
11
+ &#xD;
12
+ Features:&#xD;
13
+ &#xD;
14
+ - Can be configured on store view level. Options:&#xD;
15
+ o Disabled (Standard Registration)&#xD;
16
+ o Optional (Add non-mandatory address fields)&#xD;
17
+ o Forced (Add mandatory address fields)&#xD;
18
+ - Admin ACL for configuration&#xD;
19
+ &#xD;
20
+ Included translations: de_DE</description>
21
+ <notes>1.0.0&#xD;
22
+ initial release</notes>
23
+ <authors><author><name>Design:Slider GbR</name><user>DesignSliderGbR</user><email>magento@design-slider.de</email></author></authors>
24
+ <date>2013-02-26</date>
25
+ <time>22:32:25</time>
26
+ <contents><target name="magelocale"><dir><dir name="de_DE"><file name="DS_RegAddress.csv" hash="52df9be127385d2fc67ff570666cfef0"/></dir><dir name="en_GB"><file name="DS_RegAddress.csv" hash="e72662a9fc5ad90246bacdd23ed9f7e7"/></dir></dir></target><target name="magecommunity"><dir name="DS"><dir name="RegAddress"><dir name="Block"><dir name="Form"><file name="Register.php" hash="637993e7e7a49df345bc80d0fd32c8cb"/></dir></dir><file name="CHANGE.LOG" hash="1bcc702b6d004bd5f68eeaced9ef7de5"/><dir name="Helper"><file name="Data.php" hash="2c8e49c513507a7c3f1a3f8c259b4527"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><dir name="Extendedregistration"><file name="Values.php" hash="cde0fce37284089237adf9ef23c48f82"/></dir></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="a4087ea016a989b4c35b94c26c5f190d"/><file name="system.xml" hash="86ac124da2abae206befeb0c394e3c04"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="DS_RegAddress.xml" hash="ddbb3dab0d6dc22db6dff710198674e0"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="ds"><dir name="regaddress"><file name="register.phtml" hash="4d6bd276add7461ce655f1578c2ecec8"/></dir></dir></dir></dir></dir></dir></target></contents>
27
+ <compatible/>
28
+ <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php><package><name>Mage_Customer</name><channel>core</channel><min>1.6.1.0</min><max></max></package></required></dependencies>
29
+ </package>