FireGento_GermanSetup - Version 1.1.1

Version Notes

Added Support for "Button Lösung" plus some smaller changes, i.e. correct newsletter setting

Download this release

Release Info

Developer Magento Core Team
Extension FireGento_GermanSetup
Version 1.1.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.1.1

Files changed (53) hide show
  1. app/code/community/FireGento/GermanSetup/Block/Adminhtml/Germansetup.php +2 -2
  2. app/code/community/FireGento/GermanSetup/Block/Adminhtml/Notifications.php +2 -2
  3. app/code/community/FireGento/GermanSetup/Block/Bundle/Catalog/Product/Price.php +3 -3
  4. app/code/community/FireGento/GermanSetup/Block/Catalog/Product/Price.php +3 -3
  5. app/code/community/FireGento/GermanSetup/Block/Checkout/Information.php +65 -0
  6. app/code/community/FireGento/GermanSetup/Block/Ga.php +2 -2
  7. app/code/community/FireGento/GermanSetup/Block/Imprint/Content.php +11 -11
  8. app/code/community/FireGento/GermanSetup/Block/Imprint/Field.php +11 -11
  9. app/code/community/FireGento/GermanSetup/Helper/Catalog/Product/Configuration.php +134 -0
  10. app/code/community/FireGento/GermanSetup/Helper/Data.php +3 -3
  11. app/code/community/FireGento/GermanSetup/Model/Config.php +7 -6
  12. app/code/community/FireGento/GermanSetup/Model/Observer.php +31 -3
  13. app/code/community/FireGento/GermanSetup/Model/Setup/Abstract.php +2 -2
  14. app/code/community/FireGento/GermanSetup/Model/Setup/Agreements.php +2 -2
  15. app/code/community/FireGento/GermanSetup/Model/Setup/Cms.php +2 -2
  16. app/code/community/FireGento/GermanSetup/Model/Setup/Email.php +2 -2
  17. app/code/community/FireGento/GermanSetup/Model/Setup/Systemconfig.php +104 -0
  18. app/code/community/FireGento/GermanSetup/Model/Setup/Tax.php +12 -9
  19. app/code/community/FireGento/GermanSetup/Model/Source/Cms/Block.php +2 -2
  20. app/code/community/FireGento/GermanSetup/Model/Source/Cms/Page.php +2 -2
  21. app/code/community/FireGento/GermanSetup/Model/Source/Tax/NewProductTaxClass.php +7 -18
  22. app/code/community/FireGento/GermanSetup/Model/Tax/Config.php +3 -3
  23. app/code/community/FireGento/GermanSetup/controllers/FrontendController.php +66 -0
  24. app/code/community/FireGento/GermanSetup/controllers/GermansetupController.php +20 -3
  25. app/code/community/FireGento/GermanSetup/etc/at/tax.xml +26 -3
  26. app/code/community/FireGento/GermanSetup/etc/ch/tax.xml +38 -15
  27. app/code/community/FireGento/GermanSetup/etc/config.xml +80 -7
  28. app/code/community/FireGento/GermanSetup/etc/default/cms.xml +23 -0
  29. app/code/community/FireGento/GermanSetup/etc/default/email.xml +23 -0
  30. app/code/community/FireGento/GermanSetup/etc/default/systemconfig.xml +36 -0
  31. app/code/community/FireGento/GermanSetup/etc/default/tax.xml +26 -3
  32. app/code/community/FireGento/GermanSetup/etc/system.xml +53 -1
  33. app/code/community/FireGento/GermanSetup/sql/germansetup_setup/mysql4-install-0.5.0.php +3 -3
  34. app/code/community/FireGento/GermanSetup/sql/germansetup_setup/mysql4-upgrade-1.0.4-1.0.5.php +63 -0
  35. app/design/adminhtml/default/default/layout/germansetup.xml +24 -1
  36. app/design/adminhtml/default/default/template/germansetup/extensions.phtml +1 -1
  37. app/design/adminhtml/default/default/template/germansetup/form.phtml +44 -34
  38. app/design/frontend/base/default/layout/germansetup.xml +49 -4
  39. app/design/frontend/base/default/template/germansetup/checkout/additional.phtml +31 -0
  40. app/design/frontend/base/default/template/germansetup/checkout/multishipping/agreements.phtml +55 -0
  41. app/design/frontend/base/default/template/germansetup/checkout/multishipping/overview.phtml +240 -0
  42. app/design/frontend/base/default/template/germansetup/checkout/onepage/agreements.phtml +57 -0
  43. app/design/frontend/base/default/template/germansetup/imprint/address.phtml +1 -1
  44. app/design/frontend/base/default/template/germansetup/imprint/bank.phtml +1 -1
  45. app/design/frontend/base/default/template/germansetup/imprint/communication.phtml +1 -1
  46. app/design/frontend/base/default/template/germansetup/imprint/email_footer.phtml +2 -2
  47. app/design/frontend/base/default/template/germansetup/imprint/legal.phtml +1 -1
  48. app/design/frontend/base/default/template/germansetup/imprint/tax.phtml +1 -1
  49. app/design/frontend/base/default/template/germansetup/price_info.phtml +1 -1
  50. app/etc/modules/FireGento_GermanSetup.xml +23 -0
  51. app/locale/de_DE/FireGento_GermanSetup.csv +10 -0
  52. package.xml +6 -5
  53. skin/frontend/base/default/css/germansetup/checkout.css +38 -0
app/code/community/FireGento/GermanSetup/Block/Adminhtml/Germansetup.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.4.0
@@ -26,7 +26,7 @@
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.4.0
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.4.0
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.4.0
app/code/community/FireGento/GermanSetup/Block/Adminhtml/Notifications.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.4.0
@@ -26,7 +26,7 @@
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.4.0
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.4.0
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.4.0
app/code/community/FireGento/GermanSetup/Block/Bundle/Catalog/Product/Price.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
@@ -27,7 +27,7 @@
27
  * @category FireGento
28
  * @package FireGento_GermanSetup
29
  * @author FireGento Team <team@firegento.com>
30
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
31
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
32
  * @version $Id:$
33
  * @since 0.1.0
@@ -139,4 +139,4 @@ class FireGento_GermanSetup_Block_Bundle_Catalog_Product_Price extends Mage_Bund
139
  }
140
  return 0;
141
  }
142
- }
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
27
  * @category FireGento
28
  * @package FireGento_GermanSetup
29
  * @author FireGento Team <team@firegento.com>
30
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
31
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
32
  * @version $Id:$
33
  * @since 0.1.0
139
  }
140
  return 0;
141
  }
142
+ }
app/code/community/FireGento/GermanSetup/Block/Catalog/Product/Price.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
@@ -27,7 +27,7 @@
27
  * @category FireGento
28
  * @package FireGento_GermanSetup
29
  * @author FireGento Team <team@firegento.com>
30
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
31
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
32
  * @version $Id:$
33
  * @since 0.1.0
@@ -147,4 +147,4 @@ class FireGento_GermanSetup_Block_Catalog_Product_Price extends Mage_Catalog_Blo
147
  }
148
  return 0;
149
  }
150
- }
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
27
  * @category FireGento
28
  * @package FireGento_GermanSetup
29
  * @author FireGento Team <team@firegento.com>
30
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
31
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
32
  * @version $Id:$
33
  * @since 0.1.0
147
  }
148
  return 0;
149
  }
150
+ }
app/code/community/FireGento/GermanSetup/Block/Checkout/Information.php ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file is part of the FIREGENTO project.
4
+ *
5
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU General Public License version 3 as
7
+ * published by the Free Software Foundation.
8
+ *
9
+ * This script is distributed in the hope that it will be useful, but WITHOUT
10
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
+ *
13
+ * PHP version 5
14
+ *
15
+ * @category FireGento
16
+ * @package FireGento_GermanSetup
17
+ * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
+ * @version $Id:$
21
+ * @since 0.1.0
22
+ */
23
+ /**
24
+ * Block to enable ip anonymization for german tracking.
25
+ *
26
+ * @category FireGento
27
+ * @package FireGento_GermanSetup
28
+ * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
+ * @version $Id:$
32
+ * @since 0.1.0
33
+ */
34
+ class FireGento_GermanSetup_Block_Checkout_Information extends Mage_Core_Block_Template
35
+ {
36
+ /**
37
+ * @var string
38
+ */
39
+ const XML_PATH_CHECKOUT_DISPLAY_ADDITIONAL_INFORMATION = 'checkout/options/display_additional_information';
40
+
41
+ /**
42
+ * @var string
43
+ */
44
+ const XML_PATH_CHECKOUT_ADDITIONAL_INFORMATION = 'checkout/options/additional_information';
45
+
46
+ /**
47
+ * Retrieve the additional information for the review page
48
+ *
49
+ * @return string|boolean
50
+ */
51
+ public function getCheckoutAdditionalInformation()
52
+ {
53
+ if (!Mage::getStoreConfigFlag(self::XML_PATH_CHECKOUT_DISPLAY_ADDITIONAL_INFORMATION)) {
54
+ return false;
55
+ }
56
+
57
+ $additional = Mage::getStoreConfig(self::XML_PATH_CHECKOUT_ADDITIONAL_INFORMATION);
58
+ $additional = trim($additional);
59
+
60
+ if ($additional) {
61
+ return $additional;
62
+ }
63
+ return false;
64
+ }
65
+ }
app/code/community/FireGento/GermanSetup/Block/Ga.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
@@ -26,7 +26,7 @@
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.1.0
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.1.0
app/code/community/FireGento/GermanSetup/Block/Imprint/Content.php CHANGED
@@ -1,21 +1,21 @@
1
  <?php
2
- /**
3
  * This file is part of the FIREGENTO project.
4
- *
5
- * FireGento_GermanSetup is free software; you can redistribute it and/or
6
- * modify it under the terms of the GNU General Public License version 3 as
7
  * published by the Free Software Foundation.
8
- *
9
- * This script is distributed in the hope that it will be useful, but WITHOUT
10
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
- *
13
  * PHP version 5
14
  *
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
@@ -26,7 +26,7 @@
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.1.0
@@ -69,4 +69,4 @@ class FireGento_GermanSetup_Block_Imprint_Content extends Mage_Core_Block_Templa
69
  $storeId = $this->getStoreId();
70
  $this->setData(Mage::getStoreConfig('general/imprint', $storeId));
71
  }
72
- }
1
  <?php
2
+ /**
3
  * This file is part of the FIREGENTO project.
4
+ *
5
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU General Public License version 3 as
7
  * published by the Free Software Foundation.
8
+ *
9
+ * This script is distributed in the hope that it will be useful, but WITHOUT
10
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
+ *
13
  * PHP version 5
14
  *
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.1.0
69
  $storeId = $this->getStoreId();
70
  $this->setData(Mage::getStoreConfig('general/imprint', $storeId));
71
  }
72
+ }
app/code/community/FireGento/GermanSetup/Block/Imprint/Field.php CHANGED
@@ -1,21 +1,21 @@
1
  <?php
2
- /**
3
  * This file is part of the FIREGENTO project.
4
- *
5
- * FireGento_GermanSetup is free software; you can redistribute it and/or
6
- * modify it under the terms of the GNU General Public License version 3 as
7
  * published by the Free Software Foundation.
8
- *
9
- * This script is distributed in the hope that it will be useful, but WITHOUT
10
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
- *
13
  * PHP version 5
14
  *
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
@@ -26,7 +26,7 @@
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.1.0
@@ -42,4 +42,4 @@ class FireGento_GermanSetup_Block_Imprint_Field extends FireGento_GermanSetup_Bl
42
  {
43
  return $this->getData($this->getValue());
44
  }
45
- }
1
  <?php
2
+ /**
3
  * This file is part of the FIREGENTO project.
4
+ *
5
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU General Public License version 3 as
7
  * published by the Free Software Foundation.
8
+ *
9
+ * This script is distributed in the hope that it will be useful, but WITHOUT
10
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
+ *
13
  * PHP version 5
14
  *
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.1.0
42
  {
43
  return $this->getData($this->getValue());
44
  }
45
+ }
app/code/community/FireGento/GermanSetup/Helper/Catalog/Product/Configuration.php ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file is part of the FIREGENTO project.
4
+ *
5
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU General Public License version 3 as
7
+ * published by the Free Software Foundation.
8
+ *
9
+ * This script is distributed in the hope that it will be useful, but WITHOUT
10
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
+ *
13
+ * PHP version 5
14
+ *
15
+ * @category FireGento
16
+ * @package FireGento_GermanSetup
17
+ * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
+ * @version $Id:$
21
+ * @since 1.0.5
22
+ */
23
+ /**
24
+ * Changed product configuration to add product attributes on checkout
25
+ *
26
+ * @category FireGento
27
+ * @package FireGento_GermanSetup
28
+ * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
+ * @version $Id:$
32
+ * @since 1.0.5
33
+ */
34
+ class FireGento_GermanSetup_Helper_Catalog_Product_Configuration
35
+ extends Mage_Catalog_Helper_Product_Configuration
36
+ {
37
+ /**
38
+ * @var array
39
+ */
40
+ protected $_finished = array();
41
+
42
+ /**
43
+ * @var array
44
+ */
45
+ protected $_products = array();
46
+
47
+ /**
48
+ * Merge Attributes
49
+ *
50
+ * @see parent::getCustomOptions()
51
+ * @param Mage_Catalog_Model_Product_Configuration_Item_Interface $item
52
+ * @return array
53
+ */
54
+ public function getCustomOptions(Mage_Catalog_Model_Product_Configuration_Item_Interface $item)
55
+ {
56
+ $optionsParent = parent::getCustomOptions($item);
57
+ $optionsSelf = $this->_getAttributes($item);
58
+ $options = array_merge($optionsSelf, $optionsParent);
59
+ return $options;
60
+ }
61
+
62
+ /**
63
+ * Get the product for the current quote item
64
+ *
65
+ * @param Mage_Catalog_Model_Product_Configuration_Item_Interface $item
66
+ * @return Mage_Catalog_Model_Product
67
+ */
68
+ protected function _getProduct($item)
69
+ {
70
+ $productId = $item->getProduct()->getId();
71
+ if (!array_key_exists($productId, $this->_products)) {
72
+ /* @var $product Mage_Catalog_Model_Product */
73
+ $product = Mage::getModel('catalog/product')
74
+ ->setStoreId(Mage::app()->getStore()->getId())
75
+ ->load($productId);
76
+
77
+ $this->_products[$productId] = $product;
78
+ }
79
+ return $this->_products[$productId];
80
+ }
81
+
82
+ /**
83
+ * Retreve the product attributes
84
+ *
85
+ * @param Mage_Catalog_Model_Product_Configuration_Item_Interface $item
86
+ * @return array
87
+ */
88
+ protected function _getAttributes($item)
89
+ {
90
+ $itemId = $item->getId();
91
+ if (!isset($this->_finished[$itemId])) {
92
+ $this->_finished[$itemId] = true;
93
+ $product = $this->_getProduct($item);
94
+ $attributes = $this->_getAdditionalData($product);
95
+ if (count($attributes) > 0) {
96
+ return $attributes;
97
+ }
98
+ }
99
+ return array();
100
+ }
101
+
102
+ /**
103
+ * Retrieve the attributes which are visible on the checkout page
104
+ *
105
+ * @param Mage_Catalog_Model_Product $product
106
+ * @return array
107
+ */
108
+ protected function _getAdditionalData(Mage_Catalog_Model_Product $product)
109
+ {
110
+ $data = array();
111
+
112
+ $attributes = $product->getAttributes();
113
+ foreach ($attributes as $attribute) {
114
+ if ($attribute->getIsVisibleOnCheckout()) {
115
+ $value = $attribute->getFrontend()->getValue($product);
116
+ if (!$product->hasData($attribute->getAttributeCode()) || (string) $value == '') {
117
+ $value = '';
118
+ } elseif ($attribute->getFrontendInput() == 'price' && is_string($value)) {
119
+ $value = Mage::app()->getStore()->convertPrice($value, true);
120
+ }
121
+
122
+ if (is_string($value) && strlen($value)) {
123
+ $data[$attribute->getAttributeCode()] = array(
124
+ 'label' => $attribute->getStoreLabel(),
125
+ 'value' => $value,
126
+ 'print_value' => $value,
127
+ 'code' => $attribute->getAttributeCode()
128
+ );
129
+ }
130
+ }
131
+ }
132
+ return $data;
133
+ }
134
+ }
app/code/community/FireGento/GermanSetup/Helper/Data.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
@@ -26,7 +26,7 @@
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.1.0
@@ -51,4 +51,4 @@ class FireGento_GermanSetup_Helper_Data extends Mage_Core_Helper_Abstract
51
 
