Version Notes
Update because of the error after removing the extension. After installing this update, the extension can safely be removed.
Download this release
Release Info
| Developer | Kees Heddes |
| Extension | ceesenco_maattabel |
| Version | 1.1.0 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.0 to 1.1.0
- app/code/community/Ceesenco/Maattabel/Block/Base.php +15 -3
- app/code/community/Ceesenco/Maattabel/Model/Categorie.php +0 -211
- app/code/community/Ceesenco/Maattabel/etc/config.xml +1 -1
- app/code/community/Ceesenco/Maattabel/sql/maattabel_setup/mysql4-upgrade-1.0.0-1.1.0.php +92 -0
- app/locale/de_DE/Ceesenco_Maattabel.csv +59 -0
- package.xml +5 -5
app/code/community/Ceesenco/Maattabel/Block/Base.php
CHANGED
|
@@ -22,9 +22,21 @@ class Ceesenco_Maattabel_Block_Base extends Mage_Core_Block_Template
|
|
| 22 |
$this->_height = Mage::getStoreConfig('ceesenco_maattabel/configuration/height');
|
| 23 |
$this->_label = Mage::getStoreConfig('ceesenco_maattabel/configuration/label');
|
| 24 |
$this->_lang = Mage::getStoreConfig('ceesenco_maattabel/configuration/lang');
|
| 25 |
-
|
| 26 |
-
$this->_categorie = Mage::getSingleton('catalog/layer')->getCurrentCategory()->getData('maattabel_categorie');
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
}
|
| 29 |
|
| 30 |
protected function getIsEnabled() {
|
| 22 |
$this->_height = Mage::getStoreConfig('ceesenco_maattabel/configuration/height');
|
| 23 |
$this->_label = Mage::getStoreConfig('ceesenco_maattabel/configuration/label');
|
| 24 |
$this->_lang = Mage::getStoreConfig('ceesenco_maattabel/configuration/lang');
|
| 25 |
+
|
| 26 |
+
$this->_categorie = Mage::getSingleton("eav/config")->getAttribute("catalog_category", 'maattabel_categorie')->getSource()->getOptionText(Mage::getSingleton('catalog/layer')->getCurrentCategory()->getData('maattabel_categorie'));
|
| 27 |
+
if ($this->_categorie == "") {
|
| 28 |
+
$current_product = Mage::registry('current_product');
|
| 29 |
+
if(is_object($current_product))
|
| 30 |
+
{
|
| 31 |
+
$categories = $current_product->load($current_product->getId())->getCategoryIds();
|
| 32 |
+
if (is_array($categories) and count($categories))
|
| 33 |
+
{
|
| 34 |
+
$this->_categorie = Mage::getSingleton("eav/config")->getAttribute("catalog_category", 'maattabel_categorie')->getSource()->getOptionText(Mage::getModel('catalog/category')->load($categories[count($categories)-1])->getData('maattabel_categorie'));
|
| 35 |
+
}
|
| 36 |
+
}
|
| 37 |
+
}
|
| 38 |
+
$temp = explode(" - ", $this->_categorie);
|
| 39 |
+
$this->_categorie = $temp[0];
|
| 40 |
}
|
| 41 |
|
| 42 |
protected function getIsEnabled() {
|
app/code/community/Ceesenco/Maattabel/Model/Categorie.php
DELETED
|
@@ -1,211 +0,0 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
|
| 3 |
-
class Ceesenco_Maattabel_Model_Categorie extends Mage_Eav_Model_Entity_Attribute_Source_Table
|
| 4 |
-
{
|
| 5 |
-
public function getAllOptions()
|
| 6 |
-
{
|
| 7 |
-
if ($this->_options === null) {
|
| 8 |
-
$this->_options = array();
|
| 9 |
-
$this->_options[] = array(
|
| 10 |
-
'value' => '',
|
| 11 |
-
'label' => Mage::helper('maattabel')->__('Choose a category...')
|
| 12 |
-
);
|
| 13 |
-
$this->_options[] = array(
|
| 14 |
-
'value' => '1',
|
| 15 |
-
'label' => Mage::helper('maattabel')->__('Men')
|
| 16 |
-
);
|
| 17 |
-
$this->_options[] = array(
|
| 18 |
-
'value' => '1/33',
|
| 19 |
-
'label' => Mage::helper('maattabel')->__('Men').' -> '.Mage::helper('maattabel')->__('Pants')
|
| 20 |
-
);
|
| 21 |
-
$this->_options[] = array(
|
| 22 |
-
'value' => '1/21',
|
| 23 |
-
'label' => Mage::helper('maattabel')->__('Men').' -> '.Mage::helper('maattabel')->__('Shoes')
|
| 24 |
-
);
|
| 25 |
-
$this->_options[] = array(
|
| 26 |
-
'value' => '1/20',
|
| 27 |
-
'label' => Mage::helper('maattabel')->__('Men').' -> '.Mage::helper('maattabel')->__('Belts')
|
| 28 |
-
);
|
| 29 |
-
$this->_options[] = array(
|
| 30 |
-
'value' => '1/19',
|
| 31 |
-
'label' => Mage::helper('maattabel')->__('Men').' -> '.Mage::helper('maattabel')->__('Under and Swimwear')
|
| 32 |
-
);
|
| 33 |
-
$this->_options[] = array(
|
| 34 |
-
'value' => '1/16',
|
| 35 |
-
'label' => Mage::helper('maattabel')->__('Men').' -> '.Mage::helper('maattabel')->__('Shirts')
|
| 36 |
-
);
|
| 37 |
-
$this->_options[] = array(
|
| 38 |
-
'value' => '1/15',
|
| 39 |
-
'label' => Mage::helper('maattabel')->__('Men').' -> '.Mage::helper('maattabel')->__('Sweaters, Outerwear and Blazers')
|
| 40 |
-
);
|
| 41 |
-
$this->_options[] = array(
|
| 42 |
-
'value' => '1/61',
|
| 43 |
-
'label' => Mage::helper('maattabel')->__('Men').' -> '.Mage::helper('maattabel')->__('Gloves')
|
| 44 |
-
);
|
| 45 |
-
$this->_options[] = array(
|
| 46 |
-
'value' => '1/62',
|
| 47 |
-
'label' => Mage::helper('maattabel')->__('Men').' -> '.Mage::helper('maattabel')->__('Jeans')
|
| 48 |
-
);
|
| 49 |
-
$this->_options[] = array(
|
| 50 |
-
'value' => '2',
|
| 51 |
-
'label' => Mage::helper('maattabel')->__('Women')
|
| 52 |
-
);
|
| 53 |
-
$this->_options[] = array(
|
| 54 |
-
'value' => '2/10',
|
| 55 |
-
'label' => Mage::helper('maattabel')->__('Women').' -> '.Mage::helper('maattabel')->__('Bras and Swimwear')
|
| 56 |
-
);
|
| 57 |
-
$this->_options[] = array(
|
| 58 |
-
'value' => '2/22',
|
| 59 |
-
'label' => Mage::helper('maattabel')->__('Women').' -> '.Mage::helper('maattabel')->__('Slips and Shapewear')
|
| 60 |
-
);
|
| 61 |
-
$this->_options[] = array(
|
| 62 |
-
'value' => '2/23',
|
| 63 |
-
'label' => Mage::helper('maattabel')->__('Women').' -> '.Mage::helper('maattabel')->__('Tops, Shirts, Blouses and Sweaters')
|
| 64 |
-
);
|
| 65 |
-
$this->_options[] = array(
|
| 66 |
-
'value' => '2/24',
|
| 67 |
-
'label' => Mage::helper('maattabel')->__('Women').' -> '.Mage::helper('maattabel')->__('Dresses, Blazers and Jackets')
|
| 68 |
-
);
|
| 69 |
-
$this->_options[] = array(
|
| 70 |
-
'value' => '2/25',
|
| 71 |
-
'label' => Mage::helper('maattabel')->__('Women').' -> '.Mage::helper('maattabel')->__('Skirts')
|
| 72 |
-
);
|
| 73 |
-
$this->_options[] = array(
|
| 74 |
-
'value' => '2/26',
|
| 75 |
-
'label' => Mage::helper('maattabel')->__('Women').' -> '.Mage::helper('maattabel')->__('Pants')
|
| 76 |
-
);
|
| 77 |
-
$this->_options[] = array(
|
| 78 |
-
'value' => '2/27',
|
| 79 |
-
'label' => Mage::helper('maattabel')->__('Women').' -> '.Mage::helper('maattabel')->__('Belts')
|
| 80 |
-
);
|
| 81 |
-
$this->_options[] = array(
|
| 82 |
-
'value' => '2/28',
|
| 83 |
-
'label' => Mage::helper('maattabel')->__('Women').' -> '.Mage::helper('maattabel')->__('Shoes')
|
| 84 |
-
);
|
| 85 |
-
$this->_options[] = array(
|
| 86 |
-
'value' => '2/62',
|
| 87 |
-
'label' => Mage::helper('maattabel')->__('Women').' -> '.Mage::helper('maattabel')->__('Jeans')
|
| 88 |
-
);
|
| 89 |
-
$this->_options[] = array(
|
| 90 |
-
'value' => '2/64',
|
| 91 |
-
'label' => Mage::helper('maattabel')->__('Women').' -> '.Mage::helper('maattabel')->__('Gloves')
|
| 92 |
-
);
|
| 93 |
-
$this->_options[] = array(
|
| 94 |
-
'value' => '3',
|
| 95 |
-
'label' => Mage::helper('maattabel')->__('Boys')
|
| 96 |
-
);
|
| 97 |
-
$this->_options[] = array(
|
| 98 |
-
'value' => '3/37',
|
| 99 |
-
'label' => Mage::helper('maattabel')->__('Boys').' -> '.Mage::helper('maattabel')->__('Under and Swimwear')
|
| 100 |
-
);
|
| 101 |
-
$this->_options[] = array(
|
| 102 |
-
'value' => '3/38',
|
| 103 |
-
'label' => Mage::helper('maattabel')->__('Boys').' -> '.Mage::helper('maattabel')->__('Sweaters, Outerwear and Blazers')
|
| 104 |
-
);
|
| 105 |
-
$this->_options[] = array(
|
| 106 |
-
'value' => '3/39',
|
| 107 |
-
'label' => Mage::helper('maattabel')->__('Boys').' -> '.Mage::helper('maattabel')->__('Shirts')
|
| 108 |
-
);
|
| 109 |
-
$this->_options[] = array(
|
| 110 |
-
'value' => '3/40',
|
| 111 |
-
'label' => Mage::helper('maattabel')->__('Boys').' -> '.Mage::helper('maattabel')->__('Jeans')
|
| 112 |
-
);
|
| 113 |
-
$this->_options[] = array(
|
| 114 |
-
'value' => '3/41',
|
| 115 |
-
'label' => Mage::helper('maattabel')->__('Boys').' -> '.Mage::helper('maattabel')->__('Pants')
|
| 116 |
-
);
|
| 117 |
-
$this->_options[] = array(
|
| 118 |
-
'value' => '3/42',
|
| 119 |
-
'label' => Mage::helper('maattabel')->__('Boys').' -> '.Mage::helper('maattabel')->__('Shoes')
|
| 120 |
-
);
|
| 121 |
-
$this->_options[] = array(
|
| 122 |
-
'value' => '3/43',
|
| 123 |
-
'label' => Mage::helper('maattabel')->__('Boys').' -> '.Mage::helper('maattabel')->__('Belts')
|
| 124 |
-
);
|
| 125 |
-
$this->_options[] = array(
|
| 126 |
-
'value' => '3/65',
|
| 127 |
-
'label' => Mage::helper('maattabel')->__('Boys').' -> '.Mage::helper('maattabel')->__('Gloves')
|
| 128 |
-
);
|
| 129 |
-
$this->_options[] = array(
|
| 130 |
-
'value' => '35',
|
| 131 |
-
'label' => Mage::helper('maattabel')->__('Girls').''
|
| 132 |
-
);
|
| 133 |
-
$this->_options[] = array(
|
| 134 |
-
'value' => '35/44',
|
| 135 |
-
'label' => Mage::helper('maattabel')->__('Girls').' -> '.Mage::helper('maattabel')->__('Skirts')
|
| 136 |
-
);
|
| 137 |
-
$this->_options[] = array(
|
| 138 |
-
'value' => '35/45',
|
| 139 |
-
'label' => Mage::helper('maattabel')->__('Girls').' -> '.Mage::helper('maattabel')->__('Pants')
|
| 140 |
-
);
|
| 141 |
-
$this->_options[] = array(
|
| 142 |
-
'value' => '35/46',
|
| 143 |
-
'label' => Mage::helper('maattabel')->__('Girls').' -> '.Mage::helper('maattabel')->__('Tops and Shirts')
|
| 144 |
-
);
|
| 145 |
-
$this->_options[] = array(
|
| 146 |
-
'value' => '35/47',
|
| 147 |
-
'label' => Mage::helper('maattabel')->__('Girls').' -> '.Mage::helper('maattabel')->__('Shoes')
|
| 148 |
-
);
|
| 149 |
-
$this->_options[] = array(
|
| 150 |
-
'value' => '35/48',
|
| 151 |
-
'label' => Mage::helper('maattabel')->__('Girls').' -> '.Mage::helper('maattabel')->__('Gloves')
|
| 152 |
-
);
|
| 153 |
-
$this->_options[] = array(
|
| 154 |
-
'value' => '35/57',
|
| 155 |
-
'label' => Mage::helper('maattabel')->__('Girls').' -> '.Mage::helper('maattabel')->__('Bras and Swimwear')
|
| 156 |
-
);
|
| 157 |
-
$this->_options[] = array(
|
| 158 |
-
'value' => '35/58',
|
| 159 |
-
'label' => Mage::helper('maattabel')->__('Girls').' -> '.Mage::helper('maattabel')->__('Slips and Shapewear')
|
| 160 |
-
);
|
| 161 |
-
$this->_options[] = array(
|
| 162 |
-
'value' => '35/59',
|
| 163 |
-
'label' => Mage::helper('maattabel')->__('Girls').' -> '.Mage::helper('maattabel')->__('Sweaters, Blouses and Jackets')
|
| 164 |
-
);
|
| 165 |
-
$this->_options[] = array(
|
| 166 |
-
'value' => '35/63',
|
| 167 |
-
'label' => Mage::helper('maattabel')->__('Girls').' -> '.Mage::helper('maattabel')->__('Jeans')
|
| 168 |
-
);
|
| 169 |
-
$this->_options[] = array(
|
| 170 |
-
'value' => '36',
|
| 171 |
-
'label' => Mage::helper('maattabel')->__('Children').''
|
| 172 |
-
);
|
| 173 |
-
$this->_options[] = array(
|
| 174 |
-
'value' => '36/49',
|
| 175 |
-
'label' => Mage::helper('maattabel')->__('Children').' -> '.Mage::helper('maattabel')->__('Under and Swimwear')
|
| 176 |
-
);
|
| 177 |
-
$this->_options[] = array(
|
| 178 |
-
'value' => '36/50',
|
| 179 |
-
'label' => Mage::helper('maattabel')->__('Children').' -> '.Mage::helper('maattabel')->__('Sweaters, Blouses and Jackets')
|
| 180 |
-
);
|
| 181 |
-
$this->_options[] = array(
|
| 182 |
-
'value' => '36/51',
|
| 183 |
-
'label' => Mage::helper('maattabel')->__('Children').' -> '.Mage::helper('maattabel')->__('Shirts')
|
| 184 |
-
);
|
| 185 |
-
$this->_options[] = array(
|
| 186 |
-
'value' => '36/52',
|
| 187 |
-
'label' => Mage::helper('maattabel')->__('Children').' -> '.Mage::helper('maattabel')->__('Jeans')
|
| 188 |
-
);
|
| 189 |
-
$this->_options[] = array(
|
| 190 |
-
'value' => '36/53',
|
| 191 |
-
'label' => Mage::helper('maattabel')->__('Children').' -> '.Mage::helper('maattabel')->__('Pants')
|
| 192 |
-
);
|
| 193 |
-
$this->_options[] = array(
|
| 194 |
-
'value' => '36/54',
|
| 195 |
-
'label' => Mage::helper('maattabel')->__('Children').' -> '.Mage::helper('maattabel')->__('Shoes')
|
| 196 |
-
);
|
| 197 |
-
$this->_options[] = array(
|
| 198 |
-
'value' => '36/55',
|
| 199 |
-
'label' => Mage::helper('maattabel')->__('Children').' -> '.Mage::helper('maattabel')->__('Belts')
|
| 200 |
-
);
|
| 201 |
-
$this->_options[] = array(
|
| 202 |
-
'value' => '36/56',
|
| 203 |
-
'label' => Mage::helper('maattabel')->__('Children').' -> '.Mage::helper('maattabel')->__('Gloves')
|
| 204 |
-
);
|
| 205 |
-
|
| 206 |
-
}
|
| 207 |
-
|
| 208 |
-
return $this->_options;
|
| 209 |
-
}
|
| 210 |
-
}
|
| 211 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Ceesenco/Maattabel/etc/config.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Ceesenco_Maattabel>
|
| 5 |
-
<version>1.
|
| 6 |
</Ceesenco_Maattabel>
|
| 7 |
</modules>
|
| 8 |
<global>
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Ceesenco_Maattabel>
|
| 5 |
+
<version>1.1.0</version>
|
| 6 |
</Ceesenco_Maattabel>
|
| 7 |
</modules>
|
| 8 |
<global>
|
app/code/community/Ceesenco/Maattabel/sql/maattabel_setup/mysql4-upgrade-1.0.0-1.1.0.php
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
$installer = $this;
|
| 3 |
+
$installer->startSetup();
|
| 4 |
+
#$setup = new Mage_Catalog_Model_Resource_Eav_Mysql4_Setup('core_setup');
|
| 5 |
+
|
| 6 |
+
#$setup = new Mage_Eav_Model_Entity_Setup('core_setup');
|
| 7 |
+
#$setup->removeAttribute( 'catalog_category', 'maattabel_categorie' );
|
| 8 |
+
$installer->removeAttribute('catalog_category', 'maattabel_categorie');
|
| 9 |
+
|
| 10 |
+
#$setup->addAttribute('catalog_category', 'maattabel_categorie', array(
|
| 11 |
+
|
| 12 |
+
$entityTypeId = $installer->getEntityTypeId('catalog_category');
|
| 13 |
+
$attributeSetId = $installer->getDefaultAttributeSetId($entityTypeId);
|
| 14 |
+
$attributeGroupId = $installer->getDefaultAttributeGroupId($entityTypeId, $attributeSetId);
|
| 15 |
+
$group = $installer->getAttributeGroup($entityTypeId, $attributeSetId, $attributeGroupId, 'attribute_group_name');
|
| 16 |
+
|
| 17 |
+
$installer->addAttribute('catalog_category', 'maattabel_categorie', array(
|
| 18 |
+
'group' => $group,
|
| 19 |
+
'type' => 'varchar',
|
| 20 |
+
'backend' => '',
|
| 21 |
+
'frontend_input' => '',
|
| 22 |
+
'frontend' => '',
|
| 23 |
+
'label' => 'Maattabel categorie',
|
| 24 |
+
'input' => 'select',
|
| 25 |
+
'class' => '',
|
| 26 |
+
'source' => 'eav/entity_attribute_source_table',
|
| 27 |
+
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_GLOBAL,
|
| 28 |
+
'visible' => true,
|
| 29 |
+
'frontend_class' => '',
|
| 30 |
+
'required' => false,
|
| 31 |
+
'user_defined' => true,
|
| 32 |
+
'default' => '',
|
| 33 |
+
'option' => array ('value' => array(
|
| 34 |
+
'men'=>array('1 - Men'),
|
| 35 |
+
'men_pants'=>array('1/33 - Men -> Pants'),
|
| 36 |
+
'men_shoes'=>array('1/21 - Men -> Shoes'),
|
| 37 |
+
'men_belts'=>array('1/20 - Men -> Belts'),
|
| 38 |
+
'men_under'=>array('1/19 - Men -> Under and Swimwear'),
|
| 39 |
+
'men_shirts'=>array('1/16 - Men -> Shirts'),
|
| 40 |
+
'men_sweaters'=>array('1/15 - Men -> Sweaters, Outerwear and Blazers'),
|
| 41 |
+
'men_gloves'=>array('1/61 - Men -> Gloves'),
|
| 42 |
+
'men_jeans'=>array('1/62 - Men -> Jeans'),
|
| 43 |
+
'women'=>array('2 - Women'),
|
| 44 |
+
'women_bras'=>array('2/10 - Women -> Bras and Swimwear'),
|
| 45 |
+
'women_slips'=>array('2/22 - Women -> Slips and Shapewear'),
|
| 46 |
+
'women_tops'=>array('2/23 - Women -> Tops, Shirts, Blouses and Sweaters'),
|
| 47 |
+
'women_dresses'=>array('2/24 - Women -> Dresses, Blazers and Jackets'),
|
| 48 |
+
'women_skirts'=>array('2/25 - Women -> Skirts'),
|
| 49 |
+
'women_pants'=>array('2/26 - Women -> Pants'),
|
| 50 |
+
'women_belts'=>array('2/27 - Women -> Belts'),
|
| 51 |
+
'women_shoes'=>array('2/28 - Women -> Shoes'),
|
| 52 |
+
'women_jeans'=>array('2/62 - Women -> Jeans'),
|
| 53 |
+
'women_gloves'=>array('2/64 - Women -> Gloves'),
|
| 54 |
+
'boys'=>array('3 - Boys'),
|
| 55 |
+
'boys_under'=>array('3/37 - Boys -> Under and Swimwear'),
|
| 56 |
+
'boys_sweaters'=>array('3/38 - Boys -> Sweaters, Outerwear and Blazers'),
|
| 57 |
+
'boys_shirts'=>array('3/39 - Boys -> Shirts'),
|
| 58 |
+
'boys_jeans'=>array('3/40 - Boys -> Jeans'),
|
| 59 |
+
'boys_pants'=>array('3/41 - Boys -> Pants'),
|
| 60 |
+
'boys_shoes'=>array('3/42 - Boys -> Shoes'),
|
| 61 |
+
'boys_belts'=>array('3/43 - Boys -> Belts'),
|
| 62 |
+
'boys_gloves'=>array('3/65 - Boys -> Gloves'),
|
| 63 |
+
'girls'=>array('35 - Girls'),
|
| 64 |
+
'girls_skirts'=>array('35/44 - Girls -> Skirts'),
|
| 65 |
+
'girls_pants'=>array('35/45 - Girls -> Pants'),
|
| 66 |
+
'girls_tops'=>array('35/46 - Girls -> Tops and Shirts'),
|
| 67 |
+
'girls_shoes'=>array('35/47 - Girls -> Shoes'),
|
| 68 |
+
'girls_gloves'=>array('35/48 - Girls -> Gloves'),
|
| 69 |
+
'girls_bras'=>array('35/57 - Girls -> Bras and Swimwear'),
|
| 70 |
+
'girls_slips'=>array('35/58 - Girls -> Slips and Shapewear'),
|
| 71 |
+
'girls_sweaters'=>array('35/59 - Girls -> Sweaters, Blouses and Jackets'),
|
| 72 |
+
'girls_jeans'=>array('35/63 - Girls -> Jeans'),
|
| 73 |
+
'children'=>array('36 - Children'),
|
| 74 |
+
'children_under'=>array('36/49 - Children -> Under and Swimwear'),
|
| 75 |
+
'children_sweaters'=>array('36/50 - Children -> Sweaters, Blouses and Jackets'),
|
| 76 |
+
'children_shirts'=>array('36/51 - Children -> Shirts'),
|
| 77 |
+
'children_jeans'=>array('36/52 - Children -> Jeans'),
|
| 78 |
+
'children_pants'=>array('36/53 - Children -> Pants'),
|
| 79 |
+
'children_shoes'=>array('36/54 - Children -> Shoes'),
|
| 80 |
+
'children_belts'=>array('36/55 - Children -> Belts'),
|
| 81 |
+
'children_gloves'=>array('36/56 - Children -> Gloves')))
|
| 82 |
+
));
|
| 83 |
+
$installer->addAttributeToGroup(
|
| 84 |
+
$entityTypeId,
|
| 85 |
+
$attributeSetId,
|
| 86 |
+
$attributeGroupId,
|
| 87 |
+
'maattabel_categorie',
|
| 88 |
+
'11' //last Magento's attribute position in General tab is 10
|
| 89 |
+
);
|
| 90 |
+
|
| 91 |
+
$installer->endSetup();
|
| 92 |
+
?>
|
app/locale/de_DE/Ceesenco_Maattabel.csv
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"Account Password","Account Passwort"
|
| 2 |
+
"Air blue","Air blau"
|
| 3 |
+
"Background","Hintergrund"
|
| 4 |
+
"Belts","G�rtel"
|
| 5 |
+
"Boys","Jungs"
|
| 6 |
+
"Bras and Swimwear","BHs und Bikini Tops"
|
| 7 |
+
"Button name","Name der Schaltfl�che"
|
| 8 |
+
"Children","Kinder"
|
| 9 |
+
"Choose a category...","W�hlen Sie eine Kategorie..."
|
| 10 |
+
"Dark grey","Dunkelgrau"
|
| 11 |
+
"Dresses, Blazers and Jackets","Kleider, Blazer und Jacken"
|
| 12 |
+
"Dutch","Niederl�ndisch"
|
| 13 |
+
"English","Englisch"
|
| 14 |
+
"Font family","Schriftfamilie"
|
| 15 |
+
"French","Franz�sisch"
|
| 16 |
+
"General","General"
|
| 17 |
+
"German","Deutsch"
|
| 18 |
+
"Girls","M�dchen"
|
| 19 |
+
"Gloves","Handschuhe"
|
| 20 |
+
"Green","Gr�n"
|
| 21 |
+
"Groupsettings retrieved and saved","Gruppe einstellungen abgerufen und gespeichert"
|
| 22 |
+
"Header","Kopfzeile"
|
| 23 |
+
"Help tooltip","Hilfe tooltip"
|
| 24 |
+
"Hover","Hover"
|
| 25 |
+
"iFrame height","iFrame H�he"
|
| 26 |
+
"iFrame width","iFrame Breite"
|
| 27 |
+
"Jeans","Jeans"
|
| 28 |
+
"Layout retrieved and saved","Layout abgerufen und gespeichert"
|
| 29 |
+
"Maattabel categorie","Gr��entabelle Kategorie"
|
| 30 |
+
"Main","Main"
|
| 31 |
+
"Men","Herren"
|
| 32 |
+
"Menu (top right)","Men� (oben rechts)"
|
| 33 |
+
"Pants","Hose"
|
| 34 |
+
"Purple","Violett"
|
| 35 |
+
"Retrieve groups","Abrufen gruppe"
|
| 36 |
+
"Retrieve layout","Abrufen layout"
|
| 37 |
+
"Ribbon","Lint"
|
| 38 |
+
"Shirts","Shirts"
|
| 39 |
+
"Shoes","Schuh"
|
| 40 |
+
"Sizing chart","Gr��entabele"
|
| 41 |
+
"Sizing chart configuration","Gr��entabele konfiguration"
|
| 42 |
+
"Sizing chart group visibility","Gr��entabele gruppe sichtbarkeit"
|
| 43 |
+
"Sizing chart layout","Gr��entabele layout"
|
| 44 |
+
"Skirts","R�cke"
|
| 45 |
+
"Slips and Shapewear","Slips und Strings"
|
| 46 |
+
"Spanish","Spanisch"
|
| 47 |
+
"Style","Stil"
|
| 48 |
+
"Sweaters, Blouses and Jackets","Pullover, Blusen und Jacken"
|
| 49 |
+
"Sweaters, Outerwear and Blazers","Pullover, Jacken und Blazer"
|
| 50 |
+
"Text (hover)","Text (hover)"
|
| 51 |
+
"Tops, Shirts, Blouses and Sweaters","Tops, Shirts, Blusen und Pullover"
|
| 52 |
+
"Tops and Shirts","Tops und Shirts"
|
| 53 |
+
"Under and Swimwear","Unter-und Bademode"
|
| 54 |
+
"Women","Damen"
|
| 55 |
+
"Yellow","Gelb"
|
| 56 |
+
"Yellow simple","Gelb einfache"
|
| 57 |
+
"Language","Sprache"
|
| 58 |
+
"With this the layout is loaded from your account on the sizing chart website","Damit das Layout von Ihnen geladen Konto auf der Website Gr��entabelle"
|
| 59 |
+
"With this the group visibility settings are loaded from the sizing chart website","Damit die Gruppe Einstellungen f�r die Sichtbarkeit von der Website geladen Gr��entabelle"
|
package.xml
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>ceesenco_maattabel</name>
|
| 4 |
-
<version>1.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>OSL</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Magento interface to the sizing chart module.</summary>
|
| 10 |
<description>With this you can implement the universal sizing chart easily in your cloting webshop</description>
|
| 11 |
-
<notes>
|
| 12 |
<authors><author><name>Kees Heddes</name><user>keesheddes</user><email>kees@heddes.net</email></author></authors>
|
| 13 |
-
<date>
|
| 14 |
-
<time>
|
| 15 |
-
<contents><target name="magecommunity"><dir name="Ceesenco"><dir name="Maattabel"><dir name="Block"><file name="Base.php" hash="
|
| 16 |
<compatible/>
|
| 17 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
|
| 18 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>ceesenco_maattabel</name>
|
| 4 |
+
<version>1.1.0</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>OSL</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Magento interface to the sizing chart module.</summary>
|
| 10 |
<description>With this you can implement the universal sizing chart easily in your cloting webshop</description>
|
| 11 |
+
<notes>Update because of the error after removing the extension. After installing this update, the extension can safely be removed.</notes>
|
| 12 |
<authors><author><name>Kees Heddes</name><user>keesheddes</user><email>kees@heddes.net</email></author></authors>
|
| 13 |
+
<date>2014-09-23</date>
|
| 14 |
+
<time>10:00:58</time>
|
| 15 |
+
<contents><target name="magecommunity"><dir name="Ceesenco"><dir name="Maattabel"><dir name="Block"><file name="Base.php" hash="7aa6def5f2b52894ea4ba7134374ca89"/><file name="Getgroepen.php" hash="0d637683710fbcb0c3b025fb6df4e37d"/><file name="Getopmaak.php" hash="dab2fd8a0e348c617ff2c9e6321792cd"/></dir><dir name="Helper"><file name="Data.php" hash="29a597a34c441e1d2a9883a3486c27a6"/></dir><dir name="Model"><file name="Lang.php" hash="883c3765389feadadf06151966c1a7b5"/><file name="Lettertype.php" hash="cb7f00287e91bb189ce219604a573ac1"/><file name="Observer.php" hash="da800990c51901ee07fccd2fa1b71112"/><file name="Stijl.php" hash="ab5f7c5201fe5e76d1293d14eae2b42e"/></dir><dir name="controllers"><file name="IndexController.php" hash="5f6e9bfc66e3de6b4e2382cbc188a433"/></dir><dir name="etc"><file name="config.xml" hash="e0a9707d08a868d836e6eae30965bf9b"/><file name="system.xml" hash="e6d6151c3023efd45821f2edf9327ef5"/></dir><dir name="sql"><dir name="maattabel_setup"><file name="mysql4-install-1.0.0.php" hash="d9c17c5b43fe426b790df360a6126a0c"/><file name="mysql4-upgrade-1.0.0-1.1.0.php" hash="3686bb44dff9c028ec059a93faef407a"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="ceesenco"><file name="maattabel_button.phtml" hash="ed0e1923050d2543b8835e938b69791d"/></dir></dir><dir name="layout"><dir name="ceesenco"><file name="maattabel.xml" hash="69fbc9569ce06bd103f75907310b549e"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="ceesenco"><file name="picker.xml" hash="e3a8e547078a61714ac290b9f116b557"/></dir></dir><dir name="template"><dir name="ceesenco"><file name="button.phtml" hash="63f97fbe59e335ece629d5f8d8098cc3"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ceesenco_Maattabel.xml" hash="e01d2e2800bbaf3a050264ba2f614284"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="fancybox"><file name="blank.gif" hash="325472601571f31e1bf00674c368d335"/><file name="fancy_close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="fancy_loading.png" hash="b1d54c240cf06e7f41e372d56919b738"/><file name="fancy_nav_left.png" hash="3f3e406102152cd8236383568a40ba35"/><file name="fancy_nav_right.png" hash="216e4bde5bddeeaa60dc3d692890a68e"/><file name="fancy_shadow_e.png" hash="fd4f491080d29fade5080877f1ba4c8b"/><file name="fancy_shadow_n.png" hash="18cde16379b2ceadef714d9b346d09ec"/><file name="fancy_shadow_ne.png" hash="63adf788acf193d4e4f3642d7d793125"/><file name="fancy_shadow_nw.png" hash="c820c878aedb7a7f9ebd7135a58e7c65"/><file name="fancy_shadow_s.png" hash="9b9e5c888028aaef40fe5b6a363f1e29"/><file name="fancy_shadow_se.png" hash="a8afd5a008884380ee712d177105268f"/><file name="fancy_shadow_sw.png" hash="f81cc0fee5581d76ad3cebe47e7e791b"/><file name="fancy_shadow_w.png" hash="59b0e63eb059e58d932cfd53da4d87e6"/><file name="fancy_title_left.png" hash="1582ac2d3bef6a6445bf02ceca2741cd"/><file name="fancy_title_main.png" hash="38dad6c1ed4bdc81c0bec721b2deb8c2"/><file name="fancy_title_over.png" hash="b886fd165d4b7ac77d41fb52d87ffc60"/><file name="fancy_title_right.png" hash="6cbe0c935511e7f9a2555ccb6a7324c4"/><file name="fancybox-x.png" hash="168696d8a694214090ef90e029cdf393"/><file name="fancybox-y.png" hash="36a58859beb9a6b19322a37466b9f78e"/><file name="fancybox.png" hash="11e57e492ee0311540967cc7a1e6e3e2"/><file name="jquery.fancybox-1.3.4.css" hash="851e31c9e02f0e14f1de87c54897b399"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="fancybox"><file name="jquery-1.4.3.min.js" hash="e4958bd2e32d9fcd6115a585ed17a9cc"/><file name="jquery.fancybox-1.3.4.pack.js" hash="ba3bb1c7392a735201fc3a407e572c98"/><file name="jquery.mousewheel-3.0.4.pack.js" hash="3b0a821567b463e70bcc1e90ed2bc9b6"/></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="Ceesenco_Maattabel.csv" hash="eef150804cb2c47ceb0e65f288632cab"/></dir><dir name="en_US"><file name="Ceesenco_Maattabel.csv" hash="e7d60d8595598d2c0fa3dc7a1c33ea3c"/></dir><dir name="es_ES"><file name="Ceesenco_Maattabel.csv" hash="2e285f8480f8b298bad6cc173f546674"/></dir><dir name="fr_FR"><file name="Ceesenco_Maattabel.csv" hash="f6f2517c2f6958d44de884e479eaa68c"/></dir><dir name="nl_NL"><file name="Ceesenco_Maattabel.csv" hash="9f96acbce44da69e28e52aa9f27d772c"/></dir></target></contents>
|
| 16 |
<compatible/>
|
| 17 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
|
| 18 |
</package>
|
