Sitewards_B2BProfessional - Version 2.5.2

Version Notes

Update to work with Magento 1.9

Download this release

Release Info

Developer Sitewards Magento Team
Extension Sitewards_B2BProfessional
Version 2.5.2
Comparing to
See all releases


Code changes from version 2.5.1 to 2.5.2

Files changed (14) hide show
  1. app/code/community/Sitewards/B2BProfessional/Helper/Customer.php +18 -0
  2. app/code/community/Sitewards/B2BProfessional/Helper/Data.php +36 -27
  3. app/code/community/Sitewards/B2BProfessional/Model/Observer.php +50 -11
  4. app/code/community/Sitewards/B2BProfessional/controllers/ProductController.php +1 -19
  5. app/code/community/Sitewards/B2BProfessional/etc/config.xml +1 -1
  6. app/design/frontend/base/default/template/sitewards/b2bprofessional/catalog/product/view/type/bundle/option-post-180/checkbox.phtml +52 -0
  7. app/design/frontend/base/default/template/sitewards/b2bprofessional/catalog/product/view/type/bundle/option-post-180/multi.phtml +49 -0
  8. app/design/frontend/base/default/template/sitewards/b2bprofessional/catalog/product/view/type/bundle/option-post-180/radio.phtml +74 -0
  9. app/design/frontend/base/default/template/sitewards/b2bprofessional/catalog/product/view/type/bundle/option-post-180/select.phtml +63 -0
  10. app/design/frontend/base/default/template/sitewards/b2bprofessional/catalog/product/view/type/bundle/{option → option-pre-180}/checkbox.phtml +0 -0
  11. app/design/frontend/base/default/template/sitewards/b2bprofessional/catalog/product/view/type/bundle/{option → option-pre-180}/multi.phtml +0 -0
  12. app/design/frontend/base/default/template/sitewards/b2bprofessional/catalog/product/view/type/bundle/{option → option-pre-180}/radio.phtml +0 -0
  13. app/design/frontend/base/default/template/sitewards/b2bprofessional/catalog/product/view/type/bundle/{option → option-pre-180}/select.phtml +0 -0
  14. package.xml +6 -7
app/code/community/Sitewards/B2BProfessional/Helper/Customer.php CHANGED
@@ -154,4 +154,22 @@ class Sitewards_B2BProfessional_Helper_Customer extends Mage_Core_Helper_Abstrac
154
 
155
  return $aActivatedCustomerGroupIds;
156
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  }
154
 
155
  return $aActivatedCustomerGroupIds;
156
  }
157
+
158
+ /**
159
+ * checks if user is allowed to view products
160
+ *
161
+ * @return bool
162
+ */
163
+ public function isUserAllowed()
164
+ {
165
+ /* @var $oHelper Sitewards_B2BProfessional_Helper_Data */
166
+ $oHelper = Mage::helper('b2bprofessional');
167
+ return (
168
+ $oHelper->isExtensionActive() == true
169
+ && (
170
+ $this->isLoginRequired() == false
171
+ || Mage::getSingleton('customer/session')->isLoggedIn()
172
+ )
173
+ );
174
+ }
175
  }