52
  return Mage::helper('cms/page')->getPageUrl($cmsPage->getId());
53
  }
54
- }
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.1.0
51
 
52
  return Mage::helper('cms/page')->getPageUrl($cmsPage->getId());
53
  }
54
+ }
app/code/community/FireGento/GermanSetup/Model/Config.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.2.0
@@ -26,7 +26,7 @@
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.2.0
@@ -68,9 +68,8 @@ class FireGento_GermanSetup_Model_Config extends Varien_Simplexml_Config
68
 
69
  // Load additional config files
70
  $this->_addConfigFile('cms.xml', $mergeConfig);
71
-
72
  $this->_addConfigFile('email.xml', $mergeConfig);
73
-
74
  $this->_addConfigFile('tax.xml', $mergeConfig);
75
 
76
  $this->setXml($config->getNode());
@@ -87,8 +86,10 @@ class FireGento_GermanSetup_Model_Config extends Varien_Simplexml_Config
87
  */
88
  protected function _addConfigFile($fileName, $mergeConfig)
89
  {
 
 
90
  $config = Mage::getConfig();
91
- $configFile = $config->getModuleDir('etc', 'FireGento_GermanSetup') . DS . Mage::app()->getRequest()->getParam('country') . DS . $fileName;
92
  if (!file_exists($configFile)) {
93
  $configFile = $config->getModuleDir('etc', 'FireGento_GermanSetup') . DS . 'default' . DS . $fileName;
94
  }
@@ -98,4 +99,4 @@ class FireGento_GermanSetup_Model_Config extends Varien_Simplexml_Config
98
  }
99
  }
100
  }
101
- }
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.2.0
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.2.0
68
 
69
  // Load additional config files
70
  $this->_addConfigFile('cms.xml', $mergeConfig);
 
71
  $this->_addConfigFile('email.xml', $mergeConfig);
72
+ $this->_addConfigFile('systemconfig.xml', $mergeConfig);
73
  $this->_addConfigFile('tax.xml', $mergeConfig);
74
 
75
  $this->setXml($config->getNode());
86
  */
87
  protected function _addConfigFile($fileName, $mergeConfig)
88
  {
89
+ $country = Mage::app()->getRequest()->getParam('country');
90
+
91
  $config = Mage::getConfig();
92
+ $configFile = $config->getModuleDir('etc', 'FireGento_GermanSetup') . DS . $country . DS . $fileName;
93
  if (!file_exists($configFile)) {
94
  $configFile = $config->getModuleDir('etc', 'FireGento_GermanSetup') . DS . 'default' . DS . $fileName;
95
  }
99
  }
100
  }
101
  }
102
+ }
app/code/community/FireGento/GermanSetup/Model/Observer.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.2.0
@@ -26,13 +26,41 @@
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.2.0
33
  */
34
  class FireGento_GermanSetup_Model_Observer
35
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  /**
37
  * Filters all agreements
38
  *
@@ -191,4 +219,4 @@ class FireGento_GermanSetup_Model_Observer
191
  }
192
  return $keywords;
193
  }
194
- }
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.2.0
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.2.0
33
  */
34
  class FireGento_GermanSetup_Model_Observer
35
  {
36
+ /**
37
+ * Add "Visible on Checkout Review on Front-end" Option to Attribute Settings
38
+ *
39
+ * @param Varien_Event_Observer $observer Observer
40
+ * @event adminhtml_catalog_product_attribute_edit_prepare_form
41
+ * @return FireGento_GermanSetup_Model_Observer
42
+ */
43
+ public function addIsVisibleOnCheckoutOption(Varien_Event_Observer $observer)
44
+ {
45
+ $event = $observer->getEvent();
46
+ $form = $event->getForm();
47
+
48
+ $fieldset = $form->getElement('front_fieldset');
49
+ $source = Mage::getModel('adminhtml/system_config_source_yesno')->toOptionArray();
50
+ $fieldset->addField(
51
+ 'is_visible_on_checkout',
52
+ 'select',
53
+ array(
54
+ 'name' => 'is_visible_on_checkout',
55
+ 'label' => Mage::helper('germansetup')->__('Visible in Checkout'),
56
+ 'title' => Mage::helper('germansetup')->__('Visible in Checkout'),
57
+ 'values' => $source,
58
+ )
59
+ );
60
+
61
+ return $this;
62
+ }
63
+
64
  /**
65
  * Filters all agreements
66
  *
219
  }
220
  return $keywords;
221
  }
222
+ }
app/code/community/FireGento/GermanSetup/Model/Setup/Abstract.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.2.0
@@ -26,7 +26,7 @@
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.2.0
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.2.0
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.2.0
app/code/community/FireGento/GermanSetup/Model/Setup/Agreements.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.2.0
@@ -26,7 +26,7 @@
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.5.0
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.2.0
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.5.0
app/code/community/FireGento/GermanSetup/Model/Setup/Cms.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.2.0
@@ -26,7 +26,7 @@
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.5.0
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.2.0
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.5.0
app/code/community/FireGento/GermanSetup/Model/Setup/Email.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.2.0
@@ -26,7 +26,7 @@
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.5.0
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.2.0
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.5.0
app/code/community/FireGento/GermanSetup/Model/Setup/Systemconfig.php ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file is part of the FIREGENTO project.
4
+ *
5
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU General Public License version 3 as
7
+ * published by the Free Software Foundation.
8
+ *
9
+ * This script is distributed in the hope that it will be useful, but WITHOUT
10
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
+ *
13
+ * PHP version 5
14
+ *
15
+ * @category FireGento
16
+ * @package FireGento_GermanSetup
17
+ * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
+ * @version $Id:$
21
+ * @since 0.2.0
22
+ */
23
+ /**
24
+ * Setup class for Tax Settings
25
+ *
26
+ * @category FireGento
27
+ * @package FireGento_GermanSetup
28
+ * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
+ * @version $Id:$
32
+ * @since 0.5.0
33
+ */
34
+ class FireGento_GermanSetup_Model_Setup_Systemconfig extends FireGento_GermanSetup_Model_Setup_Abstract
35
+ {
36
+ /**
37
+ * @var FireGento_GermanSetup_Model_Setup
38
+ */
39
+ protected $_setup;
40
+
41
+ /**
42
+ * @var Varien_Db_Adapter_Interface
43
+ */
44
+ protected $_connection;
45
+
46
+ /**
47
+ * Setup setup class and connection
48
+ */
49
+ public function __construct()
50
+ {
51
+ $this->_setup = Mage::getModel('eav/entity_setup', 'core_setup');
52
+ $this->_connection = $this->_setup->getConnection();
53
+ }
54
+
55
+ /**
56
+ * Setup Tax setting
57
+ *
58
+ * @return void
59
+ */
60
+ public function setup()
61
+ {
62
+ // modify config data
63
+ $this->_updateConfigData();
64
+ }
65
+
66
+ /**
67
+ * Update configuration settings
68
+ *
69
+ * @return void
70
+ */
71
+ protected function _updateConfigData()
72
+ {
73
+ $setup = $this->_getSetup();
74
+ foreach ($this->_getConfigSystemConfig() as $key => $value) {
75
+ $setup->setConfigData(str_replace('__', '/', $key), $value);
76
+ }
77
+ }
78
+
79
+ /**
80
+ * Get tax calculations from config file
81
+ *
82
+ * @return array
83
+ */
84
+ protected function _getConfigSystemConfig()
85
+ {
86
+ return $this->_getConfigNode('system_config', 'default');
87
+ }
88
+
89
+ /**
90
+ * @return Varien_Db_Adapter_Interface
91
+ */
92
+ protected function _getConnection()
93
+ {
94
+ return $this->_connection;
95
+ }
96
+
97
+ /**
98
+ * @return FireGento_GermanSetup_Model_Setup|Mage_Core_Model_Abstract
99
+ */
100
+ protected function _getSetup()
101
+ {
102
+ return $this->_setup;
103
+ }
104
+ }
app/code/community/FireGento/GermanSetup/Model/Setup/Tax.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.2.0
@@ -26,7 +26,7 @@
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.5.0
@@ -174,12 +174,15 @@ class FireGento_GermanSetup_Model_Setup_Tax extends FireGento_GermanSetup_Model_
174
 
175
  // add labels to all store views
176
  if ($label) {
177
- foreach(Mage::app()->getStores() as $storeId => $store) {
178
- $this->_insertIntoTable('tax_calculation_rate_title', array(
179
- 'tax_calculation_rate_id' => $taxCalcRateData['tax_calculation_rate_id'],
180
- 'store_id' => $storeId,
181
- 'value' => $label,
182
- ));
 
 
 
183
  }
184
  }
185
  }
@@ -213,7 +216,7 @@ class FireGento_GermanSetup_Model_Setup_Tax extends FireGento_GermanSetup_Model_
213
  */
214
  protected function _updateConfigData()
215
  {
216
- $setup = Mage::getModel('eav/entity_setup', 'core_setup');
217
  foreach ($this->_getConfigTaxConfig() as $key => $value) {
218
  $setup->setConfigData(str_replace('__', '/', $key), $value);
219
  }
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.2.0
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.5.0
174
 
175
  // add labels to all store views
176
  if ($label) {
177
+ foreach (Mage::app()->getStores() as $storeId => $store) {
178
+ $this->_insertIntoTable(
179
+ 'tax_calculation_rate_title',
180
+ array(
181
+ 'tax_calculation_rate_id' => $taxCalcRateData['tax_calculation_rate_id'],
182
+ 'store_id' => $storeId,
183
+ 'value' => $label,
184
+ )
185
+ );
186
  }
187
  }
188
  }
216
  */
217
  protected function _updateConfigData()
