помогите разобраться в чем проблема моя
кратко что куда положила и что написала:
1. /var/www/magento/app/etc/modules
kmv_Phone4Registration.xml
<?xml version="1.0"?>
<config>
    <modules>
        <kmv_Phone4Registration>
            <active>true</active>
            <codePool>local</codePool>
        </kmv_Phone4Registration>
    </modules>
</config> 
2. /var/www/magento/app/code/local/kmv/Phone4Registration/etc
config.xml
<?xml version="1.0"?>
<config>
    <modules>
        <kmv_Phone4Registration>
            <version>1.0.0</version>
        </kmv_Phone4Registration>
    </modules>
    <global>
        <helpers>
            <kmv_Phone4Registration>
                <class>kmv_Phone4Registration_Helper</class>
            </kmv_Phone4Registration>
        </helpers>
        <resources>
            <kmv_Phone4Registration_setup>
                <setup>
                    <module>kmv_Phone4Registration</module>
                    <class>Mage_Customer_Model_Resource_Setup</class>
                </setup>
            </kmv_Phone4Registration_setup>
        </resources>
    </global>
    <frontend>
        <layout>
            <updates>
                <kmv_Phone4Registration>
                    <file>kmv_Phone4Registration.xml</file>
                </kmv_Phone4Registration>
            </updates>
        </layout>
        <translate>
            <modules>
                <kmv_Phone4Registration>
                    <files>
                        <default>kmv_Phone4Registration.csv</default>
                    </files>
                </kmv_Phone4Registration>
            </modules>
        </translate>
    </frontend>
</config>3. /var/www/magento/app/code/local/kmv/Phone4Registration/sql/kmv_Phone4Registration_setup
install-1.0.0.php
<?php
$this->addAttribute('customer', 'phone', array(
    'type'      => 'varchar',
    'label'     => 'Phone',
    'input'     => 'text',
    'position'  => 152,
    'required'  => false,//or true
    'is_system' => 0,
));
$attribute = Mage::getSingleton('eav/config')->getAttribute('customer', 'phone');
$attribute->setData('used_in_forms', array(
    'adminhtml_customer',
    'checkout_register',
    'customer_account_create',
    'customer_account_edit'
));
$attribute->setData('is_user_defined', 0);
$attribute->save();4. /var/www/magento/app/code/local/kmv/Phone4Registration/Helper
Data.php
<?php
class kmv_Phone4Registration_Helper_Data extends Mage_Core_Helper_Abstract
{
}5. /var/www/magento/app/design/frontend/bio/default/layout
kmv_Phone4Registration.xml
<?xml version="1.0"?>
<layout>
    <customer_account_edit>
        <reference name="customer_edit">
            <action method="setTemplate">
                <template>kmv_Phone4Registration/form/edit.phtml</template>
            </action>
        </reference>
    </customer_account_edit>
    <customer_account_create>
        <reference name="customer_form_register">
            <action method="setTemplate">
                <template>kmv_Phone4Registration/register.phtml</template>
            </action>
        </reference>
    
</layout>6. app/design/frontend/bio/default/template/kmv_Phone4Registration/register.phtml
тут файл скопировала из /var/www/magento/app/design/frontend/bio/default/template/persistent/customer/form
и добавила поле
<li>
							1111<label for="phone"><?php echo $this->__('Phone') ?></label>
							<div class="input-box">
								<input type="text" name="phone" id="phone" value="<?php echo $this->escapeHtml($this->getFormData()->getPhone()) ?>" title="<?php echo $this->__('Phone') ?>" class="input-text" />
							</div>
						</li>и тоже самое для формы
/app/design/frontend/bio/default/template/kmv_Phone4Registration/form/edit.phtml из (/template/customer/form/edit.phtml)
добавила
<li>
				<label for="phone"><?php echo $this->__('Phone') ?></label>
				<div class="input-box">
					<input type="text" name="Phone" id="Phone" value="<?php echo $this->htmlEscape($this->getCustomer()->getPhone()) ?>" title="<?php echo $this->__('Phone') ?>" class="input-text" />
				</div>
			</li>7. создала файлы переводов..
пожалуйста направьте меня, где моя ошибка, почему модуль мой не устанавливается.
 
 Российская сборка Magento 2.43.15 (1.9.1.1)

 Вход
 Вход Регистрация
 Регистрация Помощь
 Помощь

 
			
			