app/code/community/Sitewards/B2BProfessional/Helper/Data.php CHANGED
@@ -29,6 +29,9 @@ class Sitewards_B2BProfessional_Helper_Data extends Mage_Core_Helper_Abstract {
29
  */
30
  protected $oB2BCustomerHelper;
31
 
 
 
 
32
  /**
33
  * Create instances of the sitewards b2bprofessional category and customer helpers
34
  */
@@ -46,7 +49,10 @@ class Sitewards_B2BProfessional_Helper_Data extends Mage_Core_Helper_Abstract {
46
  * @return bool
47
  */
48
  public function isExtensionActive() {
49
- return Mage::getStoreConfigFlag(Sitewards_B2BProfessional_Helper_Core::CONFIG_B2B_PROFESSIONAL_NODE . '/' . Sitewards_B2BProfessional_Helper_Core::CONFIG_GENERAL_SETTINGS_NODE . '/active');
 
 
 
50
  }
51
 
52
  /**
@@ -120,32 +126,35 @@ class Sitewards_B2BProfessional_Helper_Data extends Mage_Core_Helper_Abstract {
120
  * @return bool
121
  */
122
  public function isActive() {
123
- $bIsLoggedIn = false;
124
- // global extension activation
125
- if ($this->isExtensionActive()) {
126
- $this->_prepareHelpers();
 
127
 
128
- // check user logged in and has store access
129
- if ($this->oB2BCustomerHelper->isCustomerAllowedInStore()) {
130
- $bIsLoggedIn = true;
131
- }
132
 
133
- $bCheckUser = $this->oB2BCustomerHelper->isExtensionActivatedByCustomer();
134
- $bCheckCategory = $this->oB2BCategoryHelper->isExtensionActivatedByCategory();
135
 
136
- if($bCheckUser == true && $bCheckCategory == true) {
137
- $bIsActive = $this->oB2BCategoryHelper->isCategoryActive() && $this->oB2BCustomerHelper->isCustomerActive();
138
- } elseif($bCheckUser == true) {
139
- $bIsActive = $this->oB2BCustomerHelper->isCustomerActive();
140
- } elseif ($bCheckCategory == true) {
141
- $bIsActive = $this->oB2BCategoryHelper->isCategoryActive() && !$bIsLoggedIn;
 
 
 
142
  } else {
143
- $bIsActive = !$bIsLoggedIn;
144
  }
145
- } else {
146
- $bIsActive = false;
147
  }
148
- return $bIsActive;
149
  }
150
 
151
  /**
@@ -172,9 +181,9 @@ class Sitewards_B2BProfessional_Helper_Data extends Mage_Core_Helper_Abstract {
172
  }
173
 
174
  /**
175
- * @return string
176
- */
177
- public function getOrderHistoryUrl() {
178
- return $this->_getUrl('sales/order/history');
179
- }
180
- }
29
  */
30
  protected $oB2BCustomerHelper;
31
 
32
+ protected $_isActive;
33
+ protected $_isExtensionActive;
34
+
35
  /**
36
  * Create instances of the sitewards b2bprofessional category and customer helpers
37
  */
49
  * @return bool
50
  */
51
  public function isExtensionActive() {
52
+ if (empty($this->_isExtensionActive)) {
53
+ $this->_isExtensionActive = Mage::getStoreConfigFlag(Sitewards_B2BProfessional_Helper_Core::CONFIG_B2B_PROFESSIONAL_NODE . '/' . Sitewards_B2BProfessional_Helper_Core::CONFIG_GENERAL_SETTINGS_NODE . '/active');
54
+ }
55
+ return $this->_isExtensionActive;
56
  }
57
 
58
  /**
126
  * @return bool
127
  */
128
  public function isActive() {
129
+ if (empty($this->_isActive)) {
130
+ $bIsLoggedIn = false;
131
+ // global extension activation
132
+ if ($this->isExtensionActive()) {
133
+ $this->_prepareHelpers();
134
 
135
+ // check user logged in and has store access
136
+ if ($this->oB2BCustomerHelper->isCustomerAllowedInStore()) {
137
+ $bIsLoggedIn = true;
138
+ }
139
 
140
+ $bCheckUser = $this->oB2BCustomerHelper->isExtensionActivatedByCustomer();
141
+ $bCheckCategory = $this->oB2BCategoryHelper->isExtensionActivatedByCategory();
142
 
143
+ if($bCheckUser == true && $bCheckCategory == true) {
144
+ $bIsActive = $this->oB2BCategoryHelper->isCategoryActive() && $this->oB2BCustomerHelper->isCustomerActive();
145
+ } elseif($bCheckUser == true) {
146
+ $bIsActive = $this->oB2BCustomerHelper->isCustomerActive();
147
+ } elseif ($bCheckCategory == true) {
148
+ $bIsActive = $this->oB2BCategoryHelper->isCategoryActive() && !$bIsLoggedIn;
149
+ } else {
150
+ $bIsActive = !$bIsLoggedIn;
151
+ }
152
  } else {
153
+ $bIsActive = false;
154
  }
155
+ $this->_isActive = $bIsActive;
 
156
  }
157
+ return $this->_isActive;
158
  }
159
 
160
  /**
181
  }
182
 
183
  /**
184
+ * @return string
185
+ */
186
+ public function getOrderHistoryUrl() {
187
+ return $this->_getUrl('sales/order/history');
188
+ }
189
+ }
app/code/community/Sitewards/B2BProfessional/Model/Observer.php CHANGED
@@ -15,6 +15,16 @@ class Sitewards_B2BProfessional_Model_Observer {
15
  */
16
  protected static $_iLastProductId = 0;
17
 
 
 
 
 
 
 
 
 
 
 
18
  /**
19
  * Check if the site requires login to work
20
  * - Add notice,
@@ -103,6 +113,17 @@ class Sitewards_B2BProfessional_Model_Observer {
103
  }
104
  }
105
 
 
 
 
 
 
 
 
 
 
 
 
106
  /**
107
  * Check for block Mage_Catalog_Block_Product_Price
108
  * - Check the product is active via the Sitewards_B2BProfessional_Helper_Data
@@ -125,7 +146,7 @@ class Sitewards_B2BProfessional_Model_Observer {
125
  /*
126
  * Check to see if we should remove the product price
127
  */
128
- if($oBlock instanceof Mage_Catalog_Block_Product_Price) {
129
  $oProduct = $oBlock->getProduct();
130
  $iCurrentProductId = $oProduct->getId();
131
 
@@ -138,8 +159,13 @@ class Sitewards_B2BProfessional_Model_Observer {
138
  } else {
139
  $oTransport->setHtml('');
140
  }
141
- // Set can show price to false to stop tax being displayed via Symmetrics_TweaksGerman_Block_Tax
142
- $oProduct->setCanShowPrice(false);
 
 
 
 
 
143
  }
144
  /*
145
  * Check to see if we should remove the add to cart button on the product page
@@ -253,14 +279,27 @@ class Sitewards_B2BProfessional_Model_Observer {
253
  * for bundle product which is not under active category
254
  */
255
  if (Mage::helper('b2bprofessional')->isExtensionActive()) {
256
- if ($oBlock instanceof Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Checkbox) {
257
- $oBlock->setTemplate('sitewards/b2bprofessional/catalog/product/view/type/bundle/option/checkbox.phtml');
258
- } else if ($oBlock instanceof Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Multi) {
259
- $oBlock->setTemplate('sitewards/b2bprofessional/catalog/product/view/type/bundle/option/multi.phtml');
260
- } else if ($oBlock instanceof Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Radio) {
261
- $oBlock->setTemplate('sitewards/b2bprofessional/catalog/product/view/type/bundle/option/radio.phtml');
262
- } else if ($oBlock instanceof Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Select) {
263
- $oBlock->setTemplate('sitewards/b2bprofessional/catalog/product/view/type/bundle/option/select.phtml');
 
 
 
 
 
 
 
 
 
 
 
 
 
264
  }
265
  }
266
  }
15
  */
16
  protected static $_iLastProductId = 0;
17
 
18
+ /**
19
+ * blocks which display prices
20
+ *
21
+ * @var array
22
+ */
23
+ protected $aPriceBlockClassNames = array(
24
+ 'Mage_Catalog_Block_Product_Price' => 1,
25
+ 'Mage_Bundle_Block_Catalog_Product_Price' => 1,
26
+ );
27
+
28
  /**
29
  * Check if the site requires login to work
30
  * - Add notice,
113
  }
114
  }
115
 
116
+ /**
117
+ * checks if the block represents a price block
118
+ *
119
+ * @param Mage_Core_Block_Abstract $oBlock
120
+ * @return bool
121
+ */
122
+ protected function isExactlyPriceBlock($oBlock)
123
+ {
124
+ return ($oBlock && isset($this->aPriceBlockClassNames[get_class($oBlock)]));
125
+ }
126
+
127
  /**
128
  * Check for block Mage_Catalog_Block_Product_Price
129
  * - Check the product is active via the Sitewards_B2BProfessional_Helper_Data
146
  /*
147
  * Check to see if we should remove the product price
148
  */