218
  {
219
+ $setup = $this->_getSetup();
220
  foreach ($this->_getConfigTaxConfig() as $key => $value) {
221
  $setup->setConfigData(str_replace('__', '/', $key), $value);
222
  }
app/code/community/FireGento/GermanSetup/Model/Source/Cms/Block.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
@@ -26,7 +26,7 @@
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.1.0
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.1.0
app/code/community/FireGento/GermanSetup/Model/Source/Cms/Page.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
@@ -26,7 +26,7 @@
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.1.0
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.1.0
app/code/community/FireGento/GermanSetup/Model/Source/Tax/NewProductTaxClass.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
@@ -26,7 +26,7 @@
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.5.0
@@ -38,6 +38,10 @@ class FireGento_GermanSetup_Model_Source_Tax_NewProductTaxClass
38
  * @var array $_options cached options
39
  */
40
  protected $_options = array();
 
 
 
 
41
  protected $_defaultOption = 0;
42
 
43
  /**
@@ -72,22 +76,7 @@ class FireGento_GermanSetup_Model_Source_Tax_NewProductTaxClass
72
  */
73
  public function getAllOptions()
74
  {
75
- if (!sizeof($this->_options)) {
76
- $taxClasses = $this->_getConfigNode('tax_classes', 'default');
77
- foreach ($taxClasses as $taxClass) {
78
- if ($taxClass['class_type'] != 'PRODUCT' || $taxClass['execute'] != 1) {
79
- continue;
80
- }
81
-
82
- $this->_options[] = array(
83
- 'value' => $taxClass['class_id'],
84
- 'label' => $taxClass['class_name'],
85
- );
86
- }
87
- array_unshift($this->_options, array('value' => '', 'label' =>''));
88
- }
89
-
90
- return $this->_options;
91
  }
92
 
93
  /**
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.5.0
38
  * @var array $_options cached options
39
  */
40
  protected $_options = array();
41
+
42
+ /**
43
+ * @var string
44
+ */
45
  protected $_defaultOption = 0;
46
 
47
  /**
76
  */
77
  public function getAllOptions()
78
  {
79
+ return $this->toOptionArray();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  }
81
 
82
  /**
app/code/community/FireGento/GermanSetup/Model/Tax/Config.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
@@ -26,7 +26,7 @@
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.6.2
@@ -110,4 +110,4 @@ class FireGento_GermanSetup_Model_Tax_Config extends Mage_Tax_Model_Config
110
  }
111
  return 0;
112
  }
113
- }
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.6.2
110
  }
111
  return 0;
112
  }
113
+ }
app/code/community/FireGento/GermanSetup/controllers/FrontendController.php ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file is part of the FIREGENTO project.
4
+ *
5
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU General Public License version 3 as
7
+ * published by the Free Software Foundation.
8
+ *
9
+ * This script is distributed in the hope that it will be useful, but WITHOUT
10
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
+ *
13
+ * PHP version 5
14
+ *
15
+ * @category FireGento
16
+ * @package FireGento_GermanSetup
17
+ * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
+ * @version $Id:$
21
+ * @since 0.1.0
22
+ */
23
+ /**
24
+ * Adminhtml Controller for dislaying a form for some actions
25
+ *
26
+ * @category FireGento
27
+ * @package FireGento_GermanSetup
28
+ * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
+ * @version $Id:$
32
+ * @since 0.4.0
33
+ */
34
+ class FireGento_GermanSetup_FrontendController extends Mage_Core_Controller_Front_Action
35
+ {
36
+ /**
37
+ * Show an agreement
38
+ *
39
+ * @return void
40
+ */
41
+ public function agreementsAction()
42
+ {
43
+ $this->loadLayout();
44
+ if ($id = $this->getRequest()->getParam('id')) {
45
+ /* @var $processor Mage_Cms_Model_Template_Filter */
46
+ $processor = Mage::getModel('cms/template_filter');
47
+
48
+ /* @var $agreement Mage_Checkout_Model_Agreement */
49
+ $agreement = Mage::getModel('checkout/agreement')->load($id);
50
+
51
+ $headBlock = $this->getLayout()->getBlock('head');
52
+ $headBlock->setTitle(
53
+ $headBlock->htmlEscape($processor->filter($agreement->getCheckboxText()))
54
+ );
55
+
56
+ $agreementText = $agreement->getContent();
57
+ if (!$agreement->getIsHtml()) {
58
+ $agreementText = $headBlock->htmlEscape($agreementText);
59
+ }
60
+
61
+ $agreeBlock = $this->getLayout()->getBlock('agreement');
62
+ $agreeBlock->setText($processor->filter($agreementText));
63
+ }
64
+ $this->renderLayout();
65
+ }
66
+ }
app/code/community/FireGento/GermanSetup/controllers/GermansetupController.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
@@ -26,7 +26,7 @@
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.4.0
@@ -41,6 +41,11 @@ class FireGento_GermanSetup_GermansetupController extends Mage_Adminhtml_Control
41
  public function indexAction()
42
  {
43
  $helper = Mage::helper('germansetup');
 
 
 
 
 
44
  $this->loadLayout()
45
  ->_setActiveMenu('system/germansetup/setup')
46
  ->_addBreadcrumb($helper->__('German Setup'), $helper->__('German Setup'))
@@ -55,6 +60,11 @@ class FireGento_GermanSetup_GermansetupController extends Mage_Adminhtml_Control
55
  public function extensionsAction()
56
  {
57
  $helper = Mage::helper('germansetup');
 
 
 
 
 
58
  $this->loadLayout()
59
  ->_setActiveMenu('system/germansetup/extensions')
60
  ->_addBreadcrumb($helper->__('German Setup'), $helper->__('German Setup'))
@@ -70,6 +80,13 @@ class FireGento_GermanSetup_GermansetupController extends Mage_Adminhtml_Control
70
  {
71
  if ($this->getRequest()->isPost()) {
72
  try {
 
 
 
 
 
 
 
73
  if ($this->getRequest()->getParam('cms') == 1) {
74
  Mage::getSingleton('germansetup/setup_cms')->setup();
75
  $this->_getSession()->addSuccess(
@@ -150,4 +167,4 @@ class FireGento_GermanSetup_GermansetupController extends Mage_Adminhtml_Control
150
  $index->setStatus(Mage_Index_Model_Process::STATUS_REQUIRE_REINDEX)->save();
151
  }
152
  }
153
- }
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
26
  * @category FireGento
27
  * @package FireGento_GermanSetup
28
  * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
  * @version $Id:$
32
  * @since 0.4.0
41
  public function indexAction()
42
  {
43
  $helper = Mage::helper('germansetup');
44
+
45
+ $this->_title($helper->__('System'))
46
+ ->_title($helper->__('German Setup'))
47
+ ->_title($helper->__('Setup'));
48
+
49
  $this->loadLayout()
50
  ->_setActiveMenu('system/germansetup/setup')
51
  ->_addBreadcrumb($helper->__('German Setup'), $helper->__('German Setup'))
60
  public function extensionsAction()
61
  {
62
  $helper = Mage::helper('germansetup');
63
+
64
+ $this->_title($helper->__('System'))
65
+ ->_title($helper->__('German Setup'))
66
+ ->_title($helper->__('Recommended Extensions'));
67
+
68
  $this->loadLayout()
69
  ->_setActiveMenu('system/germansetup/extensions')
70
  ->_addBreadcrumb($helper->__('German Setup'), $helper->__('German Setup'))
80
  {
81
  if ($this->getRequest()->isPost()) {
82
  try {
83
+ if ($this->getRequest()->getParam('systemconfig') == 1) {
84
+ Mage::getSingleton('germansetup/setup_systemconfig')->setup();
85
+ $this->_getSession()->addSuccess(
86
+ $this->__('German Setup: System Config Settings have been updated.')
87
+ );
88
+ }
89
+
90
  if ($this->getRequest()->getParam('cms') == 1) {
91
  Mage::getSingleton('germansetup/setup_cms')->setup();
92
  $this->_getSession()->addSuccess(
167
  $index->setStatus(Mage_Index_Model_Process::STATUS_REQUIRE_REINDEX)->save();
168
  }
169
  }
170
+ }
app/code/community/FireGento/GermanSetup/etc/at/tax.xml CHANGED
@@ -1,4 +1,27 @@
1
  <?xml version="1.0"?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  <config>
3
  <default>
4
  <germansetup>
@@ -54,14 +77,14 @@
54
  <products_20_percent>
55
  <execute>1</execute>
56
  <class_id>1</class_id>
57
- <class_name>Umsatzsteuerpflichtige Güter 20%</class_name>
58
  <class_type>PRODUCT</class_type>
59
  <default>1</default>
60
  </products_20_percent>
61
  <products_10_percent>
62
  <execute>1</execute>
63
  <class_id>2</class_id>
64
- <class_name>Umsatzsteuerpflichtige Güter 10%</class_name>
65
  <class_type>PRODUCT</class_type>
66
  <default>0</default>
67
  </products_10_percent>
@@ -74,7 +97,7 @@
74
  <shipping>
75
  <execute>1</execute>
76
  <class_id>4</class_id>
77
- <class_name>Versand</class_name>
78
  <class_type>PRODUCT</class_type>
79
  <default>0</default>
80
  </shipping>
1
  <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * This file is part of the FIREGENTO project.
5
+ *
6
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
7
+ * modify it under the terms of the GNU General Public License version 3 as
8
+ * published by the Free Software Foundation.
9
+ *
10
+ * This script is distributed in the hope that it will be useful, but WITHOUT
11
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
+ *
14
+ * PHP version 5
15
+ *
16
+ * @category FireGento
17
+ * @package FireGento_GermanSetup
18
+ * @author FireGento Team <team@firegento.com>
19
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
20
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
21
+ * @version $Id:$
22
+ * @since 0.1.0
23
+ */
24
+ -->
25
  <config>
26
  <default>
27
  <germansetup>
77
  <products_20_percent>
78
  <execute>1</execute>
79
  <class_id>1</class_id>
80
+ <class_name>Regulärer Steuersatz</class_name>
81
  <class_type>PRODUCT</class_type>
82
  <default>1</default>
83
  </products_20_percent>
84
  <products_10_percent>
85
  <execute>1</execute>
86
  <class_id>2</class_id>
87
+ <class_name>Ermäßigter Steuersatz</class_name>
88
  <class_type>PRODUCT</class_type>
89
  <default>0</default>
90
  </products_10_percent>
97
  <shipping>
98
  <execute>1</execute>
99
  <class_id>4</class_id>
100
+ <class_name>Versandsteuersatz</class_name>
101
  <class_type>PRODUCT</class_type>
102
  <default>0</default>
103
  </shipping>
app/code/community/FireGento/GermanSetup/etc/ch/tax.xml CHANGED
@@ -1,4 +1,27 @@
1
  <?xml version="1.0"?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  <config>
3
  <default>
4
  <germansetup>
@@ -11,13 +34,13 @@
11
  <priority>1</priority>
12
  <position>0</position>
13
  </products_8_percent>
14
- <products_24_percent>
15
  <execute>1</execute>
16
  <tax_calculation_rule_id>4</tax_calculation_rule_id>
17
- <code>Produkte mit 2.4% MwSt.</code>
18
  <priority>2</priority>
19
  <position>0</position>
20
- </products_24_percent>
21
  <shipping>
22
  <execute>1</execute>
23
  <tax_calculation_rule_id>5</tax_calculation_rule_id>
@@ -32,13 +55,13 @@
32
  <priority>1</priority>
33
  <position>0</position>
34
  </products_8_percent_companies>
35
- <products_24_percent_companies>
36
  <execute>1</execute>
37
  <tax_calculation_rule_id>7</tax_calculation_rule_id>
38
- <code>Produkte mit 2.4% MwSt.</code>
39
  <priority>2</priority>
40
  <position>0</position>
41
- </products_24_percent_companies>
42
  <shipping_companies>
43
  <execute>1</execute>
44
  <tax_calculation_rule_id>8</tax_calculation_rule_id>
@@ -54,17 +77,17 @@
54
  <products_8_percent>
55
  <execute>1</execute>
56
  <class_id>1</class_id>
57
- <class_name>Umsatzsteuerpflichtige Güter 8%</class_name>
58
  <class_type>PRODUCT</class_type>
59
  <default>1</default>
60
  </products_8_percent>
61
- <products_24_percent>
62
  <execute>1</execute>
63
  <class_id>2</class_id>
64
- <class_name>Umsatzsteuerpflichtige Güter 2.4%</class_name>
65
  <class_type>PRODUCT</class_type>
66
  <default>0</default>
67
- </products_24_percent>
68
  <customer_customers>
69
  <execute>1</execute>
70
  <class_id>3</class_id>
@@ -74,7 +97,7 @@
74
  <shipping>
75
  <execute>1</execute>
76
  <class_id>4</class_id>
77
- <class_name>Versand</class_name>
78
  <class_type>PRODUCT</class_type>
79
  <default>0</default>
80
  </shipping>
@@ -109,16 +132,16 @@
109
  <label>ohne MwSt.</label>
110
  <rate>0</rate>
111
  </tax_calculation_rate_CH_0>
112
- <tax_calculation_rate_CH_24>
113
  <execute>1</execute>
114
  <tax_calculation_rate_id>5</tax_calculation_rate_id>
115
  <tax_country_id>CH</tax_country_id>
116
  <tax_region_id>0</tax_region_id>
117
  <tax_postcode>*</tax_postcode>
118
- <code>CH 2.4%</code>
119
  <label>reduzierte MwSt.</label>
120
- <rate>2.4</rate>
121
- </tax_calculation_rate_CH_24>
122
  </default>
123
  </tax_calculation_rates>
124
 
1
  <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * This file is part of the FIREGENTO project.
5
+ *
6
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
7
+ * modify it under the terms of the GNU General Public License version 3 as
8
+ * published by the Free Software Foundation.
9
+ *
10
+ * This script is distributed in the hope that it will be useful, but WITHOUT
11
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
+ *
14
+ * PHP version 5
15
+ *
16
+ * @category FireGento
17
+ * @package FireGento_GermanSetup
18
+ * @author FireGento Team <team@firegento.com>
19
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
20
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
21
+ * @version $Id:$
22
+ * @since 0.1.0
23
+ */
24
+ -->
25
  <config>
26
  <default>
27
  <germansetup>
34
  <priority>1</priority>
35
  <position>0</position>
36
  </products_8_percent>
37
+ <products_25_percent>
38
  <execute>1</execute>
39
  <tax_calculation_rule_id>4</tax_calculation_rule_id>
40
+ <code>Produkte mit 2.5% MwSt.</code>
41
  <priority>2</priority>
42
  <position>0</position>
43
+ </products_25_percent>
44
  <shipping>
45
  <execute>1</execute>
46
  <tax_calculation_rule_id>5</tax_calculation_rule_id>
55
  <priority>1</priority>
56
  <position>0</position>
57
  </products_8_percent_companies>
58
+ <products_25_percent_companies>
59
  <execute>1</execute>
60
  <tax_calculation_rule_id>7</tax_calculation_rule_id>
61
+ <code>Produkte mit 2.5% MwSt.</code>
62
  <priority>2</priority>
63
  <position>0</position>
64
+ </products_25_percent_companies>
65
  <shipping_companies>
66
  <execute>1</execute>
67
  <tax_calculation_rule_id>8</tax_calculation_rule_id>
77
  <products_8_percent>
78
  <execute>1</execute>
79
  <class_id>1</class_id>
80
+ <class_name>Regulärer Steuersatz</class_name>
81
  <class_type>PRODUCT</class_type>
82
  <default>1</default>
83
  </products_8_percent>
84
+ <products_25_percent>
85
  <execute>1</execute>
86
  <class_id>2</class_id>
87
+ <class_name>Ermässigter Steuersatz</class_name>
88
  <class_type>PRODUCT</class_type>
89
  <default>0</default>
90
+ </products_25_percent>
91
  <customer_customers>
92
  <execute>1</execute>
93
  <class_id>3</class_id>
97
  <shipping>
98
  <execute>1</execute>
99
  <class_id>4</class_id>
100
+ <class_name>Versandsteuersatz</class_name>
101
  <class_type>PRODUCT</class_type>
102
  <default>0</default>
103
  </shipping>
132
  <label>ohne MwSt.</label>
133
  <rate>0</rate>
134
  </tax_calculation_rate_CH_0>
135
+ <tax_calculation_rate_CH_25>
136
  <execute>1</execute>
137
  <tax_calculation_rate_id>5</tax_calculation_rate_id>
138
  <tax_country_id>CH</tax_country_id>
139
  <tax_region_id>0</tax_region_id>
140
  <tax_postcode>*</tax_postcode>
141
+ <code>CH 2.5%</code>
142
  <label>reduzierte MwSt.</label>
143
+ <rate>2.5</rate>
144
+ </tax_calculation_rate_CH_25>
145
  </default>
146
  </tax_calculation_rates>
147
 
app/code/community/FireGento/GermanSetup/etc/config.xml CHANGED
@@ -1,8 +1,31 @@
1
  <?xml version="1.0"?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  <config>
3
  <modules>
4
  <FireGento_GermanSetup>
5
- <version>1.0.0</version>
6
  </FireGento_GermanSetup>
7
  </modules>
8
  <global>
@@ -20,22 +43,27 @@
20
  <germansetup>
21
  <class>FireGento_GermanSetup_Helper</class>
22
  </germansetup>
 
 
 
 
 
23
  </helpers>
24
  <models>
25
  <germansetup>
26
  <class>FireGento_GermanSetup_Model</class>
27
  </germansetup>
28
- <tax>
29
- <rewrite>
30
- <config>FireGento_GermanSetup_Model_Tax_Config</config>
31
- </rewrite>
32
- </tax>
33
  </models>
34
  <resources>
35
  <germansetup_setup>
36
  <setup>
37
  <module>FireGento_GermanSetup</module>
38
- <class>eav/entity_setup</class>
39
  </setup>
40
  </germansetup_setup>
41
  </resources>
@@ -44,6 +72,7 @@
44
  <observers>
45
  <germansetup_observer>
46
  <class>germansetup/observer</class>
 
47
  <method>autogenerateMetaInformation</method>
48
  </germansetup_observer>
49
  </observers>
@@ -72,11 +101,26 @@
72
  <observers>
73
  <germansetup_observer>
74
  <class>germansetup/observer</class>
 
75
  <method>filterAgreements</method>
76
  </germansetup_observer>
77
  </observers>
78
  </core_block_abstract_to_html_before>
79
  </events>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  </frontend>
81
  <adminhtml>
82
  <layout>
@@ -133,6 +177,17 @@
133
  </admin>
134
  </resources>
135
  </acl>
 
 
 
 
 
 
 
 
 
 
 
136
  </adminhtml>
137
  <admin>
138
  <routers>
@@ -162,6 +217,11 @@
162
  <email>info@musterdomain.de</email>
163
  </imprint>
164
  </general>
 
 
 
 
 
165
  <customer>
166
  <address_templates>
167
  <text><![CDATA[
@@ -210,5 +270,18 @@ Tel: {{var telephone}}
210
  </js_template>
211
  </address_templates>
212
  </customer>
 
 
 
 
 
 
 
 
 
 
 
 
 
213
  </default>
214
  </config>
1
  <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * This file is part of the FIREGENTO project.
5
+ *
6
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
7
+ * modify it under the terms of the GNU General Public License version 3 as
8
+ * published by the Free Software Foundation.
9
+ *
10
+ * This script is distributed in the hope that it will be useful, but WITHOUT
11
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
+ *
14
+ * PHP version 5
15
+ *
16
+ * @category FireGento
17
+ * @package FireGento_GermanSetup
18
+ * @author FireGento Team <team@firegento.com>
19
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
20
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
21
+ * @version $Id:$
22
+ * @since 0.1.0
23
+ */
24
+ -->
25
  <config>
26
  <modules>
27
  <FireGento_GermanSetup>
28
+ <version>1.1.1</version>
29
  </FireGento_GermanSetup>
30
  </modules>
31
  <global>
43
  <germansetup>
44
  <class>FireGento_GermanSetup_Helper</class>
45
  </germansetup>
46
+ <catalog>
47
+ <rewrite>
48
+ <product_configuration>FireGento_GermanSetup_Helper_Catalog_Product_Configuration</product_configuration>
49
+ </rewrite>
50
+ </catalog>
51
  </helpers>
52
  <models>
53
  <germansetup>
54
  <class>FireGento_GermanSetup_Model</class>
55
  </germansetup>
56
+ <tax>
57
+ <rewrite>
58
+ <config>FireGento_GermanSetup_Model_Tax_Config</config>
59
+ </rewrite>
60
+ </tax>
61
  </models>
62
  <resources>
63
  <germansetup_setup>
64
  <setup>
65
  <module>FireGento_GermanSetup</module>
66
+ <class>Mage_Eav_Model_Entity_Setup</class>
67
  </setup>
68
  </germansetup_setup>
69
  </resources>
72
  <observers>
73
  <germansetup_observer>
74
  <class>germansetup/observer</class>
75
+ <type>model</type>
76
  <method>autogenerateMetaInformation</method>
77
  </germansetup_observer>
78
  </observers>
101
  <observers>
102
  <germansetup_observer>
103
  <class>germansetup/observer</class>
104
+ <type>model</type>
105
  <method>filterAgreements</method>
106
  </germansetup_observer>
107
  </observers>
108
  </core_block_abstract_to_html_before>
109
  </events>
110
+ <frontend>
111
+ <secure_url>
112
+ <contacts>/contacts/</contacts>
113
+ </secure_url>
114
+ </frontend>
115
+ <routers>
116
+ <germansetup>
117
+ <use>standard</use>
118
+ <args>
119
+ <module>FireGento_GermanSetup</module>
120
+ <frontName>germansetup</frontName>
121
+ </args>
122
+ </germansetup>
123
+ </routers>
124
  </frontend>
125
  <adminhtml>
126
  <layout>
177
  </admin>
178
  </resources>
179
  </acl>
180
+ <events>
181
+ <adminhtml_catalog_product_attribute_edit_prepare_form>
182
+ <observers>
183
+ <germansetup_observer>
184
+ <class>germansetup/observer</class>
185
+ <type>model</type>
186
+ <method>addIsVisibleOnCheckoutOption</method>
187
+ </germansetup_observer>
188
+ </observers>
189
+ </adminhtml_catalog_product_attribute_edit_prepare_form>
190
+ </events>
191
  </adminhtml>
192
  <admin>
193
  <routers>
217
  <email>info@musterdomain.de</email>
218
  </imprint>
219
  </general>
220
+ <checkout>
221
+ <options>
222
+ <additional_information><![CDATA[Zusätzlich können noch Kosten oder Steuern anfallen, die nicht über uns abgeführt bzw. von uns in Rechnung gestellt werden.]]></additional_information>
223
+ </options>
224
+ </checkout>
225
  <customer>
226
  <address_templates>
227
  <text><![CDATA[
270
  </js_template>
271
  </address_templates>
272
  </customer>
273
+
274
+ <url>
275
+ <convert>
276
+ <char0228><from>ä</from><to>ae</to></char0228>
277
+ <char0246><from>ö</from><to>oe</to></char0246>
278
+ <char0252><from>ü</from><to>ue</to></char0252>
279
+ <char0223><from>ß</from><to>ss</to></char0223>
280
+ <char0196><from>Ä</from><to>ae</to></char0196>
281
+ <char0214><from>Ö</from><to>oe</to></char0214>
282
+ <char0220><from>Ü</from><to>ue</to></char0220>
283
+ </convert>
284
+ </url>
285
+
286
  </default>
287
  </config>
app/code/community/FireGento/GermanSetup/etc/default/cms.xml CHANGED
@@ -1,4 +1,27 @@
1
  <?xml version="1.0"?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  <config>
3
  <default>
4
  <germansetup>
1
  <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * This file is part of the FIREGENTO project.
5
+ *
6
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
7
+ * modify it under the terms of the GNU General Public License version 3 as
8
+ * published by the Free Software Foundation.
9
+ *
10
+ * This script is distributed in the hope that it will be useful, but WITHOUT
11
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
+ *
14
+ * PHP version 5
15
+ *
16
+ * @category FireGento
17
+ * @package FireGento_GermanSetup
18
+ * @author FireGento Team <team@firegento.com>
19
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
20
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
21
+ * @version $Id:$
22
+ * @since 0.1.0
23
+ */
24
+ -->
25
  <config>
26
  <default>
27
  <germansetup>
app/code/community/FireGento/GermanSetup/etc/default/email.xml CHANGED
@@ -1,4 +1,27 @@
1
  <?xml version="1.0"?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  <config>
3
  <default>
4
  <germansetup>
1
  <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * This file is part of the FIREGENTO project.
5
+ *
6
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
7
+ * modify it under the terms of the GNU General Public License version 3 as
8
+ * published by the Free Software Foundation.
9
+ *
10
+ * This script is distributed in the hope that it will be useful, but WITHOUT
11
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
+ *
14
+ * PHP version 5
15
+ *
16
+ * @category FireGento
17
+ * @package FireGento_GermanSetup
18
+ * @author FireGento Team <team@firegento.com>
19
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
20
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
21
+ * @version $Id:$
22
+ * @since 0.1.0
23
+ */
24
+ -->
25
  <config>
26
  <default>
27
  <germansetup>
app/code/community/FireGento/GermanSetup/etc/default/systemconfig.xml ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ /**
4
+ * This file is part of the FIREGENTO project.
5
+ *
6
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
7
+ * modify it under the terms of the GNU General Public License version 3 as
8
+ * published by the Free Software Foundation.
9
+ *
10
+ * This script is distributed in the hope that it will be useful, but WITHOUT
11
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
+ *
14
+ * PHP version 5
15
+ *
16
+ * @category FireGento
17
+ * @package FireGento_GermanSetup
18
+ * @author FireGento Team <team@firegento.com>
19
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
20
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
21
+ * @version $Id:$
22
+ * @since 0.1.0
23
+ */
24
+ -->
25
+ <config>
26
+ <default>
27
+ <germansetup>
28
+ <system_config>
29
+ <default>
30
+ <customer__create_account__confirm>1</customer__create_account__confirm>
31
+ <newsletter__subscription__confirm>1</newsletter__subscription__confirm>
32
+ </default>
33
+ </system_config>
34
+ </germansetup>
35
+ </default>
36
+ </config>
app/code/community/FireGento/GermanSetup/etc/default/tax.xml CHANGED
@@ -1,4 +1,27 @@
1
  <?xml version="1.0"?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  <config>
3
  <default>
4
  <germansetup>
@@ -54,14 +77,14 @@
54
  <products_19_percent>
55
  <execute>1</execute>
56
  <class_id>1</class_id>
57
- <class_name>Umsatzsteuerpflichtige Güter 19%</class_name>
58
  <class_type>PRODUCT</class_type>
59
  <default>1</default>
60
  </products_19_percent>
61
  <products_7_percent>
62
  <execute>1</execute>
63
  <class_id>2</class_id>
64
- <class_name>Umsatzsteuerpflichtige Güter 7%</class_name>
65
  <class_type>PRODUCT</class_type>
66
  <default>0</default>
67
  </products_7_percent>
@@ -74,7 +97,7 @@
74
  <shipping>
75
  <execute>1</execute>
76
  <class_id>4</class_id>
77
- <class_name>Versand</class_name>
78
  <class_type>PRODUCT</class_type>
79
  <default>0</default>
80
  </shipping>
1
  <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * This file is part of the FIREGENTO project.
5
+ *
6
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
7
+ * modify it under the terms of the GNU General Public License version 3 as
8
+ * published by the Free Software Foundation.
9
+ *
10
+ * This script is distributed in the hope that it will be useful, but WITHOUT
11
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
+ *
14
+ * PHP version 5
15
+ *
16
+ * @category FireGento
17
+ * @package FireGento_GermanSetup
18
+ * @author FireGento Team <team@firegento.com>
19
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
20
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
21
+ * @version $Id:$
22
+ * @since 0.1.0
23
+ */
24
+ -->
25
  <config>
26
  <default>
27
  <germansetup>
77
  <products_19_percent>
78
  <execute>1</execute>
79
  <class_id>1</class_id>
80
+ <class_name>Regulärer Steuersatz</class_name>
81
  <class_type>PRODUCT</class_type>
82
  <default>1</default>
83
  </products_19_percent>
84
  <products_7_percent>
85
  <execute>1</execute>
86
  <class_id>2</class_id>
87
+ <class_name>Ermäßigter Steuersatz</class_name>
88
  <class_type>PRODUCT</class_type>
89
  <default>0</default>
90
  </products_7_percent>
97
  <shipping>
98
  <execute>1</execute>
99
  <class_id>4</class_id>
100
+ <class_name>Versandsteuersatz</class_name>
101
  <class_type>PRODUCT</class_type>
102
  <default>0</default>
103
  </shipping>
app/code/community/FireGento/GermanSetup/etc/system.xml CHANGED
@@ -1,9 +1,34 @@
1
  <?xml version="1.0"?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  <config>
3
  <sections>
4
  <catalog>
5
  <groups>
6
  <price>
 
 
7
  <fields>
8
  <display_block_below_price translate="label,comment" module="germansetup">
9
  <label>Display Block below Price</label>
@@ -235,6 +260,33 @@
235
  </imprint>
236
  </groups>
237
  </general>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
238
  <google>
239
  <groups>
240
  <analytics>
@@ -272,4 +324,4 @@
272
  </groups>
273
  </tax>
274
  </sections>
275
- </config>
1
  <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * This file is part of the FIREGENTO project.
5
+ *
6
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
7
+ * modify it under the terms of the GNU General Public License version 3 as
8
+ * published by the Free Software Foundation.
9
+ *
10
+ * This script is distributed in the hope that it will be useful, but WITHOUT
11
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
+ *
14
+ * PHP version 5
15
+ *
16
+ * @category FireGento
17
+ * @package FireGento_GermanSetup
18
+ * @author FireGento Team <team@firegento.com>
19
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
20
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
21
+ * @version $Id:$
22
+ * @since 0.1.0
23
+ */
24
+ -->
25
  <config>
26
  <sections>
27
  <catalog>
28
  <groups>
29
  <price>
30
+ <show_in_website>1</show_in_website>
31
+ <show_in_store>1</show_in_store>
32
  <fields>
33
  <display_block_below_price translate="label,comment" module="germansetup">
34
  <label>Display Block below Price</label>
260
  </imprint>
261
  </groups>
262
  </general>
263
+ <checkout>
264
+ <groups>
265
+ <options>
266
+ <fields>
267
+ <display_additional_information translate="label,comment" module="germansetup">
268
+ <label>Display Additional Information</label>
269
+ <comment>Display content from text field below at the checkout confirm page directly above the checkout button</comment>
270
+ <frontend_type>select</frontend_type>
271
+ <source_model>adminhtml/system_config_source_yesno</source_model>
272
+ <sort_order>500</sort_order>
273
+ <show_in_default>1</show_in_default>
274
+ <show_in_website>1</show_in_website>
275
+ <show_in_store>1</show_in_store>
276
+ </display_additional_information>
277
+
278
+ <additional_information translate="label">
279
+ <label>Additional Information</label>
280
+ <frontend_type>textarea</frontend_type>
281
+ <sort_order>505</sort_order>
282
+ <show_in_default>1</show_in_default>
283
+ <show_in_website>1</show_in_website>
284
+ <show_in_store>1</show_in_store>
285
+ </additional_information>
286
+ </fields>
287
+ </options>
288
+ </groups>
289
+ </checkout>
290
  <google>
291
  <groups>
292
  <analytics>
324
  </groups>
325
  </tax>
326
  </sections>
327
+ </config>
app/code/community/FireGento/GermanSetup/sql/germansetup_setup/mysql4-install-0.5.0.php CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
@@ -27,7 +27,7 @@
27
  * @category FireGento
28
  * @package FireGento_GermanSetup
29
  * @author FireGento Team <team@firegento.com>
30
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
31
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
32
  * @version $Id:$
33
  * @since 0.1.0
@@ -59,4 +59,4 @@ $installer->addAttribute(
59
  )
60
  );
61
 
62
- $installer->endSetup();
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
27
  * @category FireGento
28
  * @package FireGento_GermanSetup
29
  * @author FireGento Team <team@firegento.com>
30
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
31
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
32
  * @version $Id:$
33
  * @since 0.1.0
59
  )
60
  );
61
 
62
+ $installer->endSetup();
app/code/community/FireGento/GermanSetup/sql/germansetup_setup/mysql4-upgrade-1.0.4-1.0.5.php ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file is part of the FIREGENTO project.
4
+ *
5
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU General Public License version 3 as
7
+ * published by the Free Software Foundation.
8
+ *
9
+ * This script is distributed in the hope that it will be useful, but WITHOUT
10
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
+ *
13
+ * PHP version 5
14
+ *
15
+ * @category FireGento
16
+ * @package FireGento_GermanSetup
17
+ * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
+ * @version $Id:$
21
+ * @since 1.0.5
22
+ */
23
+ /**
24
+ * Setup script; Adds the delivery_time attribute for products
25
+ * and creates all initial pages, blocks and emails
26
+ *
27
+ * @category FireGento
28
+ * @package FireGento_GermanSetup
29
+ * @author FireGento Team <team@firegento.com>
30
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
31
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
32
+ * @version $Id:$
33
+ * @since 1.0.5
34
+ */
35
+
36
+ /* @var $this Mage_Eav_Model_Entity_Setup */
37
+ $installer = $this;
38
+ $installer->startSetup();
39
+
40
+ if (version_compare(Mage::getVersion(), '1.6', '<')) {
41
+
42
+ $installer->run("
43
+ ALTER TABLE `{$installer->getTable('catalog/eav_attribute')}`
44
+ ADD `is_visible_on_checkout` SMALLINT(5) NOT NULL DEFAULT '0';
45
+ ");
46
+
47
+ } else {
48
+
49
+ $installer->getConnection()->addColumn(
50
+ $installer->getTable('catalog/eav_attribute'),
51
+ 'is_visible_on_checkout',
52
+ array(
53
+ 'type' => Varien_Db_Ddl_Table::TYPE_SMALLINT,
54
+ 'unsigned' => true,
55
+ 'nullable' => false,
56
+ 'default' => '0',
57
+ 'comment' => 'Visible in Checkout'
58
+ )
59
+ );
60
+
61
+ }
62
+
63
+ $installer->endSetup();
app/design/adminhtml/default/default/layout/germansetup.xml CHANGED
@@ -1,4 +1,27 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  <layout version="0.1.0">
3
  <default>
4
  <reference name="notifications">
@@ -15,4 +38,4 @@
15
  <block type="adminhtml/template" name="germansetup.extensions" template="germansetup/extensions.phtml"/>
16
  </reference>
17
  </adminhtml_germansetup_extensions>
18
- </layout>
1
  <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ /**
4
+ * This file is part of the FIREGENTO project.
5
+ *
6
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
7
+ * modify it under the terms of the GNU General Public License version 3 as
8
+ * published by the Free Software Foundation.
9
+ *
10
+ * This script is distributed in the hope that it will be useful, but WITHOUT
11
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
+ *
14
+ * PHP version 5
15
+ *
16
+ * @category FireGento
17
+ * @package FireGento_GermanSetup
18
+ * @author FireGento Team <team@firegento.com>
19
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
20
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
21
+ * @version $Id:$
22
+ * @since 0.1.0
23
+ */
24
+ -->
25
  <layout version="0.1.0">
26
  <default>
27
  <reference name="notifications">
38
  <block type="adminhtml/template" name="germansetup.extensions" template="germansetup/extensions.phtml"/>
39
  </reference>
40
  </adminhtml_germansetup_extensions>
41
+ </layout>
app/design/adminhtml/default/default/template/germansetup/extensions.phtml CHANGED
@@ -84,4 +84,4 @@
84
  </table>
85
  </div>
86
  </div>
87
- </div>
84
  </table>
85
  </div>
86
  </div>
87
+ </div>
app/design/adminhtml/default/default/template/germansetup/form.phtml CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.4.0
@@ -30,7 +30,7 @@
30
  <div class="content-header">
31
  <h3><?php echo $this->__('German Setup') ?></h3>
32
  <p class="form-buttons">
33
- <?php echo $this->getButtonHtml($this->__('Run German Setup'), 'setupForm.submit();', 'save'); ?>
34
  </p>
35
  </div>
36
 
@@ -43,46 +43,56 @@
43
  </div>
44
 
45
  <div class="fieldset fieldset-wide" id="group_fields7">
46
- <div class="hor-scroll">
47
- <table cellspacing="0" class="form-list">
48
- <tbody>
49
- <tr>
50
- <td class="label"><label for="select_country"><?php echo $this->__('Shipping from') ?></label></td>
51
- <td class="value" style="width:160px !important;">
52
- <select name="country" id="select_country" style="width:150px !important;">
53
- <option value="de" selected="selected"><?php echo $this->__('Germany')?></option>
54
- <option value="at"><?php echo $this->__('Austria')?></option>
55
- <option value="ch"><?php echo $this->__('Switzerland')?></option>
56
- </select>
57
  </td>
58
  <td class="value">
59
- <img src="<?php echo $this->getSkinUrl('images/error_msg_icon.gif') ?>" alt="Notification" />
60
  <?php echo $this->__('This setting is base for the tax rate setup!') ?>
61
  </td>
62
  </tr>
63
  <tr><td colspan="3">&nbsp;</td></tr>
64
- <tr>
65
- <td class="label"><label for="checkbox_cms"><?php echo $this->__('Create CMS Pages and Blocks') ?></label></td>
66
- <td class="value">
67
- <input type="checkbox" name="cms" id="checkbox_cms" value="1" checked="checked" />
 
 
 
 
 
 
 
 
 
 
68
  </td>
69
  <td class="value">
70
  <?php echo $this->__('i.e. shipping, conditions, revocation') ?>
71
  </td>
72
  </tr>
73
- <tr>
74
- <td class="label"><label for="checkbox_agreements"><?php echo $this->__('Create Checkout Agreements') ?></label></td>
75
- <td class="value">
76
- <input type="checkbox" name="agreements" id="checkbox_agreements" value="1" checked="checked" />
77
  </td>
78
  <td class="value">
79
  <?php echo $this->__('Conditions') ?>
80
  </td>
81
  </tr>
82
- <tr>
83
- <td class="label"><label for="checkbox_email"><?php echo $this->__('Create Email Templates') ?></label></td>
84
- <td class="value">
85
- <input type="checkbox" name="email" id="checkbox_email" value="1" checked="checked" />
86
  </td>
87
  <td class="value"><?php echo $this->__('German Email Templates') ?></td>
88
  </tr>
@@ -96,8 +106,8 @@
96
  <?php echo $this->__('All tax settings will be overwritten!') ?>
97
  </td>
98
  </tr>
99
- <tr>
100
- <td class="label"><label><?php echo $this->__('Update Product Tax Classes') ?></label></td>
101
  <td class="value"></td>
102
  <td class="value">
103
  <table cellspacing="5" class="">
@@ -124,12 +134,12 @@
124
  </table>
125
  </td>
126
  </tr>
127
- </tbody>
128
- </table>
129
- </div>
130
- </div>
131
  </form>
132
  </div>
133
  <script type="text/javascript">
134
- setupForm = new varienForm('setup_form', '');
135
- </script>
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.4.0
30
  <div class="content-header">
31
  <h3><?php echo $this->__('German Setup') ?></h3>
32
  <p class="form-buttons">
33
+ <?php echo $this->getButtonHtml($this->__('Run German Setup'), 'setupForm.submit();', 'save'); ?>
34
  </p>
35
  </div>
36
 
43
  </div>
44
 
45
  <div class="fieldset fieldset-wide" id="group_fields7">
46
+ <div class="hor-scroll">
47
+ <table cellspacing="0" class="form-list">
48
+ <tbody>
49
+ <tr>
50
+ <td class="label"><label for="select_country"><?php echo $this->__('Shipping from') ?></label></td>
51
+ <td class="value" style="width:160px !important;">
52
+ <select name="country" id="select_country" style="width:150px !important;">
53
+ <option value="de" selected="selected"><?php echo $this->__('Germany')?></option>
54
+ <option value="at"><?php echo $this->__('Austria')?></option>
55
+ <option value="ch"><?php echo $this->__('Switzerland')?></option>
56
+ </select>
57
  </td>
58
  <td class="value">
59
+ <img src="<?php echo $this->getSkinUrl('images/error_msg_icon.gif') ?>" alt="Notification" />
60
  <?php echo $this->__('This setting is base for the tax rate setup!') ?>
61
  </td>
62
  </tr>
63
  <tr><td colspan="3">&nbsp;</td></tr>
64
+ <tr>
65
+ <td class="label"><label for="checkbox_systemconfig"><?php echo $this->__('Update System Config Settings') ?></label></td>
66
+ <td class="value">
67
+ <input type="checkbox" name="systemconfig" id="checkbox_systemconfig" value="1" checked="checked" />
68
+ </td>
69
+ <td class="value">
70
+ <?php echo $this->__('i.e. newsletter confirmation, account confirmation, ..') ?>
71
+ </td>
72
+ </tr>
73
+ <tr><td colspan="3">&nbsp;</td></tr>
74
+ <tr>
75
+ <td class="label"><label for="checkbox_cms"><?php echo $this->__('Create CMS Pages and Blocks') ?></label></td>
76
+ <td class="value">
77
+ <input type="checkbox" name="cms" id="checkbox_cms" value="1" checked="checked" />
78
  </td>
79
  <td class="value">
80
  <?php echo $this->__('i.e. shipping, conditions, revocation') ?>
81
  </td>
82
  </tr>
83
+ <tr>
84
+ <td class="label"><label for="checkbox_agreements"><?php echo $this->__('Create Checkout Agreements') ?></label></td>
85
+ <td class="value">
86
+ <input type="checkbox" name="agreements" id="checkbox_agreements" value="1" checked="checked" />
87
  </td>
88
  <td class="value">
89
  <?php echo $this->__('Conditions') ?>
90
  </td>
91
  </tr>
92
+ <tr>
93
+ <td class="label"><label for="checkbox_email"><?php echo $this->__('Create Email Templates') ?></label></td>
94
+ <td class="value">
95
+ <input type="checkbox" name="email" id="checkbox_email" value="1" checked="checked" />
96
  </td>
97
  <td class="value"><?php echo $this->__('German Email Templates') ?></td>
98
  </tr>
106
  <?php echo $this->__('All tax settings will be overwritten!') ?>
107
  </td>
108
  </tr>
109
+ <tr>
110
+ <td class="label"><label><?php echo $this->__('Update Product Tax Classes') ?></label></td>
111
  <td class="value"></td>
112
  <td class="value">
113
  <table cellspacing="5" class="">
134
  </table>
135
  </td>
136
  </tr>
137
+ </tbody>
138
+ </table>
139
+ </div>
140
+ </div>
141
  </form>
142
  </div>
143
  <script type="text/javascript">
144
+ setupForm = new varienForm('setup_form', '');
145
+ </script>
app/design/frontend/base/default/layout/germansetup.xml CHANGED
@@ -1,10 +1,9 @@
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
 
4
- <!--
5
- Adding custom product price block
6
- -->
7
-
8
  <catalog_category_default>
9
  <reference name="product_list">
10
  <action method="addPriceBlockType"><type>simple</type><block>germansetup/catalog_product_price</block><template>catalog/product/price.phtml</template></action>
@@ -123,4 +122,50 @@ Adding custom product price block
123
  </reference>
124
  </catalog_product_view>
125
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  </layout>
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
 
4
+ <!--
5
+ Adding custom product price block
6
+ -->
 
7
  <catalog_category_default>
8
  <reference name="product_list">
9
  <action method="addPriceBlockType"><type>simple</type><block>germansetup/catalog_product_price</block><template>catalog/product/price.phtml</template></action>
122
  </reference>
123
  </catalog_product_view>
124
 
125
+ <!--
126
+ Changes for Button Loesung
127
+ -->
128
+ <germansetup_frontend_agreements>
129
+ <reference name="root">
130
+ <action method="setTemplate"><template>page/popup.phtml</template></action>
131
+ </reference>
132
+ <reference name="content">
133
+ <block type="core/text" name="agreement" />
134
+ </reference>
135
+ </germansetup_frontend_agreements>
136
+
137
+ <checkout_onepage_index>
138
+ <reference name="head">
139
+ <action method="addCss"><stylesheet>css/germansetup/checkout.css</stylesheet></action>
140
+ </reference>
141
+ </checkout_onepage_index>
142
+
143
+ <checkout_onepage_review>
144
+ <reference name="checkout.onepage.agreements">
145
+ <action method="setTemplate"><template>germansetup/checkout/onepage/agreements.phtml</template></action>
146
+ </reference>
147
+ <reference name="root">
148
+ <action method="unsetChild"><alias>agreements</alias></action>
149
+ </reference>
150
+ <reference name="checkout.onepage.review.info.items.before">
151
+ <action method="insert"><blockName>checkout.onepage.agreements</blockName></action>
152
+ </reference>
153
+ <reference name="checkout.onepage.review.info.items.after">
154
+ <block type="germansetup/checkout_information" name="checkout.onepage.additional" as="additional" template="germansetup/checkout/additional.phtml" />
155
+ </reference>
156
+ </checkout_onepage_review>
157
+
158
+ <checkout_multishipping_overview>
159
+ <reference name="head">
160
+ <action method="addCss"><stylesheet>css/germansetup/checkout.css</stylesheet></action>
161
+ </reference>
162
+ <reference name="checkout_overview">
163
+ <action method="setTemplate"><name>germansetup/checkout/multishipping/overview.phtml</name></action>
164
+ <action method="unsetChild"><name>agreements</name></action>
165
+ <block type="checkout/agreements" name="checkout.multishipping.agreements" as="agreements" template="germansetup/checkout/multishipping/agreements.phtml" />
166
+ </reference>
167
+ <reference name="checkout.multishipping.overview.items.after">
168
+ <block type="germansetup/checkout_information" name="checkout.multishipping.additional" as="additional" template="germansetup/checkout/additional.phtml" />
169
+ </reference>
170
+ </checkout_multishipping_overview>
171
  </layout>
app/design/frontend/base/default/template/germansetup/checkout/additional.phtml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file is part of the FIREGENTO project.
4
+ *
5
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU General Public License version 3 as
7
+ * published by the Free Software Foundation.
8
+ *
9
+ * This script is distributed in the hope that it will be useful, but WITHOUT
10
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
+ *
13
+ * PHP version 5
14
+ *
15
+ * @category FireGento
16
+ * @package FireGento_GermanSetup
17
+ * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
+ * @version $Id:$
21
+ * @since 0.1.0
22
+ */
23
+ ?>
24
+ <?php
25
+ /* @var $this FireGento_GermanSetup_Block_Checkout_Information */
26
+ ?>
27
+ <?php if ($additional = $this->getCheckoutAdditionalInformation()): ?>
28
+ <div class="additional-information">
29
+ <?php echo $additional ?>
30
+ </div>
31
+ <?php endif; ?>
app/design/frontend/base/default/template/germansetup/checkout/multishipping/agreements.phtml ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file is part of the FIREGENTO project.
4
+ *
5
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU General Public License version 3 as
7
+ * published by the Free Software Foundation.
8
+ *
9
+ * This script is distributed in the hope that it will be useful, but WITHOUT
10
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
+ *
13
+ * PHP version 5
14
+ *
15
+ * @category FireGento
16
+ * @package FireGento_GermanSetup
17
+ * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
+ * @version $Id:$
21
+ * @since 0.1.0
22
+ */
23
+ /**
24
+ * Checkout Agreements
25
+ *
26
+ * @category FireGento
27
+ * @package FireGento_GermanSetup
28
+ * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
+ * @version $Id:$
32
+ * @since 0.1.0
33
+ */
34
+
35
+ /**
36
+ * @var $this Mage_Checkout_Block_Agreements
37
+ */
38
+
39
+ /* @var $helper FireGento_GermanSetup_Helper_Data */
40
+ $helper = $this->helper('germansetup');
41
+ ?>
42
+
43
+ <?php if (!$this->getAgreements()) return; ?>
44
+
45
+ <ol class="checkout-agreements">
46
+ <?php foreach ($this->getAgreements() as $_a): ?>
47
+ <li>
48
+ <p class="agree">
49
+ <input type="checkbox" id="agreement-<?php echo $_a->getId()?>" name="agreement[<?php echo $_a->getId()?>]" value="1" title="<?php echo $this->htmlEscape($_a->getCheckboxText()) ?>" class="checkbox" />
50
+ <label for="agreement-<?php echo $_a->getId()?>"><?php echo $_a->getIsHtml() ? $_a->getCheckboxText() : $this->htmlEscape($_a->getCheckboxText()) ?></label>
51
+ <a href="#" onclick="window.open('<?php echo $this->getUrl('germansetup/frontend/agreements', array('id' => $_a->getId())) ?>', '', 'width=600,height=600,left=0,top=0,location=no,status=yes,scrollbars=yes,resizable=yes').focus(); return false;"><?php echo $this->__('[Show]') ?></a>
52
+ </p>
53
+ </li>
54
+ <?php endforeach ?>
55
+ </ol>
app/design/frontend/base/default/template/germansetup/checkout/multishipping/overview.phtml ADDED
@@ -0,0 +1,240 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file is part of the FIREGENTO project.
4
+ *
5
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU General Public License version 3 as
7
+ * published by the Free Software Foundation.
8
+ *
9
+ * This script is distributed in the hope that it will be useful, but WITHOUT
10
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
+ *
13
+ * PHP version 5
14
+ *
15
+ * @category FireGento
16
+ * @package FireGento_GermanSetup
17
+ * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
+ * @version $Id:$
21
+ * @since 0.1.0
22
+ */
23
+ ?>
24
+ <?php /** @var $this Mage_Checkout_Block_Multishipping_Overview */ ?>
25
+ <div class="multiple-checkout">
26
+ <div class="page-title">
27
+ <h1><?php echo $this->__('Review Order') ?></h1>
28
+ </div>
29
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
30
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" onsubmit="return showLoader();">
31
+ <?php echo $this->getChildHtml('agreements') ?>
32
+
33
+ <div class="col2-set">
34
+ <h2 class="legend"><?php echo $this->__('Billing Information') ?></h2>
35
+ <div class="col-1">
36
+ <div class="box">
37
+ <?php $_address=$this->getBillingAddress() ?>
38
+ <div class="box-title">
39
+ <h3><?php echo $this->__('Billing Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditBillingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h3>
40
+ </div>
41
+ <div class="box-content">
42
+ <address>
43
+ <?php echo $_address->format('html') ?>
44
+ </address>
45
+ </div>
46
+ </div>
47
+ </div>
48
+ <div class="col-2">
49
+ <div class="box">
50
+ <div class="box-title">
51
+ <h3><?php echo $this->__('Payment Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditBillingUrl() ?>"><?php echo $this->__('Change') ?></a></h3>
52
+ </div>
53
+ <div class="box-content">
54
+ <input type="hidden" name="payment[cc_number]" value="<?php echo $this->escapeHtml($this->getPayment()->getCcNumber())?>" />
55
+ <input type="hidden" name="payment[cc_cid]" value="<?php echo $this->escapeHtml($this->getPayment()->getCcCid())?>" />
56
+ <?php echo $this->getPaymentHtml() ?>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ </div>
61
+ <?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
62
+ <div class="col2-set">
63
+ <h2 class="legend"><?php echo $this->__('Shipping Information') ?></h2>
64
+ <?php foreach ($this->getShippingAddresses() as $_index => $_address): ?>
65
+ <h3 class="legend"><?php echo $this->__('Address %s of %s', ($_index+1), $this->getShippingAddressCount()) ?></h3>
66
+ <div class="col-1 col-narrow">
67
+ <div class="box">
68
+ <div class="box-title">
69
+ <h4><?php echo $this->__('Shipping To') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h4>
70
+ </div>
71
+ <div class="box-content">
72
+ <address>
73
+ <?php echo $_address->format('html') ?>
74
+ </address>
75
+ </div>
76
+ </div>
77
+ <div class="box">
78
+ <div class="box-title">
79
+ <h4><?php echo $this->__('Shipping Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingUrl() ?>"><?php echo $this->__('Change') ?></a></h4>
80
+ </div>
81
+ <div class="box-content">
82
+ <?php if($_rate=$this->getShippingAddressRate($_address)): ?>
83
+ <p>
84
+ <?php echo $this->escapeHtml($_rate->getCarrierTitle()) ?> - <?php echo $this->escapeHtml($_rate->getMethodTitle()) ?>
85
+ <?php $_excl = $this->getShippingPriceExclTax($_address); ?>
86
+ <?php $_incl = $this->getShippingPriceInclTax($_address); ?>
87
+ <?php echo $_excl; ?>
88
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
89
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
90
+ <?php endif; ?>
91
+ </p>
92
+ <?php endif; ?>
93
+ </div>
94
+ </div>
95
+ </div>
96
+ <div class="col-2 col-wide">
97
+ <h4><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getAddressesEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h4>
98
+ <table class="data-table" id="overview-table-<?php echo $_address->getId() ?>">
99
+ <col />
100
+ <col width="1" />
101
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
102
+ <col width="1" />
103
+ <?php endif; ?>
104
+ <col width="1" />
105
+ <col width="1" />
106
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
107
+ <col width="1" />
108
+ <?php endif; ?>
109
+ <thead>
110
+ <tr>
111
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
112
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Price') ?></th>
113
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Qty') ?></th>
114
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
115
+ </tr>
116
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
117
+ <tr>
118
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
119
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
120
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
121
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
122
+ </tr>
123
+ <?php endif; ?>
124
+ </thead>
125
+ <tfoot>
126
+ <?php echo $this->renderTotals($this->getShippingAddressTotals($_address)); ?>
127
+ </tfoot>
128
+ <tbody>
129
+ <?php foreach ($this->getShippingAddressItems($_address) as $_item): ?>
130
+ <?php echo $this->getRowItemHtml($_item); ?>
131
+ <?php endforeach; ?>
132
+ </tbody>
133
+ </table>
134
+ <script type="text/javascript">decorateTable('overview-table-<?php echo $_address->getId() ?>')</script>
135
+ </div>
136
+ <?php if($this->getShippingAddressCount()!=$_index+1): ?>
137
+ <div class="divider"></div>
138
+ <?php endif; ?>
139
+ <?php endforeach; ?>
140
+ </div>
141
+ <?php if ($this->getQuote()->hasVirtualItems()): ?>
142
+ <div class="col2-set">
143
+ <h2 class="legend"><?php echo $this->__('Other Items in Your Order') ?></h2>
144
+ <div class="col-1 col-narrow"></div>
145
+ <div class="col-2 col-wide">
146
+ <h3><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getVirtualProductEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h3>
147
+ <?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
148
+ <table class="data-table" id="virtual-overview-table">
149
+ <col />
150
+ <col width="1" />
151
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
152
+ <col width="1" />
153
+ <?php endif; ?>
154
+ <col width="1" />
155
+ <col width="1" />
156
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
157
+ <col width="70" />
158
+ <?php endif; ?>
159
+ <thead>
160
+ <tr>
161
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
162
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Price') ?></th>
163
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Qty') ?></th>
164
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
165
+ </tr>
166
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
167
+ <tr>
168
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
169
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
170
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
171
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
172
+ </tr>
173
+ <?php endif; ?>
174
+ </thead>
175
+ <tfoot>
176
+ <?php echo $this->renderTotals($this->getBillinAddressTotals()); ?>
177
+ </tfoot>
178
+ <tbody>
179
+ <?php foreach ($this->getVirtualItems() as $_item): ?>
180
+ <?php echo $this->getRowItemHtml($_item); ?>
181
+ <?php endforeach; ?>
182
+ </tbody>
183
+ </table>
184
+ <script type="text/javascript">decorateTable('virtual-overview-table')</script>
185
+ </div>
186
+ </div>
187
+ <?php endif; ?>
188
+
189
+ <?php echo $this->getChildHtml('items_after'); ?>
190
+
191
+ <div id="checkout-review-submit">
192
+ <div class="place-order">
193
+ <div class="grand-total">
194
+ <div class="inner">
195
+ <big><?php echo $this->__('Grand Total:') ?> <?php echo $this->helper('checkout')->formatPrice($this->getTotal()) ?></big>
196
+ <div id="review-buttons-container">
197
+ <button type="submit" title="<?php echo $this->__('Place Order') ?>" class="button btn-checkout" id="review-button"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
198
+ </div>
199
+ </div>
200
+ </div>
201
+ <span class="please-wait" id="review-please-wait" style="display:none;">
202
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
203
+ </span>
204
+ </div>
205
+ </div>
206
+ <div class="buttons-set">
207
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Billing Information') ?></a></p>
208
+ </div>
209
+ </form>
210
+ <script type="text/javascript">
211
+ //<![CDATA[
212
+ var submitted = false;
213
+
214
+ function showLoader()
215
+ {
216
+ if (submitted) {
217
+ return false;
218
+ }
219
+ if ($('checkout-agreements')) {
220
+ var checkboxes = $$('#checkout-agreements input');
221
+ for (var i=0, l=checkboxes.length; i<l; i++) {
222
+ if (!checkboxes[i].checked) {
223
+ alert("<?php echo $this->__('Please agree to all Terms and Conditions before placing the orders.')?>");
224
+ return false;
225
+ }
226
+ }
227
+ }
228
+
229
+ submitted = true;
230
+ var step='review';
231
+ Element.show(step+'-please-wait');
232
+ $(step+'-buttons-container').setStyle({opacity:.5});
233
+ $(step+'-buttons-container').descendants().each(function(s) {
234
+ s.disabled = true;
235
+ });
236
+ return true;
237
+ }
238
+ //]]>
239
+ </script>
240
+ </div>
app/design/frontend/base/default/template/germansetup/checkout/onepage/agreements.phtml ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file is part of the FIREGENTO project.
4
+ *
5
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU General Public License version 3 as
7
+ * published by the Free Software Foundation.
8
+ *
9
+ * This script is distributed in the hope that it will be useful, but WITHOUT
10
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
+ *
13
+ * PHP version 5
14
+ *
15
+ * @category FireGento
16
+ * @package FireGento_GermanSetup
17
+ * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
+ * @version $Id:$
21
+ * @since 0.1.0
22
+ */
23
+ /**
24
+ * Checkout Agreements
25
+ *
26
+ * @category FireGento
27
+ * @package FireGento_GermanSetup
28
+ * @author FireGento Team <team@firegento.com>
29
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
30
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
31
+ * @version $Id:$
32
+ * @since 0.1.0
33
+ */
34
+
35
+ /**
36
+ * @var $this Mage_Checkout_Block_Agreements
37
+ */
38
+
39
+ /* @var $helper FireGento_GermanSetup_Helper_Data */
40
+ $helper = $this->helper('germansetup');
41
+ ?>
42
+
43
+ <?php if (!$this->getAgreements()) return; ?>
44
+
45
+ <form action="" id="checkout-agreements" onsubmit="return false;">
46
+ <ol class="checkout-agreements">
47
+ <?php foreach ($this->getAgreements() as $_a): ?>
48
+ <li>
49
+ <p class="agree">
50
+ <input type="checkbox" id="agreement-<?php echo $_a->getId()?>" name="agreement[<?php echo $_a->getId()?>]" value="1" title="<?php echo $this->htmlEscape($_a->getCheckboxText()) ?>" class="checkbox" />
51
+ <label for="agreement-<?php echo $_a->getId()?>"><?php echo $_a->getIsHtml() ? $_a->getCheckboxText() : $this->htmlEscape($_a->getCheckboxText()) ?></label>
52
+ <a href="#" onclick="window.open('<?php echo $this->getUrl('germansetup/frontend/agreements', array('id' => $_a->getId())) ?>', '', 'width=600,height=600,left=0,top=0,location=no,status=yes,scrollbars=yes,resizable=yes').focus(); return false;"><?php echo $this->__('[Show]') ?></a>
53
+ </p>
54
+ </li>
55
+ <?php endforeach ?>
56
+ </ol>
57
+ </form>
app/design/frontend/base/default/template/germansetup/imprint/address.phtml CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
app/design/frontend/base/default/template/germansetup/imprint/bank.phtml CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
app/design/frontend/base/default/template/germansetup/imprint/communication.phtml CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
app/design/frontend/base/default/template/germansetup/imprint/email_footer.phtml CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
@@ -99,4 +99,4 @@
99
  <?php if (strlen(trim($this->getIban()))): ?>
100
  <?php echo $this->__('IBAN') ?>: <?php echo $this->getIban() ?><br />
101
  <?php endif ?>
102
- </p>
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
99
  <?php if (strlen(trim($this->getIban()))): ?>
100
  <?php echo $this->__('IBAN') ?>: <?php echo $this->getIban() ?><br />
101
  <?php endif ?>
102
+ </p>
app/design/frontend/base/default/template/germansetup/imprint/legal.phtml CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
app/design/frontend/base/default/template/germansetup/imprint/tax.phtml CHANGED
@@ -15,7 +15,7 @@
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
- * @copyright 2011 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
15
  * @category FireGento
16
  * @package FireGento_GermanSetup
17
  * @author FireGento Team <team@firegento.com>
18
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
19
  * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
20
  * @version $Id:$
21
  * @since 0.1.0
app/design/frontend/base/default/template/germansetup/price_info.phtml CHANGED
@@ -50,4 +50,4 @@
50
  <?php elseif ($this->getIsIncludingTax() == Mage_Tax_Model_Config::DISPLAY_TYPE_INCLUDING_TAX): ?>
51
  <span class="tax-details"><?php echo $this->__('Incl. %s Tax', $this->getFormattedTaxRate()) ?></span>
52
  <?php endif ?>
53
- <?php endif ?>
50
  <?php elseif ($this->getIsIncludingTax() == Mage_Tax_Model_Config::DISPLAY_TYPE_INCLUDING_TAX): ?>
51
  <span class="tax-details"><?php echo $this->__('Incl. %s Tax', $this->getFormattedTaxRate()) ?></span>
52
  <?php endif ?>
53
+ <?php endif ?>
app/etc/modules/FireGento_GermanSetup.xml CHANGED
@@ -1,4 +1,27 @@
1
  <?xml version="1.0"?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  <config>
3
  <modules>
4
  <FireGento_GermanSetup>
1
  <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * This file is part of the FIREGENTO project.
5
+ *
6
+ * FireGento_GermanSetup is free software; you can redistribute it and/or
7
+ * modify it under the terms of the GNU General Public License version 3 as
8
+ * published by the Free Software Foundation.
9
+ *
10
+ * This script is distributed in the hope that it will be useful, but WITHOUT
11
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
+ *
14
+ * PHP version 5
15
+ *
16
+ * @category FireGento
17
+ * @package FireGento_GermanSetup
18
+ * @author FireGento Team <team@firegento.com>
19
+ * @copyright 2012 FireGento Team (http://www.firegento.de). All rights served.
20
+ * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
21
+ * @version $Id:$
22
+ * @since 0.1.0
23
+ */
24
+ -->
25
  <config>
26
  <modules>
27
  <FireGento_GermanSetup>
app/locale/de_DE/FireGento_GermanSetup.csv CHANGED
@@ -14,6 +14,8 @@
14
  "Click <a href=""%s"">here</a> to set up your pages, blocks, emails and tax settings.","Klicken Sie <a href=""%s"">hier</a>, um CMS-Seiten, Blöcke, E-Mails und Steuer-Einstellungen zu initialisieren."
15
  "Please choose the requested setups:","Bitte wählen Sie die gewünschten Setups:"
16
  "Run German Setup","German Setup ausführen"
 
 
17
  "Create CMS Pages and Blocks","CMS-Seiten und Statische Blöcke erstellen"
18
  "i.e. shipping, conditions, revocation","z.B. Versand, AGB, Widerruf"
19
  "Create Checkout Agreements","Bestellbedingungen erstellen"
@@ -26,11 +28,13 @@
26
  "Update Product Tax Classes","Produktsteuerklassen neu zuweisen"
27
  "Old","Alt"
28
  "New","Neu"
 
29
  "German Setup: CMS Blocks and Pages have been created.","German Setup: CMS-Blocks und Seiten wurden erfolgreich angelegt."
30
  "German Setup: Checkout Agreements have been created.","German Setup: Bestellbedingungen wurden erfolgreich angelegt."
31
  "German Setup: Email Templates have been created.","German Setup: Email-Vorlagen wurden erfolgreich angelegt."
32
  "German Setup: Tax Settings have been created.","German Setup: Steuereinstellungen wurden erfolgreich angelegt."
33
  "German Setup: Product Tax Classes have been updated.","German Setup: Produktsteuerklassen wurden aktualisiert."
 
34
 
35
  "Imprint","Impressum"
36
  "Account","Kontonummer"
@@ -81,3 +85,9 @@
81
  "Switzerland","Schweiz"
82
  "Shipping from","Versand aus"
83
  "This setting is base for the tax rate setup!","Diese Einstellung wird für das Setup der Steuereinstellungen verwendet!"
 
 
 
 
 
 
14
  "Click <a href=""%s"">here</a> to set up your pages, blocks, emails and tax settings.","Klicken Sie <a href=""%s"">hier</a>, um CMS-Seiten, Blöcke, E-Mails und Steuer-Einstellungen zu initialisieren."
15
  "Please choose the requested setups:","Bitte wählen Sie die gewünschten Setups:"
16
  "Run German Setup","German Setup ausführen"
17
+ "Update System Config Settings","Einstellungen in der Systemkonfiguration aktualisieren"
18
+ "i.e. newsletter confirmation, account confirmation, ..","z.B. Newsletter Bestätigung, Benutzerkonto Bestätigung, .."
19
  "Create CMS Pages and Blocks","CMS-Seiten und Statische Blöcke erstellen"
20
  "i.e. shipping, conditions, revocation","z.B. Versand, AGB, Widerruf"
21
  "Create Checkout Agreements","Bestellbedingungen erstellen"
28
  "Update Product Tax Classes","Produktsteuerklassen neu zuweisen"
29
  "Old","Alt"
30
  "New","Neu"
31
+
32
  "German Setup: CMS Blocks and Pages have been created.","German Setup: CMS-Blocks und Seiten wurden erfolgreich angelegt."
33
  "German Setup: Checkout Agreements have been created.","German Setup: Bestellbedingungen wurden erfolgreich angelegt."
34
  "German Setup: Email Templates have been created.","German Setup: Email-Vorlagen wurden erfolgreich angelegt."
35
  "German Setup: Tax Settings have been created.","German Setup: Steuereinstellungen wurden erfolgreich angelegt."
36
  "German Setup: Product Tax Classes have been updated.","German Setup: Produktsteuerklassen wurden aktualisiert."
37
+ "German Setup: System Config Settings have been updated.","German Setup: Einstellungen in der Systemkonfiguration wurden aktualisiert."
38
 
39
  "Imprint","Impressum"
40
  "Account","Kontonummer"
85
  "Switzerland","Schweiz"
86
  "Shipping from","Versand aus"
87
  "This setting is base for the tax rate setup!","Diese Einstellung wird für das Setup der Steuereinstellungen verwendet!"
88
+
89
+ "[Show]","[Anzeigen]"
90
+ "Visible in Checkout","Sichtbar im Bestellprozess"
91
+
92
+ "Display Additional Information","Zusatzinformation anzeigen"
93
+ "Display content from text field below at the checkout confirm page directly above the checkout button","Inhalt des Textfeldes (unten) auf der Bestellbestätigungsseite anzeigen (direkt über dem ""Kaufen""-Button)"
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>FireGento_GermanSetup</name>
4
- <version>1.0.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/gpl-3.0">GNU General Public License, version 3 (GPLv3)</license>
7
  <channel>community</channel>
@@ -14,6 +14,7 @@
14
  - Aktivierung von Bestellbedingungen
15
  - Erstellung von Standard-CMS-Seiten
16
  - Erweiterte Preisdarstellung mit MwSt. und Versandkosten - per Template anpassbar
 
17
 
18
  Vorteile:
19
  - schlank
@@ -22,11 +23,11 @@ Vorteile:
22
  - Keine Rewrites, keine &#xFC;berlagerten Klassen
23
  - Installierbar zu beliebigen Zeitpunkten
24
  - &#xDC;berschreiben von Daten nur auf Wunsch, nicht automatisch</description>
25
- <notes>Added tax configuration for Austria and Switzerland, can be chosen via dropdown in form</notes>
26
  <authors><author><name>FireGento Team</name><user>auto-converted</user><email>team@firegento.de</email></author></authors>
27
- <date>2012-05-22</date>
28
- <time>17:34:30</time>
29
- <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="germansetup.xml" hash="f829fb3b526205c597cd9d1706bd4ace"/></dir><dir name="template"><dir name="germansetup"><file name="extensions.phtml" hash="fba78151d65d613caab2f892363266c0"/><file name="form.phtml" hash="8355b8ef8c47592a0fcc5949098e9e84"/><file name="notifications.phtml" hash="e44b09e2449c2975fce78492ddef6dcb"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="germansetup.xml" hash="189febd41e82c58430c6e280b69c3de7"/></dir><dir name="template"><dir name="germansetup"><dir name="imprint"><file name="address.phtml" hash="4fbfaa49ea0cec7016ea7f05ea6248d8"/><file name="bank.phtml" hash="fa311ac1b85b23633f58231b5bcfe27b"/><file name="communication.phtml" hash="8e01a4726f5d6d48be25f79f95214d74"/><file name="email_footer.phtml" hash="523be6122213e53f5e65a5979b352496"/><file name="legal.phtml" hash="5c9c8292fd362cb237788b3e38945905"/><file name="tax.phtml" hash="fd960ff09bc276eca88651a3afff15d5"/></dir><file name="price_info.phtml" hash="f7e13fcb6a029675eeb6423091f3d1f2"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><dir name="template"><dir name="germansetup"><dir name="block"><file name="agb.html" hash="12b9765598280cb21db12493500aceb0"/><file name="widerruf.html" hash="470282d7d2aadb660fa57ea70af7aa9b"/></dir><dir name="email"><file name="account_new.html" hash="494a9f9dd113ee67b615c92b780e6c55"/><file name="account_new_confirmation.html" hash="1d8e6c3a56b7c124b854d5eff31a64a7"/><file name="account_new_confirmed.html" hash="8858237e657d8a8993fb23e4d51eece1"/><file name="admin_password_new.html" hash="422a8dabcac72ff06ac482d34746044e"/><file name="contact_form.html" hash="41d4d8c609070e02f48265d6c2cf1721"/><file name="creditmemo_new.html" hash="cb971e21899dce8ab508da2a350fe075"/><file name="creditmemo_new_guest.html" hash="b559c45091b6e730dda656ed318e1c05"/><file name="creditmemo_update.html" hash="3ba7a109994bd1a59fbae720f03bf236"/><file name="creditmemo_update_guest.html" hash="b18d23f8c8ec29c9741ec0989792bc04"/><file name="currency_update_warning.html" hash="e173548da8abb6be3efc7778d85ffdc7"/><file name="enterprise_invitation.html" hash="c7ac145656d0aed2defedbc3f6887def"/><file name="invoice_new.html" hash="8c8e6b61c0cca5e507900c67c1d20d84"/><file name="invoice_new_guest.html" hash="b7e94f2d8eb63200dfd7b846b67bfe54"/><file name="invoice_update.html" hash="268f054ab42b1a7e2d07d23e19feeb80"/><file name="invoice_update_guest.html" hash="895f4c25f2c1d3692c1665303065fc15"/><file name="log_clean_warning.html" hash="f1a16ce983fa9507080085d86ec9b3cf"/><file name="newsletter_subscr_confirm.html" hash="9efddbee1af15277a8cc6228e948c9e1"/><file name="newsletter_subscr_success.html" hash="ca0c234580c0578de8df2acb93fa483a"/><file name="newsletter_unsub_success.html" hash="2dd3d744cbb99b0178c08a44cac022af"/><file name="order_new.html" hash="e9a61fef85458823fbcebc26afca2d62"/><file name="order_new_guest.html" hash="92148feff4df9a8114d3201dcf9b0088"/><file name="order_update.html" hash="bdd2fb4c42d2ed8e0b545d07556f89d1"/><file name="order_update_guest.html" hash="db7cf483e0db009cf5de74f8fb66a506"/><file name="password_new.html" hash="7050754db20197615739447741313bed"/><file name="payment_failed.html" hash="8c273e9a554005a4ee122402f17c8c32"/><file name="product_alert_cron_error.html" hash="adcfca6f2588508b228c24b4255ade87"/><file name="product_price_alert.html" hash="f16a51c3cbcf99dc1ac125d2981bd0a9"/><file name="product_share.html" hash="4101ebfc5c7703cf6c2e54cd783ecb6a"/><file name="product_stock_alert.html" hash="95b6df2f12a3d397755ea2bdf79b2f90"/><file name="shipment_new.html" hash="ab163ee055423112ac3fbebcf80d4ebd"/><file name="shipment_new_guest.html" hash="5956d6299b4331a275cbe7b42a38ecc6"/><file name="shipment_update.html" hash="0a4f664892665ee8fe616bdb5974f487"/><file name="shipment_update_guest.html" hash="228329ca37ad6cf40f128d189638c908"/><file name="sitemap_generate_warning.html" hash="2ef567f4f3d305ec7ac41178c97db7fb"/><file name="wishlist_share.html" hash="4d8bcbe605efa11afa789098e74d35b2"/></dir><dir name="page"><file name="404.html" hash="17dc05fa677b464bbf9d3fc032dbc1ea"/><file name="agb.html" hash="42d4c7af3c93cc9b3554b3990b68700b"/><file name="bestellung.html" hash="bf3939c6556f4386535af869b549cd6e"/><file name="datenschutz.html" hash="e2c6f563374c7b4df4568df738fe576e"/><file name="impressum.html" hash="30fd7a59fdda57d202893b739292c6b7"/><file name="lieferung.html" hash="39f30de78be92b7349c58f294eb0371a"/><file name="rechtlicheinfos.html" hash="cf0b797def0f80b3a26ad7d4fc6477f5"/><file name="widerruf.html" hash="9790bf35b907ed943060d499d427813e"/><file name="zahlung.html" hash="91d9a3e2566521f7bb34f5caa6c51f50"/></dir></dir></dir><file name="FireGento_GermanSetup.csv" hash="73ecfdf65cb0424d5f0683180fd3fc69"/></dir></target><target name="magecommunity"><dir name="FireGento"><dir name="GermanSetup"><dir name="Block"><file name="Ga.php" hash="0d9f3921f24897e9f5438246f90c81ab"/><dir name="Adminhtml"><file name="Germansetup.php" hash="84492361ef66f827815466a77f6dca77"/><file name="Notifications.php" hash="5fd46b9ac071740ac5fd997fb72b817e"/></dir><dir name="Bundle"><dir name="Catalog"><dir name="Product"><file name="Price.php" hash="9ecbb17d60bc42d54ee7aabd7cadbfa5"/></dir></dir></dir><dir name="Catalog"><dir name="Product"><file name="Price.php" hash="eb8ff61c4f9abe88cee7ec00a236d3f8"/></dir></dir><dir name="Imprint"><file name="Content.php" hash="6c01d60fb6b5618ec95bc9e1a403089f"/><file name="Field.php" hash="5306061e9dbd24c14653ee6813d3a5a1"/></dir></dir><dir name="controllers"><file name="GermansetupController.php" hash="bedfc57946b263e167ca93928d07a757"/></dir><dir name="etc"><file name="config.xml" hash="af212fc5eb6798f37fe76fdf82bc6b12"/><file name="system.xml" hash="2bcd2703a4f83a660d18763a12c97cd7"/><dir name="at"><file name="tax.xml" hash="b55efe4e3a6497ce4fd4f9385055eabd"/></dir><dir name="ch"><file name="tax.xml" hash="0405d9dd9bd3aae0866cf6b5cda5d228"/></dir><dir name="default"><file name="cms.xml" hash="b03f3f98f2e9bd0edf27f19c25832d5e"/><file name="email.xml" hash="e539e1e441fcc4a773a0c16f9e0528e0"/><file name="tax.xml" hash="5331a815437138ca4580a1681c7777af"/></dir></dir><dir name="Helper"><file name="Data.php" hash="19d865382e0cab21e7fac7f93b1e00ae"/></dir><dir name="Model"><file name="Config.php" hash="0863baf127733de365e302f742d3fba6"/><file name="Observer.php" hash="4dbc5325d2debf4546f8e53a8ab039c1"/><dir name="Setup"><file name="Abstract.php" hash="6dec3a5cf91e07a3ea5882f478e79d9e"/><file name="Agreements.php" hash="8c25a9156a1448764afa02bc50a645ce"/><file name="Cms.php" hash="cddabf5fa82e9255d73af3dbcee928fb"/><file name="Email.php" hash="b9f6ce90d4b75a8ceec07b240d49984e"/><file name="Tax.php" hash="02958f8de4466b1233048cc37b684213"/></dir><dir name="Source"><dir name="Cms"><file name="Block.php" hash="3d467f575dbcc37ffd61d811ea05af16"/><file name="Page.php" hash="be411f203984e8e2793eb6802dbc6e95"/></dir><dir name="Tax"><file name="NewProductTaxClass.php" hash="8d79da03c09eec3e1b86e9e4a43833b2"/></dir></dir><dir name="Tax"><file name="Config.php" hash="ea8b1b9e277b4257b2fab675a8fe4fdd"/></dir></dir><dir name="sql"><dir name="germansetup_setup"><file name="mysql4-install-0.5.0.php" hash="7297265d6f73655940d3d7cdd207d154"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="FireGento_GermanSetup.xml" hash="93018ac3890ef83c868d58f1ed1686b8"/></dir></target></contents>
30
  <compatible/>
31
  <dependencies/>
32
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>FireGento_GermanSetup</name>
4
+ <version>1.1.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/gpl-3.0">GNU General Public License, version 3 (GPLv3)</license>
7
  <channel>community</channel>
14
  - Aktivierung von Bestellbedingungen
15
  - Erstellung von Standard-CMS-Seiten
16
  - Erweiterte Preisdarstellung mit MwSt. und Versandkosten - per Template anpassbar
17
+ - Unterst&#xFC;tzung der Button-L&#xF6;sung (bitte aktuelles Deutsches Sprachpaket dazu installieren)
18
 
19
  Vorteile:
20
  - schlank
23
  - Keine Rewrites, keine &#xFC;berlagerten Klassen
24
  - Installierbar zu beliebigen Zeitpunkten
25
  - &#xDC;berschreiben von Daten nur auf Wunsch, nicht automatisch</description>
26
+ <notes>Added Support for "Button L&#xF6;sung" plus some smaller changes, i.e. correct newsletter setting</notes>
27
  <authors><author><name>FireGento Team</name><user>auto-converted</user><email>team@firegento.de</email></author></authors>
28
+ <date>2012-08-02</date>
29
+ <time>10:09:25</time>
30
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="germansetup.xml" hash="e6aaef3c6a9d533e657402d124a37b41"/></dir><dir name="template"><dir name="germansetup"><file name="extensions.phtml" hash="07d9304feb032b5e842f98a6b87084a0"/><file name="form.phtml" hash="3475cd160c0327a44bc721887a4bd422"/><file name="notifications.phtml" hash="e44b09e2449c2975fce78492ddef6dcb"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="germansetup.xml" hash="fe2f7adf187e74421a0ee6453df6efc0"/></dir><dir name="template"><dir name="germansetup"><dir name="checkout"><file name="additional.phtml" hash="4853303a07693827e7de31509ab7f85c"/><dir name="multishipping"><file name="agreements.phtml" hash="b4a9d15f10603b610bd5b2580adf0f61"/><file name="overview.phtml" hash="af1aa216e8e4c2f241df8d0f528744bb"/></dir><dir name="onepage"><file name="agreements.phtml" hash="efa502290a458dac7ea31b8abdd6c327"/></dir></dir><dir name="imprint"><file name="address.phtml" hash="cda9fd3a76ceda0dbd071a4c2eef1529"/><file name="bank.phtml" hash="ecc8bdcdad0db71085cc4d5a1beb58f5"/><file name="communication.phtml" hash="b003c398e387c80404525489b8e92a23"/><file name="email_footer.phtml" hash="9dcf3aa25109a8e7b8d9a236d92fd8e9"/><file name="legal.phtml" hash="0cc7cd9ca235fc2b7d20f12b565764e4"/><file name="tax.phtml" hash="6a766c210c013c6517fcd07d43bba0eb"/></dir><file name="price_info.phtml" hash="2f74f085ca873aad6d02b29368fff397"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><dir name="template"><dir name="germansetup"><dir name="block"><file name="agb.html" hash="12b9765598280cb21db12493500aceb0"/><file name="widerruf.html" hash="470282d7d2aadb660fa57ea70af7aa9b"/></dir><dir name="email"><file name="account_new.html" hash="494a9f9dd113ee67b615c92b780e6c55"/><file name="account_new_confirmation.html" hash="1d8e6c3a56b7c124b854d5eff31a64a7"/><file name="account_new_confirmed.html" hash="8858237e657d8a8993fb23e4d51eece1"/><file name="admin_password_new.html" hash="422a8dabcac72ff06ac482d34746044e"/><file name="contact_form.html" hash="41d4d8c609070e02f48265d6c2cf1721"/><file name="creditmemo_new.html" hash="cb971e21899dce8ab508da2a350fe075"/><file name="creditmemo_new_guest.html" hash="b559c45091b6e730dda656ed318e1c05"/><file name="creditmemo_update.html" hash="3ba7a109994bd1a59fbae720f03bf236"/><file name="creditmemo_update_guest.html" hash="b18d23f8c8ec29c9741ec0989792bc04"/><file name="currency_update_warning.html" hash="e173548da8abb6be3efc7778d85ffdc7"/><file name="enterprise_invitation.html" hash="c7ac145656d0aed2defedbc3f6887def"/><file name="invoice_new.html" hash="8c8e6b61c0cca5e507900c67c1d20d84"/><file name="invoice_new_guest.html" hash="b7e94f2d8eb63200dfd7b846b67bfe54"/><file name="invoice_update.html" hash="268f054ab42b1a7e2d07d23e19feeb80"/><file name="invoice_update_guest.html" hash="895f4c25f2c1d3692c1665303065fc15"/><file name="log_clean_warning.html" hash="f1a16ce983fa9507080085d86ec9b3cf"/><file name="newsletter_subscr_confirm.html" hash="9efddbee1af15277a8cc6228e948c9e1"/><file name="newsletter_subscr_success.html" hash="ca0c234580c0578de8df2acb93fa483a"/><file name="newsletter_unsub_success.html" hash="2dd3d744cbb99b0178c08a44cac022af"/><file name="order_new.html" hash="e9a61fef85458823fbcebc26afca2d62"/><file name="order_new_guest.html" hash="92148feff4df9a8114d3201dcf9b0088"/><file name="order_update.html" hash="bdd2fb4c42d2ed8e0b545d07556f89d1"/><file name="order_update_guest.html" hash="db7cf483e0db009cf5de74f8fb66a506"/><file name="password_new.html" hash="7050754db20197615739447741313bed"/><file name="payment_failed.html" hash="8c273e9a554005a4ee122402f17c8c32"/><file name="product_alert_cron_error.html" hash="adcfca6f2588508b228c24b4255ade87"/><file name="product_price_alert.html" hash="f16a51c3cbcf99dc1ac125d2981bd0a9"/><file name="product_share.html" hash="4101ebfc5c7703cf6c2e54cd783ecb6a"/><file name="product_stock_alert.html" hash="95b6df2f12a3d397755ea2bdf79b2f90"/><file name="shipment_new.html" hash="ab163ee055423112ac3fbebcf80d4ebd"/><file name="shipment_new_guest.html" hash="5956d6299b4331a275cbe7b42a38ecc6"/><file name="shipment_update.html" hash="0a4f664892665ee8fe616bdb5974f487"/><file name="shipment_update_guest.html" hash="228329ca37ad6cf40f128d189638c908"/><file name="sitemap_generate_warning.html" hash="2ef567f4f3d305ec7ac41178c97db7fb"/><file name="wishlist_share.html" hash="4d8bcbe605efa11afa789098e74d35b2"/></dir><dir name="page"><file name="404.html" hash="17dc05fa677b464bbf9d3fc032dbc1ea"/><file name="agb.html" hash="42d4c7af3c93cc9b3554b3990b68700b"/><file name="bestellung.html" hash="bf3939c6556f4386535af869b549cd6e"/><file name="datenschutz.html" hash="e2c6f563374c7b4df4568df738fe576e"/><file name="impressum.html" hash="30fd7a59fdda57d202893b739292c6b7"/><file name="lieferung.html" hash="39f30de78be92b7349c58f294eb0371a"/><file name="rechtlicheinfos.html" hash="cf0b797def0f80b3a26ad7d4fc6477f5"/><file name="widerruf.html" hash="9790bf35b907ed943060d499d427813e"/><file name="zahlung.html" hash="91d9a3e2566521f7bb34f5caa6c51f50"/></dir></dir></dir><file name="FireGento_GermanSetup.csv" hash="cfea44912685695fd95df01c90088030"/></dir></target><target name="magecommunity"><dir name="FireGento"><dir name="GermanSetup"><dir name="Block"><file name="Ga.php" hash="3445bd898d7b23993f9b94e1a900e2e8"/><dir name="Adminhtml"><file name="Germansetup.php" hash="b55bf48a215319d6f56d17a746ac5c05"/><file name="Notifications.php" hash="d43f0b9267bc5b3f65752b69966406d2"/></dir><dir name="Bundle"><dir name="Catalog"><dir name="Product"><file name="Price.php" hash="211e4463300cfc023d07508a28447c2c"/></dir></dir></dir><dir name="Catalog"><dir name="Product"><file name="Price.php" hash="1c4513a585068a98c007551eb385527e"/></dir></dir><dir name="Checkout"><file name="Information.php" hash="f376a5fa8a91412cb90fc12b0a1cb19b"/></dir><dir name="Imprint"><file name="Content.php" hash="0025837f93b1c5f84c4cd367246c855f"/><file name="Field.php" hash="73e9b043eca8f76844938163b0431dcb"/></dir></dir><dir name="controllers"><file name="FrontendController.php" hash="beef26faeb3ef6206a50dc22ab50fe8f"/><file name="GermansetupController.php" hash="ccc207a54ca2387b17759a2351a5e15b"/></dir><dir name="etc"><file name="config.xml" hash="19273e4558656226059b3dff20031d6a"/><file name="system.xml" hash="9fea657917e839af0bc5d25b27431cdc"/><dir name="at"><file name="tax.xml" hash="f7132a3c34eb0b08405c77cdadd1e242"/></dir><dir name="ch"><file name="tax.xml" hash="28b15bd31c60a8a7f84454336d94c0a5"/></dir><dir name="default"><file name="cms.xml" hash="652453330db675b6b1a0692c6a285148"/><file name="email.xml" hash="26ad2ffe7bc38e31a309228bd4f4d213"/><file name="systemconfig.xml" hash="4964727275862ad6aaffa5691b74637f"/><file name="tax.xml" hash="474cf1aae0b7b4df0a5284e44b724025"/></dir></dir><dir name="Helper"><file name="Data.php" hash="0b56390fb61eedad524b3cbe024b0a66"/><dir name="Catalog"><dir name="Product"><file name="Configuration.php" hash="531ae36317e8588b87a2e4a107372346"/></dir></dir></dir><dir name="Model"><file name="Config.php" hash="13b48b3eb0039d82d946a1bdc7c76d2a"/><file name="Observer.php" hash="4f260278450809be1b7a53fc8f81f133"/><dir name="Setup"><file name="Abstract.php" hash="e3b5a07903602b4a2ab31aedabff0d07"/><file name="Agreements.php" hash="3be7b5250133eaad69c846af23c35a1e"/><file name="Cms.php" hash="cf68bd4426983c4f1d8a56cae0b7c7c8"/><file name="Email.php" hash="8c145b55a2f1d239aadd3f161127a75b"/><file name="Systemconfig.php" hash="4e341afb41a0b5bd180af0c709b614c4"/><file name="Tax.php" hash="2706858f7860a2e6d7bf152d4ef2448f"/></dir><dir name="Source"><dir name="Cms"><file name="Block.php" hash="65619ddf168677d999053590d0582148"/><file name="Page.php" hash="0afcfc4e6bdebf23e0a5d9fd780e725c"/></dir><dir name="Tax"><file name="NewProductTaxClass.php" hash="42a764f92a9ffa65d1bd2e49c10e8977"/></dir></dir><dir name="Tax"><file name="Config.php" hash="753f32dc899f85ab1c2e4356f64c1b0e"/></dir></dir><dir name="sql"><dir name="germansetup_setup"><file name="mysql4-install-0.5.0.php" hash="61a79c2efcee11a2e82c522a31e80ced"/><file name="mysql4-upgrade-1.0.4-1.0.5.php" hash="5f2fd10c9bababe777dba5b71e8ec3d6"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="germansetup"><file name="checkout.css" hash="97a1074dba79415e2c4e231e224770c7"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="FireGento_GermanSetup.xml" hash="6db709b71ec56dadb3b251faaad2e95c"/></dir></target></contents>
31
  <compatible/>
32
  <dependencies/>
33
  </package>
skin/frontend/base/default/css/germansetup/checkout.css ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ #checkout-review-table td.last {
4
+ text-align: right;
5
+ }
6
+ #checkout-review-table td.last .price {
7
+ font-weight: bold;
8
+ }
9
+
10
+ #opc-review .additional-information {
11
+ clear: both;
12
+ margin:0;
13
+ padding: 15px 10px;
14
+ border: 1px solid #d9dde3;
15
+ border-width: 0 1px 1px;
16
+ text-align: right;
17
+ }
18
+
19
+ .checkout-multishipping-overview .additional-information {
20
+ margin: 0;
21
+ padding: 0 10px 25px;
22
+ text-align: right;
23
+ }
24
+
25
+ .checkout-multishipping-overview .checkout-agreements {
26
+ margin-bottom: 25px;
27
+ }
28
+
29
+ .opc .checkout-agreements li,
30
+ .checkout-multishipping-overview .checkout-agreements li {
31
+ margin: 10px 0;
32
+ }
33
+
34
+ .opc .checkout-agreements .agree,
35
+ .checkout-multishipping-overview .checkout-agreements .agree {
36
+ padding-top: 0px;
37
+ padding-bottom: 0px;
38
+ }