Rees46_Personalization - Version 4.2.0

Version Notes

Fixed product data for tracking

Download this release

Release Info

Developer REES46
Extension Rees46_Personalization
Version 4.2.0
Comparing to
See all releases


Code changes from version 4.1.1 to 4.2.0

app/code/community/Rees46/Personalization/Model/Observer.php CHANGED
@@ -80,22 +80,9 @@ class Rees46_Personalization_Model_Observer
80
  * @return array
81
  */
82
  private function _prepareCommonProductInfo(Mage_Catalog_Model_Product $product) {
83
- $images = $product->getMediaGalleryImages();
84
-
85
- if($images && $images->count() > 0) {
86
- $image = $images->getFirstItem()->getUrl();
87
- } else {
88
- $image = null;
89
- }
90
-
91
  return array(
92
  'id' => $product->getId(),
93
  'stock' => $product->isAvailable(),
94
- 'price' => $product->getSpecialPrice() ? $product->getSpecialPrice() : $product->getPrice(),
95
- 'name' => $product->getName(),
96
- 'categories' => implode(',', $product->getCategoryIds()),
97
- 'image' => $image,
98
- 'url' => $product->getProductUrl(false),
99
  );
100
  }
101
  }
80
  * @return array
81
  */
82
  private function _prepareCommonProductInfo(Mage_Catalog_Model_Product $product) {
 
 
 
 
 
 
 
 
83
  return array(
84
  'id' => $product->getId(),
85
  'stock' => $product->isAvailable(),
 
 
 
 
 
86
  );
87
  }
88
  }
app/code/community/Rees46/Personalization/etc/config.xml CHANGED
@@ -7,7 +7,7 @@
7
  <config>
8
  <modules>
9
  <Rees46_Personalization>
10
- <version>4.1.1</version>
11
  </Rees46_Personalization>
12
  </modules>
13
  <global>
7
  <config>
8
  <modules>
9
  <Rees46_Personalization>
10
+ <version>4.2.0</version>
11
  </Rees46_Personalization>
12
  </modules>
13
  <global>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Rees46_Personalization</name>
4
- <version>4.1.1</version>
5
  <stability>stable</stability>
6
  <license>GNU</license>
7
  <channel>community</channel>
@@ -16,11 +16,11 @@ Convert your visitors into customers using personalized product recommendations
16
  Recover abandoned carts using triggered emails, web push notifications and remarketing.&#xD;
17
  Induce repeat purchases through digest emails and push notifications with individual selections of recommended products.&#xD;
18
  Gain customer feedback, product and store reviews to improve your store credibility and merchant reputation. </description>
19
- <notes>Added localisations: french, german, finnish, italian, portuguese, swedish</notes>
20
  <authors><author><name>REES46</name><user>mkechinov</user><email>kechinoff@gmail.com</email></author><author><name>REES46</name><user>p0v1n0m</user><email>ay@rees46.com</email></author></authors>
21
- <date>2017-03-30</date>
22
- <time>18:04:09</time>
23
- <contents><target name="magecommunity"><dir name="Rees46"><dir name="Personalization"><dir name="Helper"><file name="Admin.php" hash="a01aceaba456186604b779c5920cafe9"/><file name="Data.php" hash="4896d769e47ba5c0896d0c8b2e7ec92d"/><file name="Event.php" hash="c50e9b22f08a3251602a3372d2622b65"/></dir><dir name="Model"><file name="Observer.php" hash="14f3fae00e741ffbaa6a9842a642d5c9"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="PersonalizationController.php" hash="b3ddd3bb3a8acc4df0034f1dc681b952"/></dir><file name="BlockController.php" hash="b393c157296eb4ffd52af2e69eeac4bc"/></dir><dir name="etc"><file name="adminhtml.xml" hash="051c97f0c45ce97134344590f930cd73"/><file name="config.xml" hash="cbd7e2745e80ff69470781fb391d8d52"/><file name="system.xml" hash="7d2293a79736ee4ffa30151cfd4ba28d"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="rees46_personalization.xml" hash="682bbcffec8a0933d64ef2910fc52bb0"/></dir><dir name="template"><dir name="rees46"><dir name="personalization"><file name="index.phtml" hash="f09eeb4522c3b5095591697fa92803af"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="rees46_personalization.xml" hash="ec585005bed91c3f5204122d6a9dcbc5"/></dir><dir name="template"><dir name="rees46"><dir name="personalization"><file name="init.phtml" hash="717be6d0b3d8aa5eec26a58c0ab13432"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Rees46_Personalization.xml" hash="7b0cf94d20b8263561e8b63cf52d22ae"/></dir></target><target name="magelocale"><dir><dir name="de_DE"><file name="Rees46_Personalization.csv" hash="2e2d1d84a165965c5f935ec0b165efb9"/></dir><dir name="en_US"><file name="Rees46_Personalization.csv" hash="eb3790f608f01c384916cc2660820987"/></dir><dir name="es_ES"><file name="Rees46_Personalization.csv" hash="4637871b513318c9dad974677ccec649"/></dir><dir name="fi_FI"><file name="Rees46_Personalization.csv" hash="6d22c1974b7b95ab00ede29d8a72637a"/></dir><dir name="fr_FR"><file name="Rees46_Personalization.csv" hash="16260bf2014d994a68f66f07b816f4ac"/></dir><dir name="it_IT"><file name="Rees46_Personalization.csv" hash="87835f4b09d7c6b6799ba8a0b34ea4d4"/></dir><dir name="pt_PT"><file name="Rees46_Personalization.csv" hash="05eae7af68e37f20ca4b7ed695b41a2b"/></dir><dir name="ru_RU"><file name="Rees46_Personalization.csv" hash="022b43e549a584556d1a68ea7901d7b9"/></dir><dir name="sv_SE"><file name="Rees46_Personalization.csv" hash="c5fc79888c10a9ce1a65b169a2a6313e"/></dir></dir></target></contents>
24
  <compatible/>