149
+ if($this->isExactlyPriceBlock($oBlock)) {
150
  $oProduct = $oBlock->getProduct();
151
  $iCurrentProductId = $oProduct->getId();
152
 
159
  } else {
160
  $oTransport->setHtml('');
161
  }
162
+ // Set type id to combined to stop tax being displayed via Symmetrics_TweaksGerman_Block_Tax
163
+ if (
164
+ Mage::helper('core')->isModuleEnabled('Symmetrics_TweaksGerman')
165
+ && $oProduct->getTypeId() == 'bundle'
166
+ ){
167
+ $oProduct->setTypeId('combined');
168
+ }
169
  }
170
  /*
171
  * Check to see if we should remove the add to cart button on the product page
279
  * for bundle product which is not under active category
280
  */
281
  if (Mage::helper('b2bprofessional')->isExtensionActive()) {
282
+
283
+ if (version_compare(Mage::getVersion(), '1.8.0.0') >= 0){
284
+ if ($oBlock instanceof Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Checkbox) {
285
+ $oBlock->setTemplate('sitewards/b2bprofessional/catalog/product/view/type/bundle/option-post-180/checkbox.phtml');
286
+ } else if ($oBlock instanceof Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Multi) {
287
+ $oBlock->setTemplate('sitewards/b2bprofessional/catalog/product/view/type/bundle/option-post-180/multi.phtml');
288
+ } else if ($oBlock instanceof Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Radio) {
289
+ $oBlock->setTemplate('sitewards/b2bprofessional/catalog/product/view/type/bundle/option-post-180/radio.phtml');
290
+ } else if ($oBlock instanceof Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Select) {
291
+ $oBlock->setTemplate('sitewards/b2bprofessional/catalog/product/view/type/bundle/option-post-180/select.phtml');
292
+ }
293
+ } else {
294
+ if ($oBlock instanceof Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Checkbox) {
295
+ $oBlock->setTemplate('sitewards/b2bprofessional/catalog/product/view/type/bundle/option-pre-180/checkbox.phtml');
296
+ } else if ($oBlock instanceof Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Multi) {
297
+ $oBlock->setTemplate('sitewards/b2bprofessional/catalog/product/view/type/bundle/option-pre-180/multi.phtml');
298
+ } else if ($oBlock instanceof Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Radio) {
299
+ $oBlock->setTemplate('sitewards/b2bprofessional/catalog/product/view/type/bundle/option-pre-180/radio.phtml');
300
+ } else if ($oBlock instanceof Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Select) {
301
+ $oBlock->setTemplate('sitewards/b2bprofessional/catalog/product/view/type/bundle/option-pre-180/select.phtml');
302
+ }
303
  }
304
  }
305
  }
app/code/community/Sitewards/B2BProfessional/controllers/ProductController.php CHANGED
@@ -34,7 +34,7 @@ class Sitewards_B2BProfessional_ProductController extends Mage_Core_Controller_F
34
  $sSku = $this->getRequest()->getParam('sku');
35
  /* @var Mage_Catalog_Model_Product $oProduct */
36
  $oProduct = Mage::getModel('catalog/product')->loadByAttribute('sku', $sSku);
37
- if ($this->isUserAllowed() and $oProduct) {
38
  if (Mage::helper('b2bprofessional')->isProductActive($oProduct->getId())) {
39
  $sMessage = Mage::helper('b2bprofessional')->__('Your account is not allowed to access this product.');
40
  $sResponse = json_encode(
@@ -61,22 +61,4 @@ class Sitewards_B2BProfessional_ProductController extends Mage_Core_Controller_F
61
  }
62
  }
63
 
64
- /**
65
- * checks if user is allowed to view products
66
- *
67
- * @return bool
68
- */
69
- private function isUserAllowed()
70
- {
71
- /* @var $oHelper Sitewards_B2BProfessional_Helper_Data */
72
- $oHelper = Mage::helper('b2bprofessional');
73
- $oB2BCustomerHelper = Mage::helper('b2bprofessional/customer');
74
- return (
75
- $oHelper->isExtensionActive() == true
76
- && (
77
- $oB2BCustomerHelper->isLoginRequired() == false
78
- || Mage::getSingleton('customer/session')->isLoggedIn()
79
- )
80
- );
81
- }
82
  }
34
  $sSku = $this->getRequest()->getParam('sku');
35
  /* @var Mage_Catalog_Model_Product $oProduct */
36
  $oProduct = Mage::getModel('catalog/product')->loadByAttribute('sku', $sSku);
37
+ if (Mage::helper('b2bprofessional/customer')->isUserAllowed() and $oProduct) {
38
  if (Mage::helper('b2bprofessional')->isProductActive($oProduct->getId())) {
39
  $sMessage = Mage::helper('b2bprofessional')->__('Your account is not allowed to access this product.');
40
  $sResponse = json_encode(
61
  }
62
  }
63
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  }
app/code/community/Sitewards/B2BProfessional/etc/config.xml CHANGED
@@ -18,7 +18,7 @@
18
  <config>
19
  <modules>
20
  <Sitewards_B2BProfessional>
21
- <version>2.5.1</version>
22
  </Sitewards_B2BProfessional>
23
  </modules>
24
  <global>
18
  <config>
19
  <modules>
20
  <Sitewards_B2BProfessional>
21
+ <version>2.5.2</version>
22
  </Sitewards_B2BProfessional>
23
  </modules>
24
  <global>
