Version Notes
Lire le manuel d'installation
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | ColiPoste_La_Poste_So_Colissimo |
| Version | 1.0.7 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.6 to 1.0.7
- app/code/community/LaPoste/SoColissimoSimplicite/Block/Form.php +2 -12
- app/code/community/LaPoste/SoColissimoSimplicite/Block/Onepage.php +2 -12
- app/code/community/LaPoste/SoColissimoSimplicite/Block/Onepage/Shipping/Method/Available.php +2 -12
- app/code/community/LaPoste/SoColissimoSimplicite/Block/Onepage/Shipping/Method/Available/Item.php +2 -12
- app/code/community/LaPoste/SoColissimoSimplicite/Helper/Data.php +2 -12
- app/code/community/LaPoste/SoColissimoSimplicite/Model/Carrier/ShippingMethod.php +13 -12
- app/code/community/LaPoste/SoColissimoSimplicite/Model/Mysql4/Transaction.php +2 -12
- app/code/community/LaPoste/SoColissimoSimplicite/Model/Mysql4/Transaction/Collection.php +2 -12
- app/code/community/LaPoste/SoColissimoSimplicite/Model/Observer.php +58 -12
- app/code/community/LaPoste/SoColissimoSimplicite/Model/System/Config/Source/Shipping/Amountbasetype.php +2 -18
- app/code/community/LaPoste/SoColissimoSimplicite/Model/Transaction.php +2 -12
- app/code/community/LaPoste/SoColissimoSimplicite/controllers/FormController.php +2 -12
- app/code/community/LaPoste/SoColissimoSimplicite/etc/config.xml +15 -13
- app/code/community/LaPoste/SoColissimoSimplicite/etc/system.xml +137 -114
- app/code/community/LaPoste/SoColissimoSimplicite/sql/socolissimosimplicite_setup/mysql4-install-1.0.0.php +3 -19
- app/code/community/LaPoste/SoColissimoSimplicite/sql/socolissimosimplicite_setup/mysql4-upgrade-1.0.6-1.0.7.php +95 -0
- app/design/frontend/default/default/layout/socolissimosimplicite.xml +6 -16
- app/design/frontend/default/default/template/socolissimosimplicite/empty.phtml +26 -0
- app/design/frontend/default/default/template/socolissimosimplicite/form.phtml +2 -13
- app/design/frontend/default/default/template/socolissimosimplicite/form/failure.phtml +2 -12
- app/design/frontend/default/default/template/socolissimosimplicite/onepage/shipping_method.phtml +2 -12
- app/design/frontend/default/default/template/socolissimosimplicite/onepage/shipping_method/available.phtml +5 -15
- app/design/frontend/default/default/template/socolissimosimplicite/onepage/shipping_method/available/default.phtml +5 -15
- app/design/frontend/default/default/template/socolissimosimplicite/onepage/shipping_method/available/socolissimosimplicite.phtml +5 -15
- app/etc/modules/LaPoste_SoColissimoSimplicite.xml +4 -14
- package.xml +9 -5
app/code/community/LaPoste/SoColissimoSimplicite/Block/Form.php
CHANGED
|
@@ -1,17 +1,7 @@
|
|
| 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 |
-
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
-
* It is also available through the world-wide-web at this URL:
|
| 10 |
-
* http://opensource.org/licenses/osl-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 |
* @category LaPoste
|
| 16 |
* @package LaPoste_SoColissimoSimplicite
|
| 17 |
* @copyright Copyright (c) 2010 La Poste
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
* @category LaPoste
|
| 6 |
* @package LaPoste_SoColissimoSimplicite
|
| 7 |
* @copyright Copyright (c) 2010 La Poste
|
app/code/community/LaPoste/SoColissimoSimplicite/Block/Onepage.php
CHANGED
|
@@ -1,17 +1,7 @@
|
|
| 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 |
-
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
-
* It is also available through the world-wide-web at this URL:
|
| 10 |
-
* http://opensource.org/licenses/osl-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 |
* @category LaPoste
|
| 16 |
* @package LaPoste_SoColissimoSimplicite
|
| 17 |
* @copyright Copyright (c) 2010 La Poste
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
* @category LaPoste
|
| 6 |
* @package LaPoste_SoColissimoSimplicite
|
| 7 |
* @copyright Copyright (c) 2010 La Poste
|
app/code/community/LaPoste/SoColissimoSimplicite/Block/Onepage/Shipping/Method/Available.php
CHANGED
|
@@ -1,17 +1,7 @@
|
|
| 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 |
-
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
-
* It is also available through the world-wide-web at this URL:
|
| 10 |
-
* http://opensource.org/licenses/osl-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 |
* @category LaPoste
|
| 16 |
* @package LaPoste_SoColissimoSimplicite
|
| 17 |
* @copyright Copyright (c) 2010 La Poste
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
* @category LaPoste
|
| 6 |
* @package LaPoste_SoColissimoSimplicite
|
| 7 |
* @copyright Copyright (c) 2010 La Poste
|
app/code/community/LaPoste/SoColissimoSimplicite/Block/Onepage/Shipping/Method/Available/Item.php
CHANGED
|
@@ -1,17 +1,7 @@
|
|
| 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 |
-
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
-
* It is also available through the world-wide-web at this URL:
|
| 10 |
-
* http://opensource.org/licenses/osl-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 |
* @category LaPoste
|
| 16 |
* @package LaPoste_SoColissimoSimplicite
|
| 17 |
* @copyright Copyright (c) 2010 La Poste
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
* @category LaPoste
|
| 6 |
* @package LaPoste_SoColissimoSimplicite
|
| 7 |
* @copyright Copyright (c) 2010 La Poste
|
app/code/community/LaPoste/SoColissimoSimplicite/Helper/Data.php
CHANGED
|
@@ -1,17 +1,7 @@
|
|
| 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 |
-
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
-
* It is also available through the world-wide-web at this URL:
|
| 10 |
-
* http://opensource.org/licenses/osl-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 |
* @category LaPoste
|
| 16 |
* @package LaPoste_SoColissimoSimplicite
|
| 17 |
* @copyright Copyright (c) 2010 La Poste
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
* @category LaPoste
|
| 6 |
* @package LaPoste_SoColissimoSimplicite
|
| 7 |
* @copyright Copyright (c) 2010 La Poste
|
app/code/community/LaPoste/SoColissimoSimplicite/Model/Carrier/ShippingMethod.php
CHANGED
|
@@ -1,17 +1,7 @@
|
|
| 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 |
-
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
-
* It is also available through the world-wide-web at this URL:
|
| 10 |
-
* http://opensource.org/licenses/osl-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 |
* @category LaPoste
|
| 16 |
* @package LaPoste_SoColissimoSimplicite
|
| 17 |
* @copyright Copyright (c) 2010 La Poste
|
|
@@ -171,4 +161,15 @@ class LaPoste_SoColissimoSimplicite_Model_Carrier_ShippingMethod
|
|
| 171 |
}
|
| 172 |
return $calculatedPrice;
|
| 173 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 174 |
}
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
* @category LaPoste
|
| 6 |
* @package LaPoste_SoColissimoSimplicite
|
| 7 |
* @copyright Copyright (c) 2010 La Poste
|
| 161 |
}
|
| 162 |
return $calculatedPrice;
|
| 163 |
}
|
| 164 |
+
|
| 165 |
+
/**
|
| 166 |
+
* Getter for carrier code
|
| 167 |
+
* needed for Magento version under 1.4
|
| 168 |
+
*
|
| 169 |
+
* @return string
|
| 170 |
+
*/
|
| 171 |
+
public function getCarrierCode()
|
| 172 |
+
{
|
| 173 |
+
return $this->_code;
|
| 174 |
+
}
|
| 175 |
}
|
app/code/community/LaPoste/SoColissimoSimplicite/Model/Mysql4/Transaction.php
CHANGED
|
@@ -1,17 +1,7 @@
|
|
| 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 |
-
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
-
* It is also available through the world-wide-web at this URL:
|
| 10 |
-
* http://opensource.org/licenses/osl-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 |
* @category LaPoste
|
| 16 |
* @package LaPoste_SoColissimoSimplicite
|
| 17 |
* @copyright Copyright (c) 2010 La Poste
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
* @category LaPoste
|
| 6 |
* @package LaPoste_SoColissimoSimplicite
|
| 7 |
* @copyright Copyright (c) 2010 La Poste
|
app/code/community/LaPoste/SoColissimoSimplicite/Model/Mysql4/Transaction/Collection.php
CHANGED
|
@@ -1,17 +1,7 @@
|
|
| 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 |
-
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
-
* It is also available through the world-wide-web at this URL:
|
| 10 |
-
* http://opensource.org/licenses/osl-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 |
* @category LaPoste
|
| 16 |
* @package LaPoste_SoColissimoSimplicite
|
| 17 |
* @copyright Copyright (c) 2010 La Poste
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
* @category LaPoste
|
| 6 |
* @package LaPoste_SoColissimoSimplicite
|
| 7 |
* @copyright Copyright (c) 2010 La Poste
|
app/code/community/LaPoste/SoColissimoSimplicite/Model/Observer.php
CHANGED
|
@@ -1,17 +1,7 @@
|
|
| 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 |
-
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
-
* It is also available through the world-wide-web at this URL:
|
| 10 |
-
* http://opensource.org/licenses/osl-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 |
* @category LaPoste
|
| 16 |
* @package LaPoste_SoColissimoSimplicite
|
| 17 |
* @copyright Copyright (c) 2010 La Poste
|
|
@@ -94,6 +84,62 @@ class LaPoste_SoColissimoSimplicite_Model_Observer
|
|
| 94 |
}
|
| 95 |
}
|
| 96 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
/**
|
| 98 |
* Met à jour les données sur l'adresse de livraison à partir des
|
| 99 |
* informations retournées par SO Colissimo.
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
* @category LaPoste
|
| 6 |
* @package LaPoste_SoColissimoSimplicite
|
| 7 |
* @copyright Copyright (c) 2010 La Poste
|
| 84 |
}
|
| 85 |
}
|
| 86 |
|
| 87 |
+
/**
|
| 88 |
+
*
|
| 89 |
+
* Sauvegarde les donnees de la commande propre a So Colissimo
|
| 90 |
+
* @param $observer
|
| 91 |
+
*/
|
| 92 |
+
|
| 93 |
+
public function addSocoAttributesToOrder($observer)
|
| 94 |
+
{
|
| 95 |
+
try {
|
| 96 |
+
$checkoutSession = Mage::getSingleton('checkout/session');
|
| 97 |
+
$shippingData = $checkoutSession->getData('socolissimosimplicite_shipping_data');
|
| 98 |
+
|
| 99 |
+
//on ne fait le traitement que si le mode d'expedition est socolissimo (et donc qu'on a recupere les donnees de socolissimo)
|
| 100 |
+
if (isset($shippingData) && count($shippingData) > 0) {
|
| 101 |
+
|
| 102 |
+
if (isset($shippingData['DELIVERYMODE'])) {
|
| 103 |
+
$observer->getEvent()->getOrder()->setSocoProductCode($shippingData['DELIVERYMODE']);
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
if (isset($shippingData['CEDELIVERYINFORMATION'])) {
|
| 107 |
+
$observer->getEvent()->getOrder()->setSocoShippingInstruction($shippingData['CEDELIVERYINFORMATION']);
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
if (isset($shippingData['CEDOORCODE1'])) {
|
| 111 |
+
$observer->getEvent()->getOrder()->setSocoDoorCode1($shippingData['CEDOORCODE1']);
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
if (isset($shippingData['CEDOORCODE2'])) {
|
| 115 |
+
$observer->getEvent()->getOrder()->setSocoDoorCode2($shippingData['CEDOORCODE2']);
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
if (isset($shippingData['CEENTRYPHONE'])) {
|
| 119 |
+
$observer->getEvent()->getOrder()->setSocoInterphone($shippingData['CEENTRYPHONE']);
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
if (isset($shippingData['PRID'])) {
|
| 123 |
+
$observer->getEvent()->getOrder()->setSocoRelayPointCode($shippingData['PRID']);
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
if (isset($shippingData['CECIVILITY'])) {
|
| 127 |
+
$observer->getEvent()->getOrder()->setSocoCivility($shippingData['CECIVILITY']);
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
if (isset($shippingData['CEPHONENUMBER'])) {
|
| 131 |
+
$observer->getEvent()->getOrder()->setSocoPhoneNumber($shippingData['CEPHONENUMBER']);
|
| 132 |
+
}
|
| 133 |
+
|
| 134 |
+
if (isset($shippingData['CEEMAIL'])) {
|
| 135 |
+
$observer->getEvent()->getOrder()->setSocoEmail($shippingData['CEEMAIL']);
|
| 136 |
+
}
|
| 137 |
+
}
|
| 138 |
+
} catch (Exception $e) {
|
| 139 |
+
Mage::Log('Failed to save so-colissimo data : '.print_r($shippingData, true));
|
| 140 |
+
}
|
| 141 |
+
}
|
| 142 |
+
|
| 143 |
/**
|
| 144 |
* Met à jour les données sur l'adresse de livraison à partir des
|
| 145 |
* informations retournées par SO Colissimo.
|
app/code/community/LaPoste/SoColissimoSimplicite/Model/System/Config/Source/Shipping/Amountbasetype.php
CHANGED
|
@@ -1,23 +1,7 @@
|
|
| 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 |
-
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
-
* It is also available through the world-wide-web at this URL:
|
| 10 |
-
* http://opensource.org/licenses/osl-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 LaPoste
|
| 22 |
* @package LaPoste_SoColissimoSimplicite
|
| 23 |
* @copyright Copyright (c) 2010 La Poste
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
* @category LaPoste
|
| 6 |
* @package LaPoste_SoColissimoSimplicite
|
| 7 |
* @copyright Copyright (c) 2010 La Poste
|
app/code/community/LaPoste/SoColissimoSimplicite/Model/Transaction.php
CHANGED
|
@@ -1,17 +1,7 @@
|
|
| 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 |
-
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
-
* It is also available through the world-wide-web at this URL:
|
| 10 |
-
* http://opensource.org/licenses/osl-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 |
* @category LaPoste
|
| 16 |
* @package LaPoste_SoColissimoSimplicite
|
| 17 |
* @copyright Copyright (c) 2010 La Poste
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
* @category LaPoste
|
| 6 |
* @package LaPoste_SoColissimoSimplicite
|
| 7 |
* @copyright Copyright (c) 2010 La Poste
|
app/code/community/LaPoste/SoColissimoSimplicite/controllers/FormController.php
CHANGED
|
@@ -1,17 +1,7 @@
|
|
| 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 |
-
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
-
* It is also available through the world-wide-web at this URL:
|
| 10 |
-
* http://opensource.org/licenses/osl-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 |
* @category LaPoste
|
| 16 |
* @package LaPoste_SoColissimoSimplicite
|
| 17 |
* @copyright Copyright (c) 2010 La Poste
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
* @category LaPoste
|
| 6 |
* @package LaPoste_SoColissimoSimplicite
|
| 7 |
* @copyright Copyright (c) 2010 La Poste
|
app/code/community/LaPoste/SoColissimoSimplicite/etc/config.xml
CHANGED
|
@@ -1,18 +1,8 @@
|
|
| 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 |
-
* that is bundled with this package in the file LICENSE.txt.
|
| 10 |
-
* It is also available through the world-wide-web at this URL:
|
| 11 |
-
* http://opensource.org/licenses/osl-3.0.php
|
| 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 |
* @category LaPoste
|
| 17 |
* @package LaPoste_SoColissimoSimplicite
|
| 18 |
* @copyright Copyright (c) 2010 La Poste
|
|
@@ -23,7 +13,7 @@
|
|
| 23 |
<config>
|
| 24 |
<modules>
|
| 25 |
<LaPoste_SoColissimoSimplicite>
|
| 26 |
-
<version>1.0.
|
| 27 |
</LaPoste_SoColissimoSimplicite>
|
| 28 |
</modules>
|
| 29 |
|
|
@@ -58,6 +48,7 @@
|
|
| 58 |
<socolissimosimplicite_setup>
|
| 59 |
<setup>
|
| 60 |
<module>LaPoste_SoColissimoSimplicite</module>
|
|
|
|
| 61 |
</setup>
|
| 62 |
<connection>
|
| 63 |
<use>core_setup</use>
|
|
@@ -126,6 +117,15 @@
|
|
| 126 |
</laposte_socolissimosimplicite_observer>
|
| 127 |
</observers>
|
| 128 |
</checkout_onepage_controller_success_action>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 129 |
</events>
|
| 130 |
</frontend>
|
| 131 |
|
|
@@ -144,6 +144,8 @@
|
|
| 144 |
<active_service_is_available>1</active_service_is_available>
|
| 145 |
<url_service_is_available>http://ws.colissimo.fr/supervision-pudo/supervision.jsp</url_service_is_available>
|
| 146 |
<not_available_message>La plateforme technique So Colissimo est temporairement indisponible. Votre commande sera livrée à l'adresse de livraison que vous venez d'indiquer.</not_available_message>
|
|
|
|
|
|
|
| 147 |
<model>LaPoste_SoColissimoSimplicite_Model_Carrier_ShippingMethod</model>
|
| 148 |
<mapprefix>
|
| 149 |
<![CDATA[
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<!--
|
| 3 |
/**
|
| 4 |
+
* LaPoste_SoColissimoSimplicite
|
| 5 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
* @category LaPoste
|
| 7 |
* @package LaPoste_SoColissimoSimplicite
|
| 8 |
* @copyright Copyright (c) 2010 La Poste
|
| 13 |
<config>
|
| 14 |
<modules>
|
| 15 |
<LaPoste_SoColissimoSimplicite>
|
| 16 |
+
<version>1.0.7</version>
|
| 17 |
</LaPoste_SoColissimoSimplicite>
|
| 18 |
</modules>
|
| 19 |
|
| 48 |
<socolissimosimplicite_setup>
|
| 49 |
<setup>
|
| 50 |
<module>LaPoste_SoColissimoSimplicite</module>
|
| 51 |
+
<class>Mage_Sales_Model_Mysql4_Setup</class>
|
| 52 |
</setup>
|
| 53 |
<connection>
|
| 54 |
<use>core_setup</use>
|
| 117 |
</laposte_socolissimosimplicite_observer>
|
| 118 |
</observers>
|
| 119 |
</checkout_onepage_controller_success_action>
|
| 120 |
+
<checkout_type_onepage_save_order>
|
| 121 |
+
<observers>
|
| 122 |
+
<laposte_socolissimosimplicite_observer>
|
| 123 |
+
<type>singleton</type>
|
| 124 |
+
<class>socolissimosimplicite/observer</class>
|
| 125 |
+
<method>addSocoAttributesToOrder</method>
|
| 126 |
+
</laposte_socolissimosimplicite_observer>
|
| 127 |
+
</observers>
|
| 128 |
+
</checkout_type_onepage_save_order>
|
| 129 |
</events>
|
| 130 |
</frontend>
|
| 131 |
|
| 144 |
<active_service_is_available>1</active_service_is_available>
|
| 145 |
<url_service_is_available>http://ws.colissimo.fr/supervision-pudo/supervision.jsp</url_service_is_available>
|
| 146 |
<not_available_message>La plateforme technique So Colissimo est temporairement indisponible. Votre commande sera livrée à l'adresse de livraison que vous venez d'indiquer.</not_available_message>
|
| 147 |
+
<specificcountry>FR</specificcountry>
|
| 148 |
+
<sallowspecific>1</sallowspecific>
|
| 149 |
<model>LaPoste_SoColissimoSimplicite_Model_Carrier_ShippingMethod</model>
|
| 150 |
<mapprefix>
|
| 151 |
<![CDATA[
|
app/code/community/LaPoste/SoColissimoSimplicite/etc/system.xml
CHANGED
|
@@ -1,139 +1,131 @@
|
|
| 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 |
-
* that is bundled with this package in the file LICENSE.txt.
|
| 10 |
-
* It is also available through the world-wide-web at this URL:
|
| 11 |
-
* http://opensource.org/licenses/osl-3.0.php
|
| 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 |
* @category LaPoste
|
| 17 |
* @package LaPoste_SoColissimoSimplicite
|
| 18 |
-
* @copyright Copyright (c) 2010
|
| 19 |
* @author Smile (http://www.smile.fr)
|
| 20 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 21 |
*/
|
| 22 |
-->
|
| 23 |
<config>
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
<sort_order>100</sort_order>
|
| 31 |
<show_in_default>1</show_in_default>
|
| 32 |
<show_in_website>1</show_in_website>
|
| 33 |
<show_in_store>1</show_in_store>
|
| 34 |
<fields>
|
| 35 |
<active translate="label">
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
<title translate="label">
|
| 45 |
<label>Nom du transporteur</label>
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
</title>
|
| 51 |
<name translate="label">
|
| 52 |
<label>Nom du mode de livraison</label>
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
</name>
|
| 58 |
<selectmessage translate="label">
|
| 59 |
<label>Message lors de la sélection du mode de livraison</label>
|
| 60 |
<frontend_type>textarea</frontend_type>
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
</selectmessage>
|
| 66 |
<redirectmessage translate="label">
|
| 67 |
<label>Message lors de la redirection vers So Colissimo</label>
|
| 68 |
<frontend_type>textarea</frontend_type>
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
</redirectmessage>
|
| 74 |
<account translate="label">
|
| 75 |
<label>Identifiant FO</label>
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
</account>
|
| 81 |
<encryption_key translate="label">
|
| 82 |
<label>Clé de cryptage</label>
|
| 83 |
<frontend_type>text</frontend_type>
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
</encryption_key>
|
| 89 |
<url_fo translate="label">
|
| 90 |
<label>URL de passerelle</label>
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
</url_fo>
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
|
|
|
| 120 |
<amountbasetype translate="label">
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
|
|
|
| 130 |
<label>Calcul des frais de livraison</label>
|
| 131 |
<frontend_type>textarea</frontend_type>
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
<![CDATA[
|
| 138 |
Si <strong>tarif unique</strong>, indiquer le montant (sans devise) ;<br />
|
| 139 |
Si <strong>tarif selon le poids</strong>,
|
|
@@ -147,28 +139,59 @@
|
|
| 147 |
Le tarif est appliqué pour un montant supérieur ou égal au montant correspondant.<br />
|
| 148 |
Exemple de conditions tarifaires selon le montant : <pre>{"0":"3","50":"5","100":"8","250":"0"}</pre>
|
| 149 |
]]>
|
| 150 |
-
|
| 151 |
</amountcalculation>
|
| 152 |
<minquotepriceforfree translate="label">
|
| 153 |
<label>Livraison offerte à partir de (en €)</label>
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
|
|
|
| 159 |
</minquotepriceforfree>
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 174 |
</config>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
+
<!--
|
| 3 |
/**
|
| 4 |
+
* LaPoste_SoColissimoSimplicite
|
| 5 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
* @category LaPoste
|
| 7 |
* @package LaPoste_SoColissimoSimplicite
|
| 8 |
+
* @copyright Copyright (c) 2010 La Poste
|
| 9 |
* @author Smile (http://www.smile.fr)
|
| 10 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 11 |
*/
|
| 12 |
-->
|
| 13 |
<config>
|
| 14 |
+
<sections>
|
| 15 |
+
<carriers>
|
| 16 |
+
<groups>
|
| 17 |
+
<socolissimosimplicite>
|
| 18 |
+
<label>So Colissimo</label>
|
| 19 |
+
<frontend_type>text</frontend_type>
|
| 20 |
<sort_order>100</sort_order>
|
| 21 |
<show_in_default>1</show_in_default>
|
| 22 |
<show_in_website>1</show_in_website>
|
| 23 |
<show_in_store>1</show_in_store>
|
| 24 |
<fields>
|
| 25 |
<active translate="label">
|
| 26 |
+
<label>Activé</label>
|
| 27 |
+
<frontend_type>select</frontend_type>
|
| 28 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 29 |
+
<sort_order>10</sort_order>
|
| 30 |
+
<show_in_default>1</show_in_default>
|
| 31 |
+
<show_in_website>1</show_in_website>
|
| 32 |
+
<show_in_store>1</show_in_store>
|
| 33 |
+
</active>
|
| 34 |
<title translate="label">
|
| 35 |
<label>Nom du transporteur</label>
|
| 36 |
+
<sort_order>20</sort_order>
|
| 37 |
+
<show_in_default>1</show_in_default>
|
| 38 |
+
<show_in_website>1</show_in_website>
|
| 39 |
+
<show_in_store>1</show_in_store>
|
| 40 |
</title>
|
| 41 |
<name translate="label">
|
| 42 |
<label>Nom du mode de livraison</label>
|
| 43 |
+
<sort_order>30</sort_order>
|
| 44 |
+
<show_in_default>1</show_in_default>
|
| 45 |
+
<show_in_website>1</show_in_website>
|
| 46 |
+
<show_in_store>1</show_in_store>
|
| 47 |
</name>
|
| 48 |
<selectmessage translate="label">
|
| 49 |
<label>Message lors de la sélection du mode de livraison</label>
|
| 50 |
<frontend_type>textarea</frontend_type>
|
| 51 |
+
<sort_order>31</sort_order>
|
| 52 |
+
<show_in_default>1</show_in_default>
|
| 53 |
+
<show_in_website>1</show_in_website>
|
| 54 |
+
<show_in_store>1</show_in_store>
|
| 55 |
</selectmessage>
|
| 56 |
<redirectmessage translate="label">
|
| 57 |
<label>Message lors de la redirection vers So Colissimo</label>
|
| 58 |
<frontend_type>textarea</frontend_type>
|
| 59 |
+
<sort_order>32</sort_order>
|
| 60 |
+
<show_in_default>1</show_in_default>
|
| 61 |
+
<show_in_website>1</show_in_website>
|
| 62 |
+
<show_in_store>1</show_in_store>
|
| 63 |
</redirectmessage>
|
| 64 |
<account translate="label">
|
| 65 |
<label>Identifiant FO</label>
|
| 66 |
+
<sort_order>40</sort_order>
|
| 67 |
+
<show_in_default>1</show_in_default>
|
| 68 |
+
<show_in_website>1</show_in_website>
|
| 69 |
+
<show_in_store>1</show_in_store>
|
| 70 |
</account>
|
| 71 |
<encryption_key translate="label">
|
| 72 |
<label>Clé de cryptage</label>
|
| 73 |
<frontend_type>text</frontend_type>
|
| 74 |
+
<sort_order>50</sort_order>
|
| 75 |
+
<show_in_default>1</show_in_default>
|
| 76 |
+
<show_in_website>1</show_in_website>
|
| 77 |
+
<show_in_store>1</show_in_store>
|
| 78 |
</encryption_key>
|
| 79 |
<url_fo translate="label">
|
| 80 |
<label>URL de passerelle</label>
|
| 81 |
+
<sort_order>60</sort_order>
|
| 82 |
+
<show_in_default>1</show_in_default>
|
| 83 |
+
<show_in_website>1</show_in_website>
|
| 84 |
+
<show_in_store>1</show_in_store>
|
| 85 |
</url_fo>
|
| 86 |
+
<active_service_is_available
|
| 87 |
+
translate="label">
|
| 88 |
+
<label>Activer la vérification de la disponibilité</label>
|
| 89 |
+
<frontend_type>select</frontend_type>
|
| 90 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 91 |
+
<sort_order>61</sort_order>
|
| 92 |
+
<show_in_default>1</show_in_default>
|
| 93 |
+
<show_in_website>1</show_in_website>
|
| 94 |
+
<show_in_store>1</show_in_store>
|
| 95 |
+
</active_service_is_available>
|
| 96 |
+
<url_service_is_available translate="label">
|
| 97 |
+
<label>URL de vérification de la disponibilité</label>
|
| 98 |
+
<sort_order>62</sort_order>
|
| 99 |
+
<show_in_default>1</show_in_default>
|
| 100 |
+
<show_in_website>1</show_in_website>
|
| 101 |
+
<show_in_store>1</show_in_store>
|
| 102 |
+
</url_service_is_available>
|
| 103 |
+
<not_available_message translate="label">
|
| 104 |
+
<label>Message en cas d'indisponibilité de la plateforme</label>
|
| 105 |
+
<frontend_type>textarea</frontend_type>
|
| 106 |
+
<sort_order>63</sort_order>
|
| 107 |
+
<show_in_default>1</show_in_default>
|
| 108 |
+
<show_in_website>1</show_in_website>
|
| 109 |
+
<show_in_store>1</show_in_store>
|
| 110 |
+
</not_available_message>
|
| 111 |
<amountbasetype translate="label">
|
| 112 |
+
<label>Type des frais de livraison</label>
|
| 113 |
+
<frontend_type>select</frontend_type>
|
| 114 |
+
<source_model>socolissimosimplicite/system_config_source_shipping_amountbasetype
|
| 115 |
+
</source_model>
|
| 116 |
+
<sort_order>70</sort_order>
|
| 117 |
+
<show_in_default>1</show_in_default>
|
| 118 |
+
<show_in_website>1</show_in_website>
|
| 119 |
+
<show_in_store>1</show_in_store>
|
| 120 |
+
</amountbasetype>
|
| 121 |
+
<amountcalculation translate="label">
|
| 122 |
<label>Calcul des frais de livraison</label>
|
| 123 |
<frontend_type>textarea</frontend_type>
|
| 124 |
+
<sort_order>80</sort_order>
|
| 125 |
+
<show_in_default>1</show_in_default>
|
| 126 |
+
<show_in_website>1</show_in_website>
|
| 127 |
+
<show_in_store>1</show_in_store>
|
| 128 |
+
<comment>
|
| 129 |
<![CDATA[
|
| 130 |
Si <strong>tarif unique</strong>, indiquer le montant (sans devise) ;<br />
|
| 131 |
Si <strong>tarif selon le poids</strong>,
|
| 139 |
Le tarif est appliqué pour un montant supérieur ou égal au montant correspondant.<br />
|
| 140 |
Exemple de conditions tarifaires selon le montant : <pre>{"0":"3","50":"5","100":"8","250":"0"}</pre>
|
| 141 |
]]>
|
| 142 |
+
</comment>
|
| 143 |
</amountcalculation>
|
| 144 |
<minquotepriceforfree translate="label">
|
| 145 |
<label>Livraison offerte à partir de (en €)</label>
|
| 146 |
+
<sort_order>90</sort_order>
|
| 147 |
+
<show_in_default>1</show_in_default>
|
| 148 |
+
<show_in_website>1</show_in_website>
|
| 149 |
+
<show_in_store>1</show_in_store>
|
| 150 |
+
<comment>Laisser vide pour ne pas offrir les frais de livraison
|
| 151 |
+
</comment>
|
| 152 |
</minquotepriceforfree>
|
| 153 |
+
<shipoutofhomeenabled translate="label">
|
| 154 |
+
<label>Points de retrait hors-domicile proposés</label>
|
| 155 |
+
<frontend_type>select</frontend_type>
|
| 156 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 157 |
+
<sort_order>100</sort_order>
|
| 158 |
+
<show_in_default>0</show_in_default>
|
| 159 |
+
<show_in_website>0</show_in_website>
|
| 160 |
+
<show_in_store>0</show_in_store>
|
| 161 |
+
</shipoutofhomeenabled>
|
| 162 |
+
<sort_order translate="label">
|
| 163 |
+
<label>Sort Order</label>
|
| 164 |
+
<frontend_type>text</frontend_type>
|
| 165 |
+
<sort_order>200</sort_order>
|
| 166 |
+
<show_in_default>1</show_in_default>
|
| 167 |
+
<show_in_website>1</show_in_website>
|
| 168 |
+
<show_in_store>0</show_in_store>
|
| 169 |
+
</sort_order>
|
| 170 |
+
<sallowspecific translate="label">
|
| 171 |
+
<label>Ship to Applicable Countries</label>
|
| 172 |
+
<frontend_type>select</frontend_type>
|
| 173 |
+
<sort_order>190</sort_order>
|
| 174 |
+
<frontend_class>shipping-applicable-country</frontend_class>
|
| 175 |
+
<source_model>adminhtml/system_config_source_shipping_allspecificcountries
|
| 176 |
+
</source_model>
|
| 177 |
+
<show_in_default>1</show_in_default>
|
| 178 |
+
<show_in_website>1</show_in_website>
|
| 179 |
+
<show_in_store>0</show_in_store>
|
| 180 |
+
</sallowspecific>
|
| 181 |
+
<specificcountry translate="label">
|
| 182 |
+
<label>Ship to Specific Countries</label>
|
| 183 |
+
<frontend_type>multiselect</frontend_type>
|
| 184 |
+
<sort_order>191</sort_order>
|
| 185 |
+
<source_model>adminhtml/system_config_source_country
|
| 186 |
+
</source_model>
|
| 187 |
+
<show_in_default>1</show_in_default>
|
| 188 |
+
<show_in_website>1</show_in_website>
|
| 189 |
+
<show_in_store>0</show_in_store>
|
| 190 |
+
<can_be_empty>1</can_be_empty>
|
| 191 |
+
</specificcountry>
|
| 192 |
+
</fields>
|
| 193 |
+
</socolissimosimplicite>
|
| 194 |
+
</groups>
|
| 195 |
+
</carriers>
|
| 196 |
+
</sections>
|
| 197 |
</config>
|
app/code/community/LaPoste/SoColissimoSimplicite/sql/socolissimosimplicite_setup/mysql4-install-1.0.0.php
CHANGED
|
@@ -1,23 +1,7 @@
|
|
| 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 |
-
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
-
* It is also available through the world-wide-web at this URL:
|
| 10 |
-
* http://opensource.org/licenses/osl-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 LaPoste
|
| 22 |
* @package LaPoste_SoColissimoSimplicite
|
| 23 |
* @copyright Copyright (c) 2010 La Poste
|
|
@@ -42,7 +26,7 @@ CREATE TABLE {$this->getTable('laposte_socolissimosimplicite_transaction')} (
|
|
| 42 |
PRIMARY KEY (`transaction_id`),
|
| 43 |
KEY `FK_laposte_socolissimosimplicite_transaction_QUOTE_ID` (`quote_id`),
|
| 44 |
CONSTRAINT `FK_laposte_socolissimosimplicite_transaction_QUOTE_ID` FOREIGN KEY (`quote_id`) REFERENCES `{$this->getTable('sales_flat_quote')}` (`entity_id`) ON DELETE CASCADE ON UPDATE CASCADE
|
| 45 |
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='colissimo transations';
|
| 46 |
|
| 47 |
-- transaction_id doit contenir entre 5 et 16 caractères
|
| 48 |
ALTER TABLE {$this->getTable('laposte_socolissimosimplicite_transaction')} AUTO_INCREMENT = 10000;
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
* @category LaPoste
|
| 6 |
* @package LaPoste_SoColissimoSimplicite
|
| 7 |
* @copyright Copyright (c) 2010 La Poste
|
| 26 |
PRIMARY KEY (`transaction_id`),
|
| 27 |
KEY `FK_laposte_socolissimosimplicite_transaction_QUOTE_ID` (`quote_id`),
|
| 28 |
CONSTRAINT `FK_laposte_socolissimosimplicite_transaction_QUOTE_ID` FOREIGN KEY (`quote_id`) REFERENCES `{$this->getTable('sales_flat_quote')}` (`entity_id`) ON DELETE CASCADE ON UPDATE CASCADE
|
| 29 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT = 10000 COMMENT='colissimo transations';
|
| 30 |
|
| 31 |
-- transaction_id doit contenir entre 5 et 16 caractères
|
| 32 |
ALTER TABLE {$this->getTable('laposte_socolissimosimplicite_transaction')} AUTO_INCREMENT = 10000;
|
app/code/community/LaPoste/SoColissimoSimplicite/sql/socolissimosimplicite_setup/mysql4-upgrade-1.0.6-1.0.7.php
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
| 5 |
+
* @category LaPoste
|
| 6 |
+
* @package LaPoste_SoColissimoSimplicite
|
| 7 |
+
* @copyright Copyright (c) 2010 La Poste
|
| 8 |
+
* @author Smile (http://www.smile.fr)
|
| 9 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 10 |
+
*/
|
| 11 |
+
|
| 12 |
+
$installer = $this;
|
| 13 |
+
$installer->startSetup();
|
| 14 |
+
|
| 15 |
+
$this->removeAttribute('order', 'soco_product_code');
|
| 16 |
+
$this->removeAttribute('order', 'soco_shipping_instruction');
|
| 17 |
+
$this->removeAttribute('order', 'soco_door_code1');
|
| 18 |
+
$this->removeAttribute('order', 'soco_door_code2');
|
| 19 |
+
$this->removeAttribute('order', 'soco_interphone');
|
| 20 |
+
$this->removeAttribute('order', 'soco_relay_point_code');
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
$this->addAttribute('order', 'soco_product_code', array(
|
| 24 |
+
'type' => 'varchar',
|
| 25 |
+
'label' => 'Code produit So Colissimo',
|
| 26 |
+
'visible' => true,
|
| 27 |
+
'required' => false,
|
| 28 |
+
'input' => 'text',
|
| 29 |
+
));
|
| 30 |
+
|
| 31 |
+
$this->addAttribute('order', 'soco_shipping_instruction', array(
|
| 32 |
+
'type' => 'varchar',
|
| 33 |
+
'label' => 'Instructions de livraison So Colissimo',
|
| 34 |
+
'visible' => true,
|
| 35 |
+
'required' => false,
|
| 36 |
+
'input' => 'text',
|
| 37 |
+
));
|
| 38 |
+
|
| 39 |
+
$this->addAttribute('order', 'soco_door_code1', array(
|
| 40 |
+
'type' => 'varchar',
|
| 41 |
+
'label' => 'Code porte 1 So Colissimo',
|
| 42 |
+
'visible' => true,
|
| 43 |
+
'required' => false,
|
| 44 |
+
'input' => 'text',
|
| 45 |
+
));
|
| 46 |
+
|
| 47 |
+
$this->addAttribute('order', 'soco_door_code2', array(
|
| 48 |
+
'type' => 'varchar',
|
| 49 |
+
'label' => 'Code porte 2 So Colissimo',
|
| 50 |
+
'visible' => true,
|
| 51 |
+
'required' => false,
|
| 52 |
+
'input' => 'text',
|
| 53 |
+
));
|
| 54 |
+
|
| 55 |
+
$this->addAttribute('order', 'soco_interphone', array(
|
| 56 |
+
'type' => 'varchar',
|
| 57 |
+
'label' => 'Interphone So Colissimo',
|
| 58 |
+
'visible' => true,
|
| 59 |
+
'required' => false,
|
| 60 |
+
'input' => 'text',
|
| 61 |
+
));
|
| 62 |
+
|
| 63 |
+
$this->addAttribute('order', 'soco_relay_point_code', array(
|
| 64 |
+
'type' => 'varchar',
|
| 65 |
+
'label' => 'Code du point de retrait So Colissimo',
|
| 66 |
+
'visible' => true,
|
| 67 |
+
'required' => false,
|
| 68 |
+
'input' => 'text',
|
| 69 |
+
));
|
| 70 |
+
|
| 71 |
+
$this->addAttribute('order', 'soco_civility', array(
|
| 72 |
+
'type' => 'varchar',
|
| 73 |
+
'label' => 'Civilité',
|
| 74 |
+
'visible' => true,
|
| 75 |
+
'required' => false,
|
| 76 |
+
'input' => 'text',
|
| 77 |
+
));
|
| 78 |
+
|
| 79 |
+
$this->addAttribute('order', 'soco_phone_number', array(
|
| 80 |
+
'type' => 'varchar',
|
| 81 |
+
'label' => 'Numéro de portable',
|
| 82 |
+
'visible' => true,
|
| 83 |
+
'required' => false,
|
| 84 |
+
'input' => 'text',
|
| 85 |
+
));
|
| 86 |
+
|
| 87 |
+
$this->addAttribute('order', 'soco_email', array(
|
| 88 |
+
'type' => 'varchar',
|
| 89 |
+
'label' => 'E-mail du destinataire',
|
| 90 |
+
'visible' => true,
|
| 91 |
+
'required' => false,
|
| 92 |
+
'input' => 'text',
|
| 93 |
+
));
|
| 94 |
+
|
| 95 |
+
$installer->endSetup();
|
app/design/frontend/default/default/layout/socolissimosimplicite.xml
CHANGED
|
@@ -1,23 +1,13 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<!--
|
| 3 |
/**
|
| 4 |
-
*
|
| 5 |
-
*
|
| 6 |
-
*
|
| 7 |
-
*
|
| 8 |
-
* This source file is subject to the Academic Free License (AFL 3.0)
|
| 9 |
-
* that is bundled with this package in the file LICENSE_AFL.txt.
|
| 10 |
-
* It is also available through the world-wide-web at this URL:
|
| 11 |
-
* http://opensource.org/licenses/afl-3.0.php
|
| 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 |
-
* @category design
|
| 17 |
-
* @package default_default
|
| 18 |
* @copyright Copyright (c) 2010 La Poste
|
| 19 |
* @author Smile (http://www.smile.fr)
|
| 20 |
-
* @license http://opensource.org/licenses/
|
| 21 |
*/
|
| 22 |
|
| 23 |
-->
|
|
@@ -63,7 +53,7 @@
|
|
| 63 |
|
| 64 |
<socolissimosimplicite_form_send>
|
| 65 |
<reference name="root">
|
| 66 |
-
<action method="setTemplate"><template>
|
| 67 |
</reference>
|
| 68 |
<reference name="content">
|
| 69 |
<block type="socolissimosimplicite/form" name="form.socolissimosimplicite" template="socolissimosimplicite/form.phtml" />
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<!--
|
| 3 |
/**
|
| 4 |
+
* LaPoste_SoColissimoSimplicite
|
| 5 |
+
*
|
| 6 |
+
* @category LaPoste
|
| 7 |
+
* @package LaPoste_SoColissimoSimplicite
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
* @copyright Copyright (c) 2010 La Poste
|
| 9 |
* @author Smile (http://www.smile.fr)
|
| 10 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 11 |
*/
|
| 12 |
|
| 13 |
-->
|
| 53 |
|
| 54 |
<socolissimosimplicite_form_send>
|
| 55 |
<reference name="root">
|
| 56 |
+
<action method="setTemplate"><template>socolissimosimplicite/empty.phtml</template></action>
|
| 57 |
</reference>
|
| 58 |
<reference name="content">
|
| 59 |
<block type="socolissimosimplicite/form" name="form.socolissimosimplicite" template="socolissimosimplicite/form.phtml" />
|
app/design/frontend/default/default/template/socolissimosimplicite/empty.phtml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
| 5 |
+
* @category LaPoste
|
| 6 |
+
* @package LaPoste_SoColissimoSimplicite
|
| 7 |
+
* @copyright Copyright (c) 2010 La Poste
|
| 8 |
+
* @author Smile (http://www.smile.fr)
|
| 9 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 10 |
+
*/
|
| 11 |
+
?>
|
| 12 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
| 13 |
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
|
| 14 |
+
<head>
|
| 15 |
+
<?php echo $this->getChildHtml('head') ?>
|
| 16 |
+
</head>
|
| 17 |
+
<body class="page-empty <?php echo $this->getBodyClass()?$this->getBodyClass():'' ?>">
|
| 18 |
+
<div>
|
| 19 |
+
<?php echo $this->getChildHtml('after_body_start') ?>
|
| 20 |
+
<?php echo $this->getChildHtml('global_messages') ?>
|
| 21 |
+
<?php echo $this->getChildHtml('content') ?>
|
| 22 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
| 23 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
| 24 |
+
</div>
|
| 25 |
+
</body>
|
| 26 |
+
</html>
|
app/design/frontend/default/default/template/socolissimosimplicite/form.phtml
CHANGED
|
@@ -1,17 +1,7 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
*
|
| 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 |
* @category LaPoste
|
| 16 |
* @package LaPoste_SoColissimoSimplicite
|
| 17 |
* @copyright Copyright (c) 2010 La Poste
|
|
@@ -27,7 +17,6 @@ $_helper = $this->helper('socolissimosimplicite');
|
|
| 27 |
<?php if($this->getRedirectMessage()): ?>
|
| 28 |
<h3><?php echo $this->getRedirectMessage(); ?></h3>
|
| 29 |
<?php endif;?>
|
| 30 |
-
|
| 31 |
<form name="socolissimosimpliciteform" action="<?php echo $this->getUrlFoWithReturnUrlKo(); ?>" method="post">
|
| 32 |
|
| 33 |
<input type="hidden" name="pudoFOId" value="<?php echo $this->getAccountID(); ?>" />
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
* @category LaPoste
|
| 6 |
* @package LaPoste_SoColissimoSimplicite
|
| 7 |
* @copyright Copyright (c) 2010 La Poste
|
| 17 |
<?php if($this->getRedirectMessage()): ?>
|
| 18 |
<h3><?php echo $this->getRedirectMessage(); ?></h3>
|
| 19 |
<?php endif;?>
|
|
|
|
| 20 |
<form name="socolissimosimpliciteform" action="<?php echo $this->getUrlFoWithReturnUrlKo(); ?>" method="post">
|
| 21 |
|
| 22 |
<input type="hidden" name="pudoFOId" value="<?php echo $this->getAccountID(); ?>" />
|
app/design/frontend/default/default/template/socolissimosimplicite/form/failure.phtml
CHANGED
|
@@ -1,17 +1,7 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
*
|
| 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 |
* @category LaPoste
|
| 16 |
* @package LaPoste_SoColissimoSimplicite
|
| 17 |
* @copyright Copyright (c) 2010 La Poste
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
* @category LaPoste
|
| 6 |
* @package LaPoste_SoColissimoSimplicite
|
| 7 |
* @copyright Copyright (c) 2010 La Poste
|
app/design/frontend/default/default/template/socolissimosimplicite/onepage/shipping_method.phtml
CHANGED
|
@@ -1,17 +1,7 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
*
|
| 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 |
* @category LaPoste
|
| 16 |
* @package LaPoste_SoColissimoSimplicite
|
| 17 |
* @copyright Copyright (c) 2010 La Poste
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
* @category LaPoste
|
| 6 |
* @package LaPoste_SoColissimoSimplicite
|
| 7 |
* @copyright Copyright (c) 2010 La Poste
|
app/design/frontend/default/default/template/socolissimosimplicite/onepage/shipping_method/available.phtml
CHANGED
|
@@ -1,22 +1,12 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
*
|
| 4 |
-
*
|
| 5 |
-
*
|
| 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 |
-
* @category design
|
| 16 |
-
* @package default_default
|
| 17 |
* @copyright Copyright (c) 2010 La Poste
|
| 18 |
* @author Smile (http://www.smile.fr)
|
| 19 |
-
* @license http://opensource.org/licenses/
|
| 20 |
*/
|
| 21 |
?>
|
| 22 |
<?php if (!($_shippingRateGroups = $this->getShippingRates())): ?>
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
| 5 |
+
* @category LaPoste
|
| 6 |
+
* @package LaPoste_SoColissimoSimplicite
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
* @copyright Copyright (c) 2010 La Poste
|
| 8 |
* @author Smile (http://www.smile.fr)
|
| 9 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 10 |
*/
|
| 11 |
?>
|
| 12 |
<?php if (!($_shippingRateGroups = $this->getShippingRates())): ?>
|
app/design/frontend/default/default/template/socolissimosimplicite/onepage/shipping_method/available/default.phtml
CHANGED
|
@@ -1,22 +1,12 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
*
|
| 4 |
-
*
|
| 5 |
-
*
|
| 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 |
-
* @category design
|
| 16 |
-
* @package default_default
|
| 17 |
* @copyright Copyright (c) 2010 La Poste
|
| 18 |
* @author Smile (http://www.smile.fr)
|
| 19 |
-
* @license http://opensource.org/licenses/
|
| 20 |
*/
|
| 21 |
?>
|
| 22 |
<?php $_rate = $this->getRate() ?>
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
| 5 |
+
* @category LaPoste
|
| 6 |
+
* @package LaPoste_SoColissimoSimplicite
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
* @copyright Copyright (c) 2010 La Poste
|
| 8 |
* @author Smile (http://www.smile.fr)
|
| 9 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 10 |
*/
|
| 11 |
?>
|
| 12 |
<?php $_rate = $this->getRate() ?>
|
app/design/frontend/default/default/template/socolissimosimplicite/onepage/shipping_method/available/socolissimosimplicite.phtml
CHANGED
|
@@ -1,22 +1,12 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
*
|
| 4 |
-
*
|
| 5 |
-
*
|
| 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 |
-
* @category design
|
| 16 |
-
* @package default_default
|
| 17 |
* @copyright Copyright (c) 2010 La Poste
|
| 18 |
* @author Smile (http://www.smile.fr)
|
| 19 |
-
* @license http://opensource.org/licenses/
|
| 20 |
*/
|
| 21 |
?>
|
| 22 |
<?php
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* LaPoste_SoColissimoSimplicite
|
| 4 |
+
*
|
| 5 |
+
* @category LaPoste
|
| 6 |
+
* @package LaPoste_SoColissimoSimplicite
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
* @copyright Copyright (c) 2010 La Poste
|
| 8 |
* @author Smile (http://www.smile.fr)
|
| 9 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 10 |
*/
|
| 11 |
?>
|
| 12 |
<?php
|
app/etc/modules/LaPoste_SoColissimoSimplicite.xml
CHANGED
|
@@ -1,23 +1,13 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<!--
|
| 3 |
/**
|
| 4 |
-
*
|
| 5 |
-
*
|
| 6 |
-
* NOTICE OF LICENSE
|
| 7 |
-
*
|
| 8 |
-
* This source file is subject to the Academic Free License (AFL 3.0)
|
| 9 |
-
* that is bundled with this package in the file LICENSE_AFL.txt.
|
| 10 |
-
* It is also available through the world-wide-web at this URL:
|
| 11 |
-
* http://opensource.org/licenses/afl-3.0.php
|
| 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 |
* @category LaPoste
|
| 17 |
* @package LaPoste_SoColissimoSimplicite
|
| 18 |
-
* @copyright Copyright (c) 2010
|
| 19 |
* @author Smile (http://www.smile.fr)
|
| 20 |
-
* @license http://opensource.org/licenses/
|
| 21 |
*/
|
| 22 |
-->
|
| 23 |
<config>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<!--
|
| 3 |
/**
|
| 4 |
+
* LaPoste_SoColissimoSimplicite
|
| 5 |
+
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
* @category LaPoste
|
| 7 |
* @package LaPoste_SoColissimoSimplicite
|
| 8 |
+
* @copyright Copyright (c) 2010 La Poste
|
| 9 |
* @author Smile (http://www.smile.fr)
|
| 10 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 11 |
*/
|
| 12 |
-->
|
| 13 |
<config>
|
package.xml
CHANGED
|
@@ -1,14 +1,16 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>ColiPoste_La_Poste_So_Colissimo</name>
|
| 4 |
-
<version>1.0.
|
| 5 |
<stability>stable</stability>
|
| 6 |
-
<license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Extension officielle permettant de proposer le mode de livraison So Colissimo de La Poste / ColisPoste</summary>
|
| 10 |
<description><p>Cette extension officielle permet de proposer &agrave; vos clients le mode de livraison So Colissimo.</p>
|
|
|
|
| 11 |
<p>So Colissimo offre <strong>le choix parmi 5 solutions de livraison</strong> et un<strong> grand r&eacute;seau de points de retraits</strong>, partout en France m&eacute;tropolitaine pour toutes vos commandes en ligne :</p>
|
|
|
|
| 12 |
<ul>
|
| 13 |
<li>mon domicile : livraison &agrave; l'adresse de votre choix, entre 8h et 13h.</li>
|
| 14 |
<li>mon rendez-vous : livraison sur rendez-vous entre 17h et 21h30 &agrave; l'adresse de votre choix.</li>
|
|
@@ -16,13 +18,15 @@
|
|
| 16 |
<li>mon bureau de poste : livraison dans l'un des 10.000 bureaux de poste de votre choix. </li>
|
| 17 |
<li>mon commer&ccedil;ant : livraison chez l'un des nombreux commer&ccedil;ants de notre r&eacute;seau partenaire.</li>
|
| 18 |
</ul>
|
|
|
|
| 19 |
<p>Test&eacute; et valid&eacute; sur Magento CE 1.4.1.1, PE 1.8, EE 1.8 et EE 1.9.</p>
|
|
|
|
| 20 |
<p>R&eacute;alisation par Smile.</p></description>
|
| 21 |
<notes>Lire le manuel d'installation</notes>
|
| 22 |
<authors><author><name>Berlioz</name><user>auto-converted</user><email>Aline.BERLIOZ@laposte.fr</email></author></authors>
|
| 23 |
-
<date>
|
| 24 |
-
<time>09:
|
| 25 |
-
<contents><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="socolissimosimplicite.xml" hash="
|
| 26 |
<compatible/>
|
| 27 |
<dependencies/>
|
| 28 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>ColiPoste_La_Poste_So_Colissimo</name>
|
| 4 |
+
<version>1.0.7</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
+
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Extension officielle permettant de proposer le mode de livraison So Colissimo de La Poste / ColisPoste</summary>
|
| 10 |
<description><p>Cette extension officielle permet de proposer &agrave; vos clients le mode de livraison So Colissimo.</p>
|
| 11 |
+
|
| 12 |
<p>So Colissimo offre <strong>le choix parmi 5 solutions de livraison</strong> et un<strong> grand r&eacute;seau de points de retraits</strong>, partout en France m&eacute;tropolitaine pour toutes vos commandes en ligne :</p>
|
| 13 |
+
|
| 14 |
<ul>
|
| 15 |
<li>mon domicile : livraison &agrave; l'adresse de votre choix, entre 8h et 13h.</li>
|
| 16 |
<li>mon rendez-vous : livraison sur rendez-vous entre 17h et 21h30 &agrave; l'adresse de votre choix.</li>
|
| 18 |
<li>mon bureau de poste : livraison dans l'un des 10.000 bureaux de poste de votre choix. </li>
|
| 19 |
<li>mon commer&ccedil;ant : livraison chez l'un des nombreux commer&ccedil;ants de notre r&eacute;seau partenaire.</li>
|
| 20 |
</ul>
|
| 21 |
+
|
| 22 |
<p>Test&eacute; et valid&eacute; sur Magento CE 1.4.1.1, PE 1.8, EE 1.8 et EE 1.9.</p>
|
| 23 |
+
|
| 24 |
<p>R&eacute;alisation par Smile.</p></description>
|
| 25 |
<notes>Lire le manuel d'installation</notes>
|
| 26 |
<authors><author><name>Berlioz</name><user>auto-converted</user><email>Aline.BERLIOZ@laposte.fr</email></author></authors>
|
| 27 |
+
<date>2011-01-03</date>
|
| 28 |
+
<time>11:09:06</time>
|
| 29 |
+
<contents><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="socolissimosimplicite.xml" hash="ecb0d6e12eec4606a54b12e421e9ff72"/></dir><dir name="template"><dir name="socolissimosimplicite"><dir name="form"><file name="failure.phtml" hash="b0692966e1ed1e32d31ad676ccd3dcba"/></dir><dir name="onepage"><dir name="shipping_method"><dir name="available"><file name="default.phtml" hash="2f84bc01d0599cfe27ef03a4c2813795"/><file name="socolissimosimplicite.phtml" hash="642ba70f2faa328f7e3afc10ab3876ec"/></dir><file name="available.phtml" hash="11bdd8dccf385d4f84294da58a36ea2a"/></dir><file name="shipping_method.phtml" hash="180da1c16cff34b3d180d96720bde6f9"/></dir><file name="empty.phtml" hash="01e4359097f904f0caa50d7175d1fa3c"/><file name="form.phtml" hash="b9879cff328ee1d0151c2ccbb396524d"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="LaPoste_SoColissimoSimplicite.csv" hash="3b2a032525266c476fd3aec64aa81730"/></dir></target><target name="magecommunity"><dir name="LaPoste"><dir name="SoColissimoSimplicite"><dir name="Block"><dir name="Onepage"><dir name="Shipping"><dir name="Method"><dir name="Available"><file name="Item.php" hash="f53ff832b868363db948d30d66d317bc"/></dir><file name="Available.php" hash="06902ff1276c5500be2e1307c66293ce"/></dir></dir></dir><file name="Form.php" hash="62d752e713c5be1b25beabe8faa6eb2b"/><file name="Onepage.php" hash="5e69262d3c0fdf58d8ff64e7486afd9c"/></dir><dir name="controllers"><file name="FormController.php" hash="2eb7a48d3467a2ef5908a59f229b5530"/></dir><dir name="etc"><file name="config.xml" hash="fdc2ca62fa8e18222ae196353fe13b4f"/><file name="system.xml" hash="5f36300e1a679a837e23bcfa8022649a"/></dir><dir name="Helper"><file name="Data.php" hash="6f7b606d84d252187bed6e6ddb305b98"/></dir><dir name="Model"><dir name="Carrier"><file name="ShippingMethod.php" hash="3987dee10c0e61ccac36e3963eadc6b8"/></dir><dir name="Mysql4"><dir name="Transaction"><file name="Collection.php" hash="fbafc008503e549ee706d5b2410ac06e"/></dir><file name="Transaction.php" hash="6ed69152ebb4531dad115528d169b80c"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Shipping"><file name="Amountbasetype.php" hash="e355e929e174930f8a5aa2a2c1b68614"/></dir></dir></dir></dir><file name="Observer.php" hash="a7d5b1a27901349879ee1e85db1888d6"/><file name="Transaction.php" hash="b5c468478a0046c66f87d079a5df8616"/></dir><dir name="sql"><dir name="socolissimosimplicite_setup"><file name="mysql4-install-1.0.0.php" hash="552988034e08c618086f4a5d88f52d18"/><file name="mysql4-upgrade-1.0.6-1.0.7.php" hash="35274eda01ecae46c80a177a7eafeb29"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="LaPoste_SoColissimoSimplicite.xml" hash="b95ad07dda6ce0fb25d6ece5750d0f0d"/></dir></target></contents>
|
| 30 |
<compatible/>
|
| 31 |
<dependencies/>
|
| 32 |
</package>
|
