Can you be so kind to be more clear at point 4?
I got setup.php with the followinf line:
*************************************************************************************************** class Mage_Customer_Model_Entity_Setup extends Mage_Eav_Model_Entity_Setup {
public function getDefaultEntities() { return array( 'customer' => array( 'entity_model' =>'customer/customer', 'table' => 'customer/entity', 'increment_model' => 'eav/entity_increment_numeric', 'increment_per_store' => false, 'attributes' => array(...................................................................... ***************************************************************************************************
You say "Put the method inside the following class:", so means at the end of the file to do the following:
**************************************************************************************************** class Fontis_Customer_Model_Entity_Setup extends Mage_Customer_Model_Entity_Setup {
public function getDefaultEntities() { return array(
'flavour' => array( 'label' => 'Ice Cream Flavour', 'visible' => true, 'required' => true, ),
) }
}
*********************************************************************************************
The comma after the first closing ) should be cancelled?
Thank you
<code>
<blockcode>
<apache>
<bash>
<c>
<cpp>
<drupal5>
<drupal6>
<java>
<javascript>
<perl>
<php>
<python>
<ruby>
<xml>
<foo>
[foo]
More information about formatting options
Can you be so kind to be more clear at point 4?
I got setup.php with the followinf line:
***************************************************************************************************
class Mage_Customer_Model_Entity_Setup extends Mage_Eav_Model_Entity_Setup
{
public function getDefaultEntities()
{
return array(
'customer' => array(
'entity_model' =>'customer/customer',
'table' => 'customer/entity',
'increment_model' => 'eav/entity_increment_numeric',
'increment_per_store' => false,
'attributes' => array(......................................................................
***************************************************************************************************
You say "Put the method inside the following class:", so means at the end of the file to do the following:
****************************************************************************************************
class Fontis_Customer_Model_Entity_Setup extends Mage_Customer_Model_Entity_Setup
{
public function getDefaultEntities()
{
return array(
'flavour' => array(
'label' => 'Ice Cream Flavour',
'visible' => true,
'required' => true,
),
)
}
}
*********************************************************************************************
The comma after the first closing ) should be cancelled?
Thank you