app/design/frontend/base/default/template/sitewards/b2bprofessional/catalog/product/view/type/bundle/option-post-180/checkbox.phtml ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ ?>
28
+
29
+ <?php /* @var $this Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Checkbox */ ?>
30
+ <?php $_option = $this->getOption() ?>
31
+ <?php $_selections = $_option->getSelections() ?>
32
+ <dt><label<?php if ($_option->getRequired()) echo ' class="required"' ?>><?php echo $this->escapeHtml($_option->getTitle()) ?><?php if ($_option->getRequired()) echo '<em>*</em>' ?></label></dt>
33
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
34
+ <div class="input-box">
35
+ <?php if (count($_selections) == 1 && $_option->getRequired()): ?>
36
+ <?php echo $this->getSelectionQtyTitlePrice($_selections[0]) ?>
37
+ <input type="hidden" name="bundle_option[<?php echo $_option->getId() ?>]" value="<?php echo $_selections[0]->getSelectionId() ?>"/>
38
+ <?php else:?>
39
+ <ul class="options-list">
40
+ <?php foreach($_selections as $_selection): ?>
41
+ <li><input onclick="bundle.changeSelection(this)" class="change-container-classname checkbox bundle-option-<?php echo $_option->getId() ?> <?php if ($_option->getRequired()) echo 'validate-one-required-by-name' ?>" id="bundle-option-<?php echo $_option->getId() ?>-<?php echo $_selection->getSelectionId() ?>" type="checkbox" name="bundle_option[<?php echo $_option->getId() ?>][]"<?php if ($this->_isSelected($_selection)) echo ' checked="checked"' ?><?php if (!$_selection->isSaleable()) echo ' disabled="disabled"' ?> value="<?php echo $_selection->getSelectionId() ?>"/>
42
+ <span class="label"><label for="bundle-option-<?php echo $_option->getId() ?>-<?php echo $_selection->getSelectionId() ?>"><?php if (Mage::helper('b2bprofessional')->isProductActive($_selection->getId())): echo $_selection->getName(); else: echo $this->getSelectionQtyTitlePrice($_selection); endif;?></label></span>
43
+ <?php if($_option->getRequired()): ?>
44
+ <?php echo $this->setValidationContainer('bundle-option-'.$_option->getId().'-'.$_selection->getSelectionId(), 'bundle-option-'.$_option->getId().'-container') ?>
45
+ <?php endif; ?>
46
+ </li>
47
+ <?php endforeach; ?>
48
+ </ul>
49
+ <div id="bundle-option-<?php echo $_option->getId() ?>-container"></div>
50
+ <?php endif; ?>
51
+ </div>
52
+ </dd>
app/design/frontend/base/default/template/sitewards/b2bprofessional/catalog/product/view/type/bundle/option-post-180/multi.phtml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ ?>
28
+
29
+ <?php /* @var $this Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Multi */ ?>
30
+ <?php $_option = $this->getOption() ?>
31
+ <?php $_selections = $_option->getSelections() ?>
32
+ <dt><label<?php if ($_option->getRequired()) echo ' class="required"' ?>><?php echo $this->escapeHtml($_option->getTitle()) ?><?php if ($_option->getRequired()) echo '<em>*</em>' ?></label></dt>
33
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
34
+ <div class="input-box">
35
+ <?php if (count($_selections) == 1 && $_option->getRequired()): ?>
36
+ <?php echo $this->getSelectionQtyTitlePrice($_selections[0]) ?>
37
+ <input type="hidden" name="bundle_option[<?php echo $_option->getId() ?>]" value="<?php echo $_selections[0]->getSelectionId() ?>"/>
38
+ <?php else: ?>
39
+ <select onchange="bundle.changeSelection(this)" multiple="multiple" size="5" id="bundle-option-<?php echo $_option->getId() ?>" name="bundle_option[<?php echo $_option->getId() ?>][]" class="bundle-option-<?php echo $_option->getId() ?><?php if ($_option->getRequired()) echo ' required-entry' ?> bundle-option-select multiselect change-container-classname">
40
+ <?php if(!$_option->getRequired()): ?>
41
+ <option value=""><?php echo $this->__('None') ?></option>
42
+ <?php endif; ?>
43
+ <?php foreach ($_selections as $_selection): ?>
44
+ <option value="<?php echo $_selection->getSelectionId() ?>"<?php if ($this->_isSelected($_selection)) echo ' selected="selected"' ?><?php if (!$_selection->isSaleable()) echo ' disabled="disabled"' ?>><?php if (Mage::helper('b2bprofessional')->isProductActive($_selection->getId())): echo $_selection->getName(); else: echo $this->getSelectionQtyTitlePrice($_selection, false); endif;?></option>
45
+ <?php endforeach; ?>
46
+ </select>
47
+ <?php endif; ?>
48
+ </div>
49
+ </dd>
app/design/frontend/base/default/template/sitewards/b2bprofessional/catalog/product/view/type/bundle/option-post-180/radio.phtml ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ ?>
28
+
29
+ <?php /* @var $this Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Radio */ ?>
30
+ <?php $_option = $this->getOption(); ?>
31
+ <?php $_selections = $_option->getSelections(); ?>
32
+ <?php $_default = $_option->getDefaultSelection(); ?>
33
+ <?php list($_defaultQty, $_canChangeQty) = $this->_getDefaultValues(); ?>
34
+ <?php $tierPriceHtml = ''; ?>
35
+
36
+ <dt>
37
+ <label<?php if ($_option->getRequired()) echo ' class="required"' ?>><?php echo $this->escapeHtml($_option->getTitle()) ?><?php if ($_option->getRequired()) echo '<em>*</em>' ?></label>
38
+ </dt>
39
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
40
+ <div class="input-box">
41
+ <?php /** @var $_selection Mage_Catalog_Model_Product*/ ?>
42
+ <?php if ($this->_showSingle()): ?>
43
+ <?php echo $this->getSelectionTitlePrice($_selections[0]); ?>
44
+ <?php if ($_selections[0]->getSelectionCanChangeQty()): ?>
45
+ <?php $tierPriceHtml = $this->getTierPriceHtml($_selections[0]); ?>
46
+ <?php endif; ?>
47
+ <input type="hidden" name="bundle_option[<?php echo $_option->getId() ?>]" value="<?php echo $_selections[0]->getSelectionId() ?>" />
48
+ <?php else:?>
49
+ <ul class="options-list">
50
+ <?php if (!$_option->getRequired()): ?>
51
+ <li><input type="radio" onclick="bundle.changeSelection(this)" class="radio" id="bundle-option-<?php echo $_option->getId() ?>" name="bundle_option[<?php echo $_option->getId() ?>]"<?php echo ($_default && $_default->isSalable())?'':' checked="checked" ' ?> value=""/>
52
+ <span class="label"><label for="bundle-option-<?php echo $_option->getId() ?>"><?php echo $this->__('None') ?></label></span>
53
+ </li>
54
+ <?php endif; ?>
55
+ <?php foreach ($_selections as $_selection): ?>
56
+ <?php if ($_selection->getSelectionCanChangeQty() && $this->_isSelected($_selection)): ?>
57
+ <?php $tierPriceHtml = $this->getTierPriceHtml($_selection); ?>
58
+ <?php endif; ?>
59
+ <li><input type="radio" onclick="bundle.changeSelection(this)" class="radio<?php echo $_option->getRequired()?' validate-one-required-by-name':'' ?> change-container-classname" id="bundle-option-<?php echo $_option->getId() ?>-<?php echo $_selection->getSelectionId() ?>" name="bundle_option[<?php echo $_option->getId() ?>]"<?php if ($this->_isSelected($_selection)) echo ' checked="checked"' ?><?php if (!$_selection->isSaleable()) echo ' disabled="disabled"' ?>value="<?php echo $_selection->getSelectionId() ?>"/>
60
+ <span class="label"><label for="bundle-option-<?php echo $_option->getId() ?>-<?php echo $_selection->getSelectionId() ?>"><?php if (Mage::helper('b2bprofessional')->isProductActive($_selection->getId())): echo $_selection->getName(); else: echo $this->getSelectionTitlePrice($_selection); endif;?></label></span>
61
+ <?php if ($_option->getRequired()): ?>
62
+ <?php echo $this->setValidationContainer('bundle-option-'.$_option->getId().'-'.$_selection->getSelectionId(), 'bundle-option-'.$_option->getId().'-container') ?>
63
+ <?php endif; ?>
64
+ </li>
65
+ <?php endforeach; ?>
66
+ </ul>
67
+ <div id="bundle-option-<?php echo $_option->getId() ?>-container"></div>
68
+ <?php endif; ?>
69
+ </div>
70
+ <span id="bundle-option-<?php echo $_option->getId() ?>-tier-prices"> <?php echo $tierPriceHtml; ?></span>
71
+ <span class="qty-holder">
72
+ <label for="bundle-option-<?php echo $_option->getId() ?>-qty-input"><?php echo $this->__('Qty:') ?>&nbsp;</label><input onkeyup="bundle.changeOptionQty(this, event)" onblur="bundle.changeOptionQty(this, event)" <?php if (!$_canChangeQty) echo ' disabled="disabled"' ?> id="bundle-option-<?php echo $_option->getId() ?>-qty-input" class="input-text qty<?php if (!$_canChangeQty) echo ' qty-disabled' ?>" type="text" name="bundle_option_qty[<?php echo $_option->getId() ?>]" value="<?php echo $_defaultQty ?>"/>
73
+ </span>
74
+ </dd>
app/design/frontend/base/default/template/sitewards/b2bprofessional/catalog/product/view/type/bundle/option-post-180/select.phtml ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php /* @var $this Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Select */ ?>
29
+ <?php $_option = $this->getOption(); ?>
30
+ <?php $_selections = $_option->getSelections(); ?>
31
+ <?php $_default = $_option->getDefaultSelection(); ?>
32
+ <?php list($_defaultQty, $_canChangeQty) = $this->_getDefaultValues(); ?>
33
+ <?php $tierPriceHtml = ''; ?>
34
+
35
+ <dt>
36
+ <label<?php if ($_option->getRequired()) echo ' class="required"' ?>><?php echo $this->escapeHtml($_option->getTitle()) ?><?php if ($_option->getRequired()) echo '<em>*</em>' ?></label>
37
+ </dt>
38
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
39
+ <div class="input-box">
40
+ <?php /** @var $_selection Mage_Catalog_Model_Product*/ ?>
41
+ <?php if ($this->_showSingle()): ?>
42
+ <?php echo $this->getSelectionTitlePrice($_selections[0]); ?>
43
+ <?php if ($_selections[0]->getSelectionCanChangeQty()): ?>
44
+ <?php $tierPriceHtml = $this->getTierPriceHtml($_selections[0]); ?>
45
+ <?php endif; ?>
46
+ <input type="hidden" name="bundle_option[<?php echo $_option->getId() ?>]" value="<?php echo $_selections[0]->getSelectionId() ?>"/>
47
+ <?php else:?>
48
+ <select onchange="bundle.changeSelection(this)" id="bundle-option-<?php echo $_option->getId() ?>" name="bundle_option[<?php echo $_option->getId() ?>]" class="bundle-option-<?php echo $_option->getId() ?><?php if ($_option->getRequired()) echo ' required-entry' ?> bundle-option-select change-container-classname">
49
+ <option value=""><?php echo $this->__('Choose a selection...') ?></option>
50
+ <?php foreach ($_selections as $_selection): ?>
51
+ <?php if ($_selection->getSelectionCanChangeQty() && $this->_isSelected($_selection)): ?>
52
+ <?php $tierPriceHtml = $this->getTierPriceHtml($_selection); ?>
53
+ <?php endif; ?>
54
+ <option value="<?php echo $_selection->getSelectionId() ?>"<?php if ($this->_isSelected($_selection)) echo ' selected="selected"' ?><?php if (!$_selection->isSaleable()) echo ' disabled="disabled"' ?>><?php if (Mage::helper('b2bprofessional')->isProductActive($_selection->getId())): echo $_selection->getName(); else: echo $this->getSelectionTitlePrice($_selection, false); endif;?></option>
55
+ <?php endforeach; ?>
56
+ </select>
57
+ <?php endif; ?>
58
+ </div>
59
+ <span id="bundle-option-<?php echo $_option->getId() ?>-tier-prices"> <?php echo $tierPriceHtml; ?></span>
60
+ <span class="qty-holder">
61
+ <label for="bundle-option-<?php echo $_option->getId() ?>-qty-input"><?php echo $this->__('Qty:') ?>&nbsp;</label><input onkeyup="bundle.changeOptionQty(this, event)" onblur="bundle.changeOptionQty(this, event)" <?php if (!$_canChangeQty) echo ' disabled="disabled"' ?> id="bundle-option-<?php echo $_option->getId() ?>-qty-input" class="input-text qty<?php if (!$_canChangeQty) echo ' qty-disabled' ?>" type="text" name="bundle_option_qty[<?php echo $_option->getId() ?>]" value="<?php echo $_defaultQty ?>"/>
62
+ </span>
63
+ </dd>
app/design/frontend/base/default/template/sitewards/b2bprofessional/catalog/product/view/type/bundle/{option → option-pre-180}/checkbox.phtml RENAMED
File without changes
app/design/frontend/base/default/template/sitewards/b2bprofessional/catalog/product/view/type/bundle/{option → option-pre-180}/multi.phtml RENAMED
File without changes
app/design/frontend/base/default/template/sitewards/b2bprofessional/catalog/product/view/type/bundle/{option → option-pre-180}/radio.phtml RENAMED
File without changes
app/design/frontend/base/default/template/sitewards/b2bprofessional/catalog/product/view/type/bundle/{option → option-pre-180}/select.phtml RENAMED
File without changes
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Sitewards_B2BProfessional</name>
4
- <version>2.5.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/gpl-license.php">GPL</license>
7
  <channel>community</channel>