25
  <dependencies><required><php><min>5.2.1</min><max>6.0.0</max></php></required></dependencies>
26
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Rees46_Personalization</name>
4
+ <version>4.2.0</version>
5
  <stability>stable</stability>
6
  <license>GNU</license>
7
  <channel>community</channel>
16
  Recover abandoned carts using triggered emails, web push notifications and remarketing.&#xD;
17
  Induce repeat purchases through digest emails and push notifications with individual selections of recommended products.&#xD;
18
  Gain customer feedback, product and store reviews to improve your store credibility and merchant reputation. </description>
19
+ <notes>Fixed product data for tracking</notes>
20
  <authors><author><name>REES46</name><user>mkechinov</user><email>kechinoff@gmail.com</email></author><author><name>REES46</name><user>p0v1n0m</user><email>ay@rees46.com</email></author></authors>
21
+ <date>2017-04-04</date>
22
+ <time>16:16:08</time>
23
+ <contents><target name="magecommunity"><dir name="Rees46"><dir name="Personalization"><dir name="Helper"><file name="Admin.php" hash="a01aceaba456186604b779c5920cafe9"/><file name="Data.php" hash="4896d769e47ba5c0896d0c8b2e7ec92d"/><file name="Event.php" hash="c50e9b22f08a3251602a3372d2622b65"/></dir><dir name="Model"><file name="Observer.php" hash="21d8b84dad94e44aa78135395d5878f0"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="PersonalizationController.php" hash="b3ddd3bb3a8acc4df0034f1dc681b952"/></dir><file name="BlockController.php" hash="b393c157296eb4ffd52af2e69eeac4bc"/></dir><dir name="etc"><file name="adminhtml.xml" hash="051c97f0c45ce97134344590f930cd73"/><file name="config.xml" hash="fd5bcfbfe5de292fd0630e9b761a4514"/><file name="system.xml" hash="7d2293a79736ee4ffa30151cfd4ba28d"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="rees46_personalization.xml" hash="682bbcffec8a0933d64ef2910fc52bb0"/></dir><dir name="template"><dir name="rees46"><dir name="personalization"><file name="index.phtml" hash="f09eeb4522c3b5095591697fa92803af"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="rees46_personalization.xml" hash="ec585005bed91c3f5204122d6a9dcbc5"/></dir><dir name="template"><dir name="rees46"><dir name="personalization"><file name="init.phtml" hash="717be6d0b3d8aa5eec26a58c0ab13432"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Rees46_Personalization.xml" hash="7b0cf94d20b8263561e8b63cf52d22ae"/></dir></target><target name="magelocale"><dir><dir name="de_DE"><file name="Rees46_Personalization.csv" hash="2e2d1d84a165965c5f935ec0b165efb9"/></dir><dir name="en_US"><file name="Rees46_Personalization.csv" hash="eb3790f608f01c384916cc2660820987"/></dir><dir name="es_ES"><file name="Rees46_Personalization.csv" hash="4637871b513318c9dad974677ccec649"/></dir><dir name="fi_FI"><file name="Rees46_Personalization.csv" hash="6d22c1974b7b95ab00ede29d8a72637a"/></dir><dir name="fr_FR"><file name="Rees46_Personalization.csv" hash="16260bf2014d994a68f66f07b816f4ac"/></dir><dir name="it_IT"><file name="Rees46_Personalization.csv" hash="87835f4b09d7c6b6799ba8a0b34ea4d4"/></dir><dir name="pt_PT"><file name="Rees46_Personalization.csv" hash="05eae7af68e37f20ca4b7ed695b41a2b"/></dir><dir name="ru_RU"><file name="Rees46_Personalization.csv" hash="022b43e549a584556d1a68ea7901d7b9"/></dir><dir name="sv_SE"><file name="Rees46_Personalization.csv" hash="c5fc79888c10a9ce1a65b169a2a6313e"/></dir></dir></target></contents>
24
  <compatible/>
25
  <dependencies><required><php><min>5.2.1</min><max>6.0.0</max></php></required></dependencies>
26
  </package>