Version Notes
Changelog :
1.0.1
- Bug fixed order state complete and closed
1.0.0
- Bug fixed order state
- Bug fixed multishipping email
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | Quadra_Extensions |
| Version | 1.0.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.0 to 1.0.1
- app/code/community/Quadra/Extensions/Helper/Data.php +21 -0
- app/code/community/Quadra/Extensions/Model/Checkout/Type/Multishipping.php +11 -14
- app/code/community/Quadra/Extensions/Model/Sales/Order.php +10 -13
- app/code/community/Quadra/Extensions/Model/Sales/Order/Config.php +13 -16
- app/code/community/Quadra/Extensions/etc/config.xml +28 -14
- app/code/community/Quadra/Extensions/etc/system.xml +29 -0
- app/etc/modules/Quadra_Extensions.xml +10 -14
- package.xml +12 -12
app/code/community/Quadra/Extensions/Helper/Data.php
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/*
|
| 3 |
+
* 1997-2012 Quadra Informatique
|
| 4 |
+
*
|
| 5 |
+
* NOTICE OF LICENSE
|
| 6 |
+
*
|
| 7 |
+
* This source file is subject to the Open Software License (OSL 3.0) that is available
|
| 8 |
+
* through the world-wide-web at this URL: http://www.opensource.org/licenses/OSL-3.0
|
| 9 |
+
* If you are unable to obtain it through the world-wide-web, please send an email
|
| 10 |
+
* to ecommerce@quadra-informatique.fr so we can send you a copy immediately.
|
| 11 |
+
*
|
| 12 |
+
* @author Quadra Informatique <ecommerce@quadra-informatique.fr>
|
| 13 |
+
* @copyright 1997-2012 Quadra Informatique
|
| 14 |
+
* @version Release: $Revision: 1.0.1 $
|
| 15 |
+
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
| 16 |
+
*/
|
| 17 |
+
|
| 18 |
+
class Quadra_Extensions_Helper_Data extends Mage_Core_Helper_Abstract
|
| 19 |
+
{
|
| 20 |
+
|
| 21 |
+
}
|
app/code/community/Quadra/Extensions/Model/Checkout/Type/Multishipping.php
CHANGED
|
@@ -1,21 +1,18 @@
|
|
| 1 |
<?php
|
| 2 |
-
|
| 3 |
-
*
|
| 4 |
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
| 8 |
-
*
|
| 9 |
-
*
|
| 10 |
-
*
|
| 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 |
-
* @
|
| 16 |
-
*
|
| 17 |
-
*
|
| 18 |
-
*
|
| 19 |
*/
|
| 20 |
|
| 21 |
class Quadra_Extensions_Model_Checkout_Type_Multishipping extends Mage_Checkout_Model_Type_Multishipping
|
|
@@ -37,7 +34,7 @@ class Quadra_Extensions_Model_Checkout_Type_Multishipping extends Mage_Checkout_
|
|
| 37 |
if (((int)$version) >= 150) {
|
| 38 |
return parent::createOrders();
|
| 39 |
}
|
| 40 |
-
|
| 41 |
$orderIds = array();
|
| 42 |
$this->_validate();
|
| 43 |
$shippingAddresses = $this->getQuote()->getAllShippingAddresses();
|
| 1 |
<?php
|
| 2 |
+
/*
|
| 3 |
+
* 1997-2012 Quadra Informatique
|
| 4 |
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
+
* This source file is subject to the Open Software License (OSL 3.0) that is available
|
| 8 |
+
* through the world-wide-web at this URL: http://www.opensource.org/licenses/OSL-3.0
|
| 9 |
+
* If you are unable to obtain it through the world-wide-web, please send an email
|
| 10 |
+
* to ecommerce@quadra-informatique.fr so we can send you a copy immediately.
|
|
|
|
|
|
|
|
|
|
| 11 |
*
|
| 12 |
+
* @author Quadra Informatique <ecommerce@quadra-informatique.fr>
|
| 13 |
+
* @copyright 1997-2012 Quadra Informatique
|
| 14 |
+
* @version Release: $Revision: 1.0.1 $
|
| 15 |
+
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
| 16 |
*/
|
| 17 |
|
| 18 |
class Quadra_Extensions_Model_Checkout_Type_Multishipping extends Mage_Checkout_Model_Type_Multishipping
|
| 34 |
if (((int)$version) >= 150) {
|
| 35 |
return parent::createOrders();
|
| 36 |
}
|
| 37 |
+
|
| 38 |
$orderIds = array();
|
| 39 |
$this->_validate();
|
| 40 |
$shippingAddresses = $this->getQuote()->getAllShippingAddresses();
|
app/code/community/Quadra/Extensions/Model/Sales/Order.php
CHANGED
|
@@ -1,21 +1,18 @@
|
|
| 1 |
<?php
|
| 2 |
-
|
| 3 |
-
*
|
| 4 |
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
| 8 |
-
*
|
| 9 |
-
*
|
| 10 |
-
*
|
| 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 |
-
* @
|
| 16 |
-
*
|
| 17 |
-
*
|
| 18 |
-
*
|
| 19 |
*/
|
| 20 |
|
| 21 |
class Quadra_Extensions_Model_Sales_Order extends Mage_Sales_Model_Order
|
| 1 |
<?php
|
| 2 |
+
/*
|
| 3 |
+
* 1997-2012 Quadra Informatique
|
| 4 |
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
+
* This source file is subject to the Open Software License (OSL 3.0) that is available
|
| 8 |
+
* through the world-wide-web at this URL: http://www.opensource.org/licenses/OSL-3.0
|
| 9 |
+
* If you are unable to obtain it through the world-wide-web, please send an email
|
| 10 |
+
* to ecommerce@quadra-informatique.fr so we can send you a copy immediately.
|
|
|
|
|
|
|
|
|
|
| 11 |
*
|
| 12 |
+
* @author Quadra Informatique <ecommerce@quadra-informatique.fr>
|
| 13 |
+
* @copyright 1997-2012 Quadra Informatique
|
| 14 |
+
* @version Release: $Revision: 1.0.1 $
|
| 15 |
+
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
| 16 |
*/
|
| 17 |
|
| 18 |
class Quadra_Extensions_Model_Sales_Order extends Mage_Sales_Model_Order
|
app/code/community/Quadra/Extensions/Model/Sales/Order/Config.php
CHANGED
|
@@ -1,25 +1,22 @@
|
|
| 1 |
<?php
|
| 2 |
-
|
| 3 |
-
*
|
| 4 |
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
| 8 |
-
*
|
| 9 |
-
*
|
| 10 |
-
*
|
| 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 |
-
* @
|
| 16 |
-
*
|
| 17 |
-
*
|
| 18 |
-
*
|
| 19 |
*/
|
| 20 |
|
| 21 |
class Quadra_Extensions_Model_Sales_Order_Config extends Mage_Sales_Model_Order_Config
|
| 22 |
-
{
|
| 23 |
/**
|
| 24 |
* Retrieve statuses available for state
|
| 25 |
* Get all possible statuses, or for specified state, or specified states array
|
|
@@ -46,8 +43,8 @@ class Quadra_Extensions_Model_Sales_Order_Config extends Mage_Sales_Model_Order_
|
|
| 46 |
$key = implode('', $state) . $addLabels;
|
| 47 |
} else {
|
| 48 |
$key = $state . $addLabels;
|
| 49 |
-
}
|
| 50 |
-
|
| 51 |
if (isset($this->_stateStatuses[$key])) {
|
| 52 |
return $this->_stateStatuses[$key];
|
| 53 |
}
|
| 1 |
<?php
|
| 2 |
+
/*
|
| 3 |
+
* 1997-2012 Quadra Informatique
|
| 4 |
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
+
* This source file is subject to the Open Software License (OSL 3.0) that is available
|
| 8 |
+
* through the world-wide-web at this URL: http://www.opensource.org/licenses/OSL-3.0
|
| 9 |
+
* If you are unable to obtain it through the world-wide-web, please send an email
|
| 10 |
+
* to ecommerce@quadra-informatique.fr so we can send you a copy immediately.
|
|
|
|
|
|
|
|
|
|
| 11 |
*
|
| 12 |
+
* @author Quadra Informatique <ecommerce@quadra-informatique.fr>
|
| 13 |
+
* @copyright 1997-2012 Quadra Informatique
|
| 14 |
+
* @version Release: $Revision: 1.0.1 $
|
| 15 |
+
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
| 16 |
*/
|
| 17 |
|
| 18 |
class Quadra_Extensions_Model_Sales_Order_Config extends Mage_Sales_Model_Order_Config
|
| 19 |
+
{
|
| 20 |
/**
|
| 21 |
* Retrieve statuses available for state
|
| 22 |
* Get all possible statuses, or for specified state, or specified states array
|
| 43 |
$key = implode('', $state) . $addLabels;
|
| 44 |
} else {
|
| 45 |
$key = $state . $addLabels;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
if (isset($this->_stateStatuses[$key])) {
|
| 49 |
return $this->_stateStatuses[$key];
|
| 50 |
}
|
app/code/community/Quadra/Extensions/etc/config.xml
CHANGED
|
@@ -1,30 +1,33 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<!--
|
| 3 |
-
|
| 4 |
-
*
|
| 5 |
*
|
| 6 |
* NOTICE OF LICENSE
|
| 7 |
*
|
| 8 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
| 9 |
-
*
|
| 10 |
-
*
|
| 11 |
-
*
|
| 12 |
-
* If you did not receive a copy of the license and are unable to
|
| 13 |
-
* obtain it through the world-wide-web, please send an email
|
| 14 |
-
* to license@magentocommerce.com so we can send you a copy immediately.
|
| 15 |
*
|
| 16 |
-
* @
|
| 17 |
-
*
|
| 18 |
-
*
|
|
|
|
| 19 |
*/
|
| 20 |
-->
|
| 21 |
<config>
|
| 22 |
<modules>
|
| 23 |
<Quadra_Extensions>
|
| 24 |
-
<version>1.0.
|
| 25 |
</Quadra_Extensions>
|
| 26 |
</modules>
|
| 27 |
<global>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
<models>
|
| 29 |
<checkout>
|
| 30 |
<rewrite>
|
|
@@ -39,4 +42,15 @@
|
|
| 39 |
</sales>
|
| 40 |
</models>
|
| 41 |
</global>
|
| 42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<!--
|
| 3 |
+
/*
|
| 4 |
+
* 1997-2012 Quadra Informatique
|
| 5 |
*
|
| 6 |
* NOTICE OF LICENSE
|
| 7 |
*
|
| 8 |
+
* This source file is subject to the Open Software License (OSL 3.0) that is available
|
| 9 |
+
* through the world-wide-web at this URL: http://www.opensource.org/licenses/OSL-3.0
|
| 10 |
+
* If you are unable to obtain it through the world-wide-web, please send an email
|
| 11 |
+
* to ecommerce@quadra-informatique.fr so we can send you a copy immediately.
|
|
|
|
|
|
|
|
|
|
| 12 |
*
|
| 13 |
+
* @author Quadra Informatique <ecommerce@quadra-informatique.fr>
|
| 14 |
+
* @copyright 1997-2012 Quadra Informatique
|
| 15 |
+
* @version Release: $Revision: 1.0.1 $
|
| 16 |
+
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
| 17 |
*/
|
| 18 |
-->
|
| 19 |
<config>
|
| 20 |
<modules>
|
| 21 |
<Quadra_Extensions>
|
| 22 |
+
<version>1.0.1</version>
|
| 23 |
</Quadra_Extensions>
|
| 24 |
</modules>
|
| 25 |
<global>
|
| 26 |
+
<helpers>
|
| 27 |
+
<extensions>
|
| 28 |
+
<class>Quadra_Extensions_Helper</class>
|
| 29 |
+
</extensions>
|
| 30 |
+
</helpers>
|
| 31 |
<models>
|
| 32 |
<checkout>
|
| 33 |
<rewrite>
|
| 42 |
</sales>
|
| 43 |
</models>
|
| 44 |
</global>
|
| 45 |
+
<frontend>
|
| 46 |
+
<routers>
|
| 47 |
+
<extensions>
|
| 48 |
+
<use>standard</use>
|
| 49 |
+
<args>
|
| 50 |
+
<module>Quadra_Extensions</module>
|
| 51 |
+
<frontName>extensions</frontName>
|
| 52 |
+
</args>
|
| 53 |
+
</extensions>
|
| 54 |
+
</routers>
|
| 55 |
+
</frontend>
|
| 56 |
+
</config>
|
app/code/community/Quadra/Extensions/etc/system.xml
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<!--
|
| 3 |
+
/*
|
| 4 |
+
* 1997-2012 Quadra Informatique
|
| 5 |
+
*
|
| 6 |
+
* NOTICE OF LICENSE
|
| 7 |
+
*
|
| 8 |
+
* This source file is subject to the Open Software License (OSL 3.0) that is available
|
| 9 |
+
* through the world-wide-web at this URL: http://www.opensource.org/licenses/OSL-3.0
|
| 10 |
+
* If you are unable to obtain it through the world-wide-web, please send an email
|
| 11 |
+
* to ecommerce@quadra-informatique.fr so we can send you a copy immediately.
|
| 12 |
+
*
|
| 13 |
+
* @author Quadra Informatique <ecommerce@quadra-informatique.fr>
|
| 14 |
+
* @copyright 1997-2012 Quadra Informatique
|
| 15 |
+
* @version Release: $Revision: 1.0.1 $
|
| 16 |
+
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
| 17 |
+
*/
|
| 18 |
+
-->
|
| 19 |
+
<config>
|
| 20 |
+
<tabs>
|
| 21 |
+
<quadra translate="label" module="extensions">
|
| 22 |
+
<label>Quadra</label>
|
| 23 |
+
<sort_order>1</sort_order>
|
| 24 |
+
<show_in_default>1</show_in_default>
|
| 25 |
+
<show_in_website>1</show_in_website>
|
| 26 |
+
<show_in_store>1</show_in_store>
|
| 27 |
+
</quadra>
|
| 28 |
+
</tabs>
|
| 29 |
+
</config>
|
app/etc/modules/Quadra_Extensions.xml
CHANGED
|
@@ -1,23 +1,19 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<!--
|
| 3 |
-
|
| 4 |
-
*
|
| 5 |
*
|
| 6 |
* NOTICE OF LICENSE
|
| 7 |
*
|
| 8 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
| 9 |
-
*
|
| 10 |
-
*
|
| 11 |
-
*
|
| 12 |
-
* If you did not receive a copy of the license and are unable to
|
| 13 |
-
* obtain it through the world-wide-web, please send an email
|
| 14 |
-
* to license@magentocommerce.com so we can send you a copy immediately.
|
| 15 |
*
|
| 16 |
-
* @
|
| 17 |
-
*
|
| 18 |
-
*
|
| 19 |
-
*
|
| 20 |
-
* @author Quadra Team <magento@quadra-informatique.fr>
|
| 21 |
*/
|
| 22 |
-->
|
| 23 |
<config>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<!--
|
| 3 |
+
/*
|
| 4 |
+
* 1997-2012 Quadra Informatique
|
| 5 |
*
|
| 6 |
* NOTICE OF LICENSE
|
| 7 |
*
|
| 8 |
+
* This source file is subject to the Open Software License (OSL 3.0) that is available
|
| 9 |
+
* through the world-wide-web at this URL: http://www.opensource.org/licenses/OSL-3.0
|
| 10 |
+
* If you are unable to obtain it through the world-wide-web, please send an email
|
| 11 |
+
* to ecommerce@quadra-informatique.fr so we can send you a copy immediately.
|
|
|
|
|
|
|
|
|
|
| 12 |
*
|
| 13 |
+
* @author Quadra Informatique <ecommerce@quadra-informatique.fr>
|
| 14 |
+
* @copyright 1997-2012 Quadra Informatique
|
| 15 |
+
* @version Release: $Revision: 1.0.1 $
|
| 16 |
+
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
|
|
|
| 17 |
*/
|
| 18 |
-->
|
| 19 |
<config>
|
package.xml
CHANGED
|
@@ -1,25 +1,25 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Quadra_Extensions</name>
|
| 4 |
-
<version>1.0.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Quadra Extensions for compatibility of modules ATOS/SIPS, Paybox and Cybermut with magento.</summary>
|
| 10 |
-
<description>Allows the compatibility of modules ATOS/SIPS, Paybox and Cybermut with the different versions of magento
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
1.0.
|
| 14 |
-
- Bug fixed order state
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
- Bug fixed order state
|
| 18 |
- Bug fixed multishipping email</notes>
|
| 19 |
<authors><author><name>Quadra Informatique</name><user>auto-converted</user><email>ecommerce@quadra-informatique.fr</email></author></authors>
|
| 20 |
-
<date>
|
| 21 |
-
<time>
|
| 22 |
-
<contents><target name="
|
| 23 |
<compatible/>
|
| 24 |
<dependencies/>
|
| 25 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Quadra_Extensions</name>
|
| 4 |
+
<version>1.0.1</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Quadra Extensions for compatibility of modules ATOS/SIPS, Paybox and Cybermut with magento.</summary>
|
| 10 |
+
<description>Allows the compatibility of modules ATOS/SIPS, Paybox and Cybermut with the different versions of magento.</description>
|
| 11 |
+
<notes>Changelog :
|
| 12 |
+

|
| 13 |
+
1.0.1
|
| 14 |
+
- Bug fixed order state complete and closed
|
| 15 |
+

|
| 16 |
+
1.0.0
|
| 17 |
+
- Bug fixed order state
|
| 18 |
- Bug fixed multishipping email</notes>
|
| 19 |
<authors><author><name>Quadra Informatique</name><user>auto-converted</user><email>ecommerce@quadra-informatique.fr</email></author></authors>
|
| 20 |
+
<date>2012-03-05</date>
|
| 21 |
+
<time>10:22:50</time>
|
| 22 |
+
<contents><target name="magecommunity"><dir name="Quadra"><dir name="Extensions"><dir name="Helper"><file name="Data.php" hash="b7ccfbada0cdf2e91cacf1d71cb55123"/></dir><dir name="Model"><dir name="Checkout"><dir name="Type"><file name="Multishipping.php" hash="66c3221412e22dad24ce2ba5f863a9c2"/></dir></dir><dir name="Sales"><dir name="Order"><file name="Config.php" hash="ed9b2f5071f2f4f04cb6c4a0ba628428"/></dir><file name="Order.php" hash="b77f3e6ad52646c1f9409febaa532ed8"/></dir></dir><dir name="etc"><file name="config.xml" hash="67dfe800f2413d594061b8f57a6b366c"/><file name="system.xml" hash="16dd3007f2836aa12ccd209f7f289e6c"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Quadra_Extensions.xml" hash="27d5557f09820c3179dc40014dde2bcb"/></dir></target></contents>
|
| 23 |
<compatible/>
|
| 24 |
<dependencies/>
|
| 25 |
</package>
|