@@ -20,12 +20,11 @@ Features of the B2BProfessional Extension:&#xD;
20
  &#xB7; Activation for specific product categories&#xD;
21
  &#xB7; Activation for specific customer groups&#xD;
22
  &#xB7; Optional require login to access store</description>
23
- <notes>Fixed create, delete, edit widgets issue.&#xD;
24
- Fixed issue with multiple stores having different b2b settings.</notes>
25
  <authors><author><name>Sitewards Magento Team</name><user>sitewards</user><email>magento@sitewards.com</email></author></authors>
26
- <date>2014-02-17</date>
27
- <time>10:44:44</time>
28
- <contents><target name="magecommunity"><dir name="Sitewards"><dir name="B2BProfessional"><dir name="Block"><dir name="Adminhtml"><file name="Order.php" hash="1079907aaeb1f57c753635899032ff38"/></dir><dir name="Catalog"><dir name="Product"><file name="List.php" hash="4c8e213915c4c7c177b503916921a392"/><file name="New.php" hash="3da0bc1cb1bd562f1a41e2169f6da061"/><dir name="Widget"><file name="New.php" hash="f263ee41756685c78959082ff2a38b5a"/></dir></dir></dir><dir name="Checkout"><file name="Links.php" hash="f88d8e603f98a282b2d6f678f03d974d"/></dir><dir name="Order"><file name="Form.php" hash="9b3a9d07b9a7eb537e898578d0ce0466"/></dir><file name="Order.php" hash="c421edb98f77b39b0abdb68262a018f6"/><dir name="Reports"><dir name="Product"><file name="Compared.php" hash="abe90ddad8722f7f3b41eef2cf9d7411"/><file name="Viewed.php" hash="c89044322ca310b450e7e8b95c17de69"/><dir name="Widget"><file name="Compared.php" hash="427bd3640335044572ccb4a6966d1d31"/><file name="Viewed.php" hash="f943f7cff7e0858c23527bcdf82f4b19"/></dir></dir></dir></dir><dir name="Docs"><file name="Sitewards B2B Professional_Deutsch V4.pdf" hash="69c5aabb9eba3cb4d060206f68bfffa9"/><file name="Sitewards B2B Professional_ENG_V4.pdf" hash="ec57137d81856521207e5014dfad133d"/></dir><dir name="Helper"><dir name="Catalog"><dir name="Product"><file name="Compare.php" hash="29d7ee722666ceeed48ac0e43c937b1d"/></dir></dir><file name="Category.php" hash="c7ac2551cc37516ea44002b08021c27b"/><file name="Core.php" hash="8a9ed86d5aead09fad8a6c372904005d"/><file name="Customer.php" hash="6664c3fa3745cd1df1220bc4bff02d0a"/><file name="Data.php" hash="1b43a1aaa6aa968a1d9ecfd8aa2b2102"/><file name="Messages.php" hash="54ce3aae10919721bb3545988d6aa564"/><file name="Redirects.php" hash="5670879b38bc078e36fb32f739b3a1f5"/><file name="Replacements.php" hash="cb5b3162388618b1d8c512c5b83918a0"/></dir><dir name="Model"><file name="Customer.php" hash="ceb9778dfb4725c8cd087f2595b3ccff"/><file name="Observer.php" hash="716c0e06ec9c08ee286c83ca13b63e3c"/><file name="Order.php" hash="5ba1832297e6f95a7b14787298bd9f2a"/><file name="Quote.php" hash="9401c027ab3b4949f0db15200d591c6d"/><dir name="Resource"><dir name="Order"><file name="Collection.php" hash="32b8e20dce599b6455232af83199e8cf"/></dir><file name="Order.php" hash="82300aaebd70030ce59b48f0bb68a275"/><dir name="Quote"><file name="Collection.php" hash="5f6dc10e88b36d1535432def4c8f11a2"/></dir><file name="Quote.php" hash="8560f55cdbcfe7312f1c1208ddcf9378"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Category.php" hash="e9642d20bb0bc0f542b07ecdf8d021c5"/><file name="Identifiers.php" hash="018e168fb31fffa33b3889612e0336be"/><file name="Page.php" hash="042ef4e679e8e8c7b6a2c696119712b3"/><file name="Tags.php" hash="af72690991f6f91a5aecb5f5fd7f621a"/></dir></dir></dir></dir><dir name="Test"><dir name="Helper"><dir name="Data"><dir name="fixtures"><file name="testIsExtensionActive.yaml" hash="1597dbaa9909bf2cd6cdc41188d79a40"/></dir></dir><file name="Data.php" hash="19407fd03acd55753b08b472f4004c57"/></dir></dir><dir name="controllers"><file name="CartController.php" hash="ed057ef6e574e564bf5b2f3849a4154f"/><file name="OrderController.php" hash="0c8f8fc04d5920bb2d4fb8abbe5e4ea2"/><file name="ProductController.php" hash="3837d695d65cdfb361bcc21bf5e884b7"/></dir><dir name="etc"><file name="adminhtml.xml" hash="1c7cde3689b2da69458c39c3508f7e1a"/><file name="config.xml" hash="51c2c5f9496bc2dfb00e443555cb4178"/><file name="system.xml" hash="20344173951dcaf070b8882eb97a35eb"/></dir><dir name="sql"><dir name="sitewards_b2bprofessional"><file name="upgrade-2.3.0-2.4.0.php" hash="b203deb87585780983f5a16f19b88b34"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Sitewards_B2BProfessional.xml" hash="3eb7e7a0f796d39faf60cf3f30c40ff2"/></dir></target><target name="magelocale"><dir name="de_DE"><file name="Sitewards_B2BProfessional.csv" hash="e2f335efa0e6b206580aca1ce2cd595d"/></dir><dir name="en_US"><file name="Sitewards_B2BProfessional.csv" hash="e3e35d922900bad93fee16ecdbb09f69"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="sitewards"><dir name="b2bprofessional"><dir name="catalog"><dir name="product"><dir name="view"><dir name="type"><dir name="bundle"><dir name="option"><file name="checkbox.phtml" hash="43233f86f7e8529e5bc997f448ca250a"/><file name="multi.phtml" hash="43797266868e249b34a228a4ad9797e7"/><file name="radio.phtml" hash="770363afcc009271d58a15f02ae4fdbe"/><file name="select.phtml" hash="47b3b35fe986ab31fdc8e239e8ec9bb1"/></dir></dir></dir></dir></dir></dir><dir name="checkout"><dir name="billing"><file name="extra.phtml" hash="ecc02d2548ca43b2424f88ac4cc3b0e0"/></dir></dir><dir name="order"><file name="form.phtml" hash="07382e7c71e8e0a8c9de39e8b1e255c7"/></dir><file name="order.phtml" hash="9591a8cc45c05df038807157a6f07537"/></dir></dir></dir><dir name="layout"><dir name="sitewards"><file name="b2bprofessional.xml" hash="c85d310d8a2045c854537780f6c8a89d"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="sitewards"><dir name="b2bprofessional"><file name="order.phtml" hash="acd14610cfb5ae3af32d29d4fb97dee9"/><dir name="sales"><dir name="order"><file name="info.phtml" hash="f15665316c8b577c00f3a6d079a00f63"/></dir></dir></dir></dir></dir><dir name="layout"><dir name="sitewards"><file name="b2bprofessional.xml" hash="dd9927dd56d60c6499e591623d4c4ad8"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="sitewards"><file name="loading.gif" hash="1836c963dec1eb6dab0e0a41b8121cd3"/></dir></dir><dir name="css"><dir name="sitewards"><file name="b2bprofessional.css" hash="6d6ce9426f7f397c0488a82188c3bba5"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="sitewards"><file name="b2bprofessional.js" hash="953f75bd31bcd1dcb639d9582cf30292"/></dir></dir></target></contents>
29
  <compatible/>
