Version Notes
Improvements:
- Fixed a bug in version 2.1.0 throwing an error when syncing a checkout of a guest.
Download this release
Release Info
| Developer | Cream |
| Extension | Copernica_MarketingSoftware |
| Version | 2.1.0.1 |
| Comparing to | |
| See all releases | |
Code changes from version 2.1.0 to 2.1.0.1
- app/code/community/Copernica/MarketingSoftware/Helper/Data.php +6 -4
- app/code/community/Copernica/MarketingSoftware/Model/Copernica/Profile.php +18 -8
- app/code/community/Copernica/MarketingSoftware/Model/Copernica/Profileorder.php +0 -11
- app/code/community/Copernica/MarketingSoftware/Model/Copernica/Profilesubscription.php +0 -10
- package.xml +5 -10
app/code/community/Copernica/MarketingSoftware/Helper/Data.php
CHANGED
|
@@ -154,8 +154,9 @@ class Copernica_MarketingSoftware_Helper_Data extends Mage_Core_Helper_Abstract
|
|
| 154 |
}
|
| 155 |
|
| 156 |
/**
|
| 157 |
-
*
|
| 158 |
-
*
|
|
|
|
| 159 |
*/
|
| 160 |
public function getExtensionVersion()
|
| 161 |
{
|
|
@@ -165,8 +166,9 @@ class Copernica_MarketingSoftware_Helper_Data extends Mage_Core_Helper_Abstract
|
|
| 165 |
}
|
| 166 |
|
| 167 |
/**
|
| 168 |
-
*
|
| 169 |
-
*
|
|
|
|
| 170 |
*/
|
| 171 |
public function checkNewVersion()
|
| 172 |
{
|
| 154 |
}
|
| 155 |
|
| 156 |
/**
|
| 157 |
+
* Get the version of this extension.
|
| 158 |
+
*
|
| 159 |
+
* @return string version number
|
| 160 |
*/
|
| 161 |
public function getExtensionVersion()
|
| 162 |
{
|
| 166 |
}
|
| 167 |
|
| 168 |
/**
|
| 169 |
+
* Check if there is a new version of the extension.
|
| 170 |
+
*
|
| 171 |
+
* @return boolean|Strubg Either false or the version number
|
| 172 |
*/
|
| 173 |
public function checkNewVersion()
|
| 174 |
{
|
app/code/community/Copernica/MarketingSoftware/Model/Copernica/Profile.php
CHANGED
|
@@ -1,21 +1,21 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Copernica Marketing Software
|
| 4 |
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the Open Software License (OSL 3.0).
|
| 8 |
* It is available through the world-wide-web at this URL:
|
| 9 |
* http://opensource.org/licenses/osl-3.0.php
|
| 10 |
-
* If you are unable to obtain a copy of the license through the
|
| 11 |
-
* world-wide-web, please send an email to copernica@support.cream.nl
|
| 12 |
* so we can send you a copy immediately.
|
| 13 |
*
|
| 14 |
* DISCLAIMER
|
| 15 |
*
|
| 16 |
-
* Do not edit or add to this file if you wish to upgrade this software
|
| 17 |
-
* to newer versions in the future. If you wish to customize this module
|
| 18 |
-
* for your needs please refer to http://www.magento.com/ for more
|
| 19 |
* information.
|
| 20 |
*
|
| 21 |
* @category Copernica
|
|
@@ -29,7 +29,7 @@
|
|
| 29 |
*/
|
| 30 |
abstract class Copernica_MarketingSoftware_Model_Copernica_Profile extends Copernica_MarketingSoftware_Model_Copernica_Abstract
|
| 31 |
{
|
| 32 |
-
/**
|
| 33 |
* Return the identifier for this profile
|
| 34 |
* @return string
|
| 35 |
*/
|
|
@@ -37,7 +37,17 @@ abstract class Copernica_MarketingSoftware_Model_Copernica_Profile extends Coper
|
|
| 37 |
{
|
| 38 |
return $this['customer_id'];
|
| 39 |
}
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
/**
|
| 42 |
* Get linked fields
|
| 43 |
* @return array
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* Copernica Marketing Software
|
| 4 |
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the Open Software License (OSL 3.0).
|
| 8 |
* It is available through the world-wide-web at this URL:
|
| 9 |
* http://opensource.org/licenses/osl-3.0.php
|
| 10 |
+
* If you are unable to obtain a copy of the license through the
|
| 11 |
+
* world-wide-web, please send an email to copernica@support.cream.nl
|
| 12 |
* so we can send you a copy immediately.
|
| 13 |
*
|
| 14 |
* DISCLAIMER
|
| 15 |
*
|
| 16 |
+
* Do not edit or add to this file if you wish to upgrade this software
|
| 17 |
+
* to newer versions in the future. If you wish to customize this module
|
| 18 |
+
* for your needs please refer to http://www.magento.com/ for more
|
| 19 |
* information.
|
| 20 |
*
|
| 21 |
* @category Copernica
|
| 29 |
*/
|
| 30 |
abstract class Copernica_MarketingSoftware_Model_Copernica_Profile extends Copernica_MarketingSoftware_Model_Copernica_Abstract
|
| 31 |
{
|
| 32 |
+
/**
|
| 33 |
* Return the identifier for this profile
|
| 34 |
* @return string
|
| 35 |
*/
|
| 37 |
{
|
| 38 |
return $this['customer_id'];
|
| 39 |
}
|
| 40 |
+
|
| 41 |
+
/**
|
| 42 |
+
* Fallback method for profile objects not having this method.
|
| 43 |
+
*
|
| 44 |
+
* @return string
|
| 45 |
+
*/
|
| 46 |
+
public function originalId()
|
| 47 |
+
{
|
| 48 |
+
return $this->id();
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
/**
|
| 52 |
* Get linked fields
|
| 53 |
* @return array
|
app/code/community/Copernica/MarketingSoftware/Model/Copernica/Profileorder.php
CHANGED
|
@@ -45,17 +45,6 @@ class Copernica_MarketingSoftware_Model_Copernica_ProfileOrder extends Copernica
|
|
| 45 |
return $this;
|
| 46 |
}
|
| 47 |
|
| 48 |
-
/**
|
| 49 |
-
* Returns customer_id based on the original (previous) email, if possible.
|
| 50 |
-
* Falls back on the customer_id using the current email.
|
| 51 |
-
*
|
| 52 |
-
* @return string
|
| 53 |
-
*/
|
| 54 |
-
public function originalId()
|
| 55 |
-
{
|
| 56 |
-
return $this->id();
|
| 57 |
-
}
|
| 58 |
-
|
| 59 |
/**
|
| 60 |
* Retrieve the data for this object
|
| 61 |
* @return array
|
| 45 |
return $this;
|
| 46 |
}
|
| 47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
/**
|
| 49 |
* Retrieve the data for this object
|
| 50 |
* @return array
|
app/code/community/Copernica/MarketingSoftware/Model/Copernica/Profilesubscription.php
CHANGED
|
@@ -46,16 +46,6 @@ class Copernica_MarketingSoftware_Model_Copernica_ProfileSubscription extends Co
|
|
| 46 |
return $this;
|
| 47 |
}
|
| 48 |
|
| 49 |
-
/**
|
| 50 |
-
* Return the original identifier for this profile
|
| 51 |
-
*
|
| 52 |
-
* @return string
|
| 53 |
-
*/
|
| 54 |
-
public function originalId()
|
| 55 |
-
{
|
| 56 |
-
return $this->id();
|
| 57 |
-
}
|
| 58 |
-
|
| 59 |
/**
|
| 60 |
* Retrieve the data for this object.
|
| 61 |
*
|
| 46 |
return $this;
|
| 47 |
}
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
/**
|
| 50 |
* Retrieve the data for this object.
|
| 51 |
*
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Copernica_MarketingSoftware</name>
|
| 4 |
-
<version>2.1.0</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -11,16 +11,11 @@
|
|
| 11 |

|
| 12 |
Please note that this extension does not work with PHP 5.4.X. and should be run with the Magento system requirements in mind.</description>
|
| 13 |
<notes>Improvements:
|
| 14 |
-
-
|
| 15 |
-
- Added the special price in the product XML.
|
| 16 |
-
- The product XML will return the product information from the specified storeview.
|
| 17 |
-
- When a customer changes his/her e-mail address it will change the profile in Copernica and not create a new one. 
|
| 18 |
-
- When createing a database the storeview field in Copernica is automatically set to 100 characters
|
| 19 |
-
- Added a header for SOAP requests.</notes>
|
| 20 |
<authors><author><name>Cream</name><user>creaminternet</user><email>info@cream.nl</email></author></authors>
|
| 21 |
-
<date>2013-02-
|
| 22 |
-
<time>
|
| 23 |
-
<contents><target name="magecommunity"><dir name="Copernica"><dir name="MarketingSoftware"><dir name="Block"><dir name="Adminhtml"><dir name="Marketingsoftware"><file name="Export.php" hash="bdf5b3c9f54b61c297abacebb21bd9e4"/><file name="Link.php" hash="3d3116a9cc0e30bd7988bc01cd731dda"/><file name="Settings.php" hash="89e6626dce0b1cc218967a75a23b50c8"/></dir></dir></dir><dir name="Helper"><file name="Api.php" hash="c814c64cd137d64e6b7b25b403b2871e"/><file name="Config.php" hash="fa1284a6b72c63b295a1fb44e735cfea"/><file name="Data.php" hash="
|
| 24 |
<compatible/>
|
| 25 |
<dependencies><required><php><min>5.2.0</min><max>5.3.21</max></php><extension><name>soap</name><min></min><max></max></extension></required></dependencies>
|
| 26 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Copernica_MarketingSoftware</name>
|
| 4 |
+
<version>2.1.0.1</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
|
| 7 |
<channel>community</channel>
|
| 11 |

|
| 12 |
Please note that this extension does not work with PHP 5.4.X. and should be run with the Magento system requirements in mind.</description>
|
| 13 |
<notes>Improvements:
|
| 14 |
+
- Fixed a bug in version 2.1.0 throwing an error when syncing a checkout of a guest.</notes>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
<authors><author><name>Cream</name><user>creaminternet</user><email>info@cream.nl</email></author></authors>
|
| 16 |
+
<date>2013-02-20</date>
|
| 17 |
+
<time>19:27:26</time>
|
| 18 |
+
<contents><target name="magecommunity"><dir name="Copernica"><dir name="MarketingSoftware"><dir name="Block"><dir name="Adminhtml"><dir name="Marketingsoftware"><file name="Export.php" hash="bdf5b3c9f54b61c297abacebb21bd9e4"/><file name="Link.php" hash="3d3116a9cc0e30bd7988bc01cd731dda"/><file name="Settings.php" hash="89e6626dce0b1cc218967a75a23b50c8"/></dir></dir></dir><dir name="Helper"><file name="Api.php" hash="c814c64cd137d64e6b7b25b403b2871e"/><file name="Config.php" hash="fa1284a6b72c63b295a1fb44e735cfea"/><file name="Data.php" hash="727d8ea36a0946f0152e39536c6ed424"/></dir><dir name="Model"><dir name="Abstraction"><file name="Address.php" hash="0e6d94c15174bf177082f832bdd51f63"/><file name="Attributes.php" hash="196c089955b59b3eac85f127911d117a"/><file name="Customer.php" hash="d182b846cfc5975bf34e910c76af5fc6"/><file name="Name.php" hash="b291754d976ff55642bace1bf79780d8"/><dir name="Order"><dir name="Item"><file name="Options.php" hash="2cbba6a9575ba4cbcaef757e17c8040f"/></dir><file name="Item.php" hash="e6913df33122a058393836c8f89ded65"/></dir><file name="Order.php" hash="7f09861d1448fa7b43e0a207ed0c378f"/><file name="Price.php" hash="fcf88d59cb807d54a867894c63fb7464"/><file name="Product.php" hash="d8915988159bc62b187fe9cfbb276466"/><dir name="Quote"><dir name="Item"><file name="Options.php" hash="8e14fa0d99a871bac8f7486834c8f619"/></dir><file name="Item.php" hash="fde269ab77497786c6d9dcacb8a1df22"/></dir><file name="Quote.php" hash="cdc53d2a92394d80cc0f75c9ee15f687"/><file name="Storeview.php" hash="c2b18ed89b7d703435e49cbe78e9f7e1"/><file name="Subscription.php" hash="b6cd6526f2073019ab34f8cc4ec14abc"/><file name="readme.txt" hash="d450b7fa3d88b6a5c2b5efa526d17077"/></dir><file name="AsyncPomSoapClient.php" hash="6da9a420ed1c142e461f54a7ac0d375b"/><file name="Config.php" hash="88d2334013bb1c0f479fd615dbcb27e0"/><dir name="Copernica"><file name="Abstract.php" hash="59aaf8f767295d5c7e6424d6c9e19723"/><dir name="Address"><file name="Subprofile.php" hash="23367765c877ea7968c6b5d58cc21ea9"/></dir><dir name="Cartitem"><file name="Subprofile.php" hash="f1cbc895e80218538d9dd9aa3a610e3f"/></dir><dir name="Order"><file name="Subprofile.php" hash="ab7fff6418b7b0c75db39c2a88265c5f"/></dir><dir name="Orderitem"><file name="Subprofile.php" hash="6379471f6a420a0d1ea06724c4d860f9"/></dir><file name="Profile.php" hash="2c20adfb68dbcec5601ac20b6635230c"/><file name="Profilecustomer.php" hash="bc693d552ebfd7f29c2a020e16cc03c6"/><file name="Profileorder.php" hash="7b6dc38fa41f7e003784acc73f108d12"/><file name="Profilequote.php" hash="68b3c54c13323fb8f4b4275a72e2ef01"/><file name="Profilesubscription.php" hash="6fc13dedf8ca954cc6843f5b050be9aa"/></dir><file name="Error.php" hash="f7b5a53518d72b081cb0ec50cde1056d"/><file name="Marketingsoftware.php" hash="b32e95ab2aaa34325d0f425100840830"/><dir name="Mysql4"><dir name="Config"><file name="Collection.php" hash="08cf25c2e554c123e97c1ad2f4622eb0"/></dir><file name="Config.php" hash="45beeedbd3f663c2a17157e1a096b131"/><dir name="Queue"><file name="Collection.php" hash="27f34b6af428741aca1040f96cdf7756"/></dir><file name="Queue.php" hash="6bc3ae61a6ba74a5ec926891bbc66099"/></dir><file name="Observer.php" hash="29c76f0eb8ce43eba393004e282f3eef"/><file name="PomSoapClient.php" hash="77c6e2490b381f207ad57c1d27de844a"/><file name="Queue.php" hash="6754f2df037380e6cded42e1642bb8de"/><dir name="QueueEvent"><file name="Abstract.php" hash="df759a3fdd38a31d7ac77c750b40e73f"/><file name="CustomerAdd.php" hash="fdebc7f4f368682af1e08b10421efbe7"/><file name="CustomerFull.php" hash="0f76283508b6f112fc1996d196525a33"/><file name="CustomerModify.php" hash="cc7764a5eb8d6674116cb466792aba5d"/><file name="CustomerRemove.php" hash="8127f5a21912c6b694d9ee1c679fe9f2"/><file name="Factory.php" hash="f8b00661dabb545f93e9e9d7823dbdb3"/><file name="OrderAdd.php" hash="504614d9808ea4473071324ae5221a72"/><file name="OrderModify.php" hash="f5bc8b25cf4bbc9d21d202657a119c01"/><file name="QuoteItem.php" hash="b2dec310c8964a7c1aecc5e81f01d0bd"/><file name="QuoteItemAdd.php" hash="ee09dfb74b1310a9df4f5e2c6d5b0104"/><file name="QuoteItemModify.php" hash="0df6ad182697b481196f9f0c46771f31"/><file name="QuoteItemRemove.php" hash="13096313ccbeff6d8ca1c098b8355cd4"/><file name="QuoteModify.php" hash="8e443feba3fa0693ea898fae36206920"/><file name="StartSync.php" hash="2692107edf6e9772bea60e36c50da7ac"/><file name="SubscriptionAdd.php" hash="e84030df0a7ba39d7ce967f96d0086b6"/><file name="SubscriptionModify.php" hash="acb0a3bcab9529386b2c45b2cd487ac4"/><file name="SubscriptionRemove.php" hash="7286d621debd6c1217e823e816fc0680"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Marketingsoftware"><file name="ExportController.php" hash="292acb089445cff2c00b627942589059"/><file name="LinkController.php" hash="63423b5d92722367d846e3e6e3a92d71"/><file name="SettingsController.php" hash="c84d4f89b7557212ad9e283540db5157"/></dir></dir><file name="ProductController.php" hash="87e1046e82fae37daf7abecff6ec60c8"/><file name="UnsubscribeController.php" hash="c92556ae8dc002c132adff23e728c11a"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d3d434a47e118dfdd69cd32b01b83f9f"/><file name="config.xml" hash="979683f4f5513dd0eb6aaf9511abfb1d"/></dir><dir name="sql"><dir name="marketingsoftware_setup"><file name="mysql4-install-1.2.0.php" hash="edaa8a4c29da5a0bb4f5c06e92c4a6e5"/><file name="mysql4-upgrade-1.1.5-1.1.6.php" hash="4902356c13309b6415e1a61c3fcc805c"/><file name="mysql4-upgrade-1.1.6-1.1.7.php" hash="1bfa357933494cbded4c32f4d1d0a45c"/><file name="mysql4-upgrade-1.1.7-1.1.8.php" hash="860e3ce11771bd8e6f7c755f2afa8805"/><file name="mysql4-upgrade-1.1.8-1.2.0.php" hash="42db3d71333deb7430cdbbafb56e80c1"/><file name="mysql4-upgrade-2.0.1-2.0.2.php" hash="5374760e8bee6edb033475cd0cf8fd0a"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Copernica_MarketingSoftware.xml" hash="04c9e69139dbff42d829bad22fa2ab85"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="marketingsoftware"><file name="export.phtml" hash="4a3783aac318f5683060bc9119893989"/><file name="link.phtml" hash="390b6e5a5e0b2ac35b886eaa9f4e437e"/><file name="settings.phtml" hash="7497c7d74e93797f455d5b47a846bf82"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="copernica"><dir name="marketingsoftware"><file name="collection.js" hash="260f06a4e891df402e145bec4d15bc51"/><file name="database.js" hash="4e51925d1fedd36a203c625050fb9b07"/><file name="field.js" hash="c4f98de6a9c210c626db36730485b853"/></dir></dir></dir></target></contents>
|
| 19 |
<compatible/>
|
| 20 |
<dependencies><required><php><min>5.2.0</min><max>5.3.21</max></php><extension><name>soap</name><min></min><max></max></extension></required></dependencies>
|
| 21 |
</package>
|