30
- <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php><package><name>Netzarbeiter_CustomerActivation</name><channel>community</channel><min>0.3.0</min><max/></package></required></dependencies>
31
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Sitewards_B2BProfessional</name>
4
+ <version>2.5.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/gpl-license.php">GPL</license>
7
  <channel>community</channel>
20
  &#xB7; Activation for specific product categories&#xD;
21
  &#xB7; Activation for specific customer groups&#xD;
22
  &#xB7; Optional require login to access store</description>
23
+ <notes>Update to work with Magento 1.9</notes>
 
24
  <authors><author><name>Sitewards Magento Team</name><user>sitewards</user><email>magento@sitewards.com</email></author></authors>
25
+ <date>2014-05-15</date>
26
+ <time>08:21:02</time>
27
+ <contents><target name="magecommunity"><dir name="Sitewards"><dir name="B2BProfessional"><dir name="Block"><dir name="Adminhtml"><file name="Order.php" hash="1079907aaeb1f57c753635899032ff38"/></dir><dir name="Catalog"><dir name="Product"><file name="List.php" hash="4c8e213915c4c7c177b503916921a392"/><file name="New.php" hash="3da0bc1cb1bd562f1a41e2169f6da061"/><dir name="Widget"><file name="New.php" hash="f263ee41756685c78959082ff2a38b5a"/></dir></dir></dir><dir name="Checkout"><file name="Links.php" hash="f88d8e603f98a282b2d6f678f03d974d"/></dir><dir name="Order"><file name="Form.php" hash="9b3a9d07b9a7eb537e898578d0ce0466"/></dir><file name="Order.php" hash="c421edb98f77b39b0abdb68262a018f6"/><dir name="Reports"><dir name="Product"><file name="Compared.php" hash="abe90ddad8722f7f3b41eef2cf9d7411"/><file name="Viewed.php" hash="c89044322ca310b450e7e8b95c17de69"/><dir name="Widget"><file name="Compared.php" hash="427bd3640335044572ccb4a6966d1d31"/><file name="Viewed.php" hash="f943f7cff7e0858c23527bcdf82f4b19"/></dir></dir></dir></dir><dir name="Docs"><file name="Sitewards B2B Professional_Deutsch V4.pdf" hash="69c5aabb9eba3cb4d060206f68bfffa9"/><file name="Sitewards B2B Professional_ENG_V4.pdf" hash="ec57137d81856521207e5014dfad133d"/></dir><dir name="Helper"><dir name="Catalog"><dir name="Product"><file name="Compare.php" hash="29d7ee722666ceeed48ac0e43c937b1d"/></dir></dir><file name="Category.php" hash="c7ac2551cc37516ea44002b08021c27b"/><file name="Core.php" hash="8a9ed86d5aead09fad8a6c372904005d"/><file name="Customer.php" hash="3b8caf476d39a55db5378ff209bf2186"/><file name="Data.php" hash="4b3fc08e209643cc07d5e366998b90a6"/><file name="Messages.php" hash="54ce3aae10919721bb3545988d6aa564"/><file name="Redirects.php" hash="5670879b38bc078e36fb32f739b3a1f5"/><file name="Replacements.php" hash="cb5b3162388618b1d8c512c5b83918a0"/></dir><dir name="Model"><file name="Customer.php" hash="ceb9778dfb4725c8cd087f2595b3ccff"/><file name="Observer.php" hash="668b466c9d871157657d73cbe576a629"/><file name="Order.php" hash="5ba1832297e6f95a7b14787298bd9f2a"/><file name="Quote.php" hash="9401c027ab3b4949f0db15200d591c6d"/><dir name="Resource"><dir name="Order"><file name="Collection.php" hash="32b8e20dce599b6455232af83199e8cf"/></dir><file name="Order.php" hash="82300aaebd70030ce59b48f0bb68a275"/><dir name="Quote"><file name="Collection.php" hash="5f6dc10e88b36d1535432def4c8f11a2"/></dir><file name="Quote.php" hash="8560f55cdbcfe7312f1c1208ddcf9378"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Category.php" hash="e9642d20bb0bc0f542b07ecdf8d021c5"/><file name="Identifiers.php" hash="018e168fb31fffa33b3889612e0336be"/><file name="Page.php" hash="042ef4e679e8e8c7b6a2c696119712b3"/><file name="Tags.php" hash="af72690991f6f91a5aecb5f5fd7f621a"/></dir></dir></dir></dir><dir name="Test"><dir name="Helper"><dir name="Data"><dir name="fixtures"><file name="testIsExtensionActive.yaml" hash="1597dbaa9909bf2cd6cdc41188d79a40"/></dir></dir><file name="Data.php" hash="19407fd03acd55753b08b472f4004c57"/></dir></dir><dir name="controllers"><file name="CartController.php" hash="ed057ef6e574e564bf5b2f3849a4154f"/><file name="OrderController.php" hash="0c8f8fc04d5920bb2d4fb8abbe5e4ea2"/><file name="ProductController.php" hash="b5c0bd7d94857a8262ac730733df198e"/></dir><dir name="etc"><file name="adminhtml.xml" hash="1c7cde3689b2da69458c39c3508f7e1a"/><file name="config.xml" hash="142cfcf5e0c7dd538eb60bb845f193ab"/><file name="system.xml" hash="20344173951dcaf070b8882eb97a35eb"/></dir><dir name="sql"><dir name="sitewards_b2bprofessional"><file name="upgrade-2.3.0-2.4.0.php" hash="b203deb87585780983f5a16f19b88b34"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Sitewards_B2BProfessional.xml" hash="3eb7e7a0f796d39faf60cf3f30c40ff2"/></dir></target><target name="magelocale"><dir name="de_DE"><file name="Sitewards_B2BProfessional.csv" hash="e2f335efa0e6b206580aca1ce2cd595d"/></dir><dir name="en_US"><file name="Sitewards_B2BProfessional.csv" hash="e3e35d922900bad93fee16ecdbb09f69"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="sitewards"><dir name="b2bprofessional"><dir name="catalog"><dir name="product"><dir name="view"><dir name="type"><dir name="bundle"><dir name="option-post-180"><file name="checkbox.phtml" hash="33a5b1b7ccd05030e75828ce7213246a"/><file name="multi.phtml" hash="92de70f9e37a1911cdaa908642c92d89"/><file name="radio.phtml" hash="e20a3344b361fab375cddeeed94e60f9"/><file name="select.phtml" hash="784f8ef8ee7374d83d25c47328529fba"/></dir><dir name="option-pre-180"><file name="checkbox.phtml" hash="43233f86f7e8529e5bc997f448ca250a"/><file name="multi.phtml" hash="43797266868e249b34a228a4ad9797e7"/><file name="radio.phtml" hash="770363afcc009271d58a15f02ae4fdbe"/><file name="select.phtml" hash="47b3b35fe986ab31fdc8e239e8ec9bb1"/></dir></dir></dir></dir></dir></dir><dir name="checkout"><dir name="billing"><file name="extra.phtml" hash="ecc02d2548ca43b2424f88ac4cc3b0e0"/></dir></dir><dir name="order"><file name="form.phtml" hash="07382e7c71e8e0a8c9de39e8b1e255c7"/></dir><file name="order.phtml" hash="9591a8cc45c05df038807157a6f07537"/></dir></dir></dir><dir name="layout"><dir name="sitewards"><file name="b2bprofessional.xml" hash="c85d310d8a2045c854537780f6c8a89d"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="sitewards"><dir name="b2bprofessional"><file name="order.phtml" hash="acd14610cfb5ae3af32d29d4fb97dee9"/><dir name="sales"><dir name="order"><file name="info.phtml" hash="f15665316c8b577c00f3a6d079a00f63"/></dir></dir></dir></dir></dir><dir name="layout"><dir name="sitewards"><file name="b2bprofessional.xml" hash="dd9927dd56d60c6499e591623d4c4ad8"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="sitewards"><file name="loading.gif" hash="1836c963dec1eb6dab0e0a41b8121cd3"/></dir></dir><dir name="css"><dir name="sitewards"><file name="b2bprofessional.css" hash="6d6ce9426f7f397c0488a82188c3bba5"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="sitewards"><file name="b2bprofessional.js" hash="953f75bd31bcd1dcb639d9582cf30292"/></dir></dir></target></contents>
28
  <compatible/>
29
+ <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php><package><name>Netzarbeiter_CustomerActivation</name><channel>community</channel><min>0.3.0</min><max></max></package></required></dependencies>
30
  </package>