Hic_Integration - Version 1.1.9

Version Notes

--added quantity to transaction and transaction line items

Download this release

Release Info

Developer HiConversion
Extension Hic_Integration
Version 1.1.9
Comparing to
See all releases


Code changes from version 1.1.8 to 1.1.9

app/code/community/Hic/Integration/Model/Data.php CHANGED
@@ -82,7 +82,7 @@ class Hic_Integration_Model_Data extends Varien_Object
82
  // request item information from product collection catalog
83
  $collection = Mage::getResourceModel('catalog/product_collection')
84
  ->addFieldToFilter('entity_id', array('in' => $productIds ))
85
- ->addAttributeToSelect(array('name','description','sku'));
86
  $count = 0;
87
 
88
  foreach ($collection as $product) {
@@ -100,7 +100,8 @@ class Hic_Integration_Model_Data extends Varien_Object
100
  $info['id'] = $product->getId();
101
  $info['url'] = $product->getProductUrl();
102
  $info['nm'] = $product->getName();
103
- $info['img'] = $product->getImageUrl();
 
104
  $info['sku'] = $product->getSku();
105
  $info['cat'] = $this->_getCategoryNames($product);
106
  $data[] = $info;
@@ -304,9 +305,10 @@ class Hic_Integration_Model_Data extends Varien_Object
304
  $data['cat'] = $this->_getCategoryNames($product);
305
  $data['id'] = $product->getId();
306
  $data['nm'] = $product->getName();
 
307
  $data['url'] = $product->getProductUrl();
308
  $data['sku'] = $product->getSku();
309
- $data['bpr'] = $product->getPrice();
310
  $data['img'] = Mage::getBaseUrl('media')
311
  . self::CATALOG_URL . $product->getImage();
312
  $this->setProduct($data);
82
  // request item information from product collection catalog
83
  $collection = Mage::getResourceModel('catalog/product_collection')
84
  ->addFieldToFilter('entity_id', array('in' => $productIds ))
85
+ ->addAttributeToSelect(array('name','description','sku','image'));
86
  $count = 0;
87
 
88
  foreach ($collection as $product) {
100
  $info['id'] = $product->getId();
101
  $info['url'] = $product->getProductUrl();
102
  $info['nm'] = $product->getName();
103
+ $info['img'] = Mage::getBaseUrl('media')
104
+ . self::CATALOG_URL . $product->getImage();
105
  $info['sku'] = $product->getSku();
106
  $info['cat'] = $this->_getCategoryNames($product);
107
  $data[] = $info;
305
  $data['cat'] = $this->_getCategoryNames($product);
306
  $data['id'] = $product->getId();
307
  $data['nm'] = $product->getName();
308
+ $data['desc'] = strip_tags($product->getDescription());
309
  $data['url'] = $product->getProductUrl();
310
  $data['sku'] = $product->getSku();
311
+ $data['bpr'] = (float)$product->getPrice();
312
  $data['img'] = Mage::getBaseUrl('media')
313
  . self::CATALOG_URL . $product->getImage();
314
  $this->setProduct($data);
app/design/frontend/base/default/template/hic/headAlways.phtml CHANGED
@@ -27,7 +27,7 @@ $helper = $this->helper('integration');
27
  var __hic = __hic || {};
28
  (function(){
29
  try {
30
- __hic.version = "1.1.8";
31
  __hic.data = __hic.data || {};
32
  __hic.data.platform = "magento";
33
  __hic.data.pid = "<?php echo $helper->getSiteId(); ?>";
27
  var __hic = __hic || {};
28
  (function(){
29
  try {
30
+ __hic.version = "1.1.9";
31
  __hic.data = __hic.data || {};
32
  __hic.data.platform = "magento";
33
  __hic.data.pid = "<?php echo $helper->getSiteId(); ?>";
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Hic_Integration</name>
4
- <version>1.1.8</version>
5
  <stability>stable</stability>
6
  <license>MIT</license>
7
  <channel>community</channel>
@@ -14,9 +14,9 @@ Data Capture: We productized our knowledge about the types of data collected by
14
  Customer Experience Optimization: The second role for the extension is to enable client-side testing, targeting, personalization, and customer experience optimization. To minimize technical complexity and IT dependency, we provide a visual designer tool that enables you to visually provision your optimization campaigns. The visual designs are then translated into lines of code that are transparently executed by the visitor&#x2019;s browser during the web page rendering process.</description>
15
  <notes>--added quantity to transaction and transaction line items</notes>
16
  <authors><author><name>HiConversion</name><user>hiconversion</user><email>dhenrickson@hiconversion.com</email></author></authors>
17
- <date>2015-12-07</date>
18
- <time>23:00:18</time>
19
- <contents><target name="magecommunity"><dir name="Hic"><dir name="Integration"><dir name="Block"><file name="Tag.php" hash="f78bcbe4f6ca77a1d5ba9915f00a00e9"/></dir><dir name="Helper"><file name="Data.php" hash="56e60fd9bf55cbbaf4e7770f717c665b"/></dir><file name="LICENSE.txt" hash="3b58e20f0b691c258d39cc034c5376eb"/><dir name="Model"><dir name="Container"><file name="Cache.php" hash="0b31d39b61a9c2c5306ddec38da89159"/><file name="Never.php" hash="8f55b957c44cd17cf833b65790ec2cda"/><file name="Page.php" hash="8c71028d0c2e4a8cf64252588ebd65d5"/><file name="Session.php" hash="73a07532644425b9fb8cc63de80704a5"/></dir><file name="Data.php" hash="10f4eb9a871d66b203339f60f34f43f6"/><file name="Observer.php" hash="ab0ed8bd1c9cf92f1fc4d82edb7e4e9e"/></dir><dir name="etc"><file name="adminhtml.xml" hash="f122c26dfe576f4c09f83abe76424931"/><file name="cache.xml" hash="95b38442affa3bdcdbbe69d79f14b541"/><file name="config.xml" hash="52c9660805fa919fc3a1ebdb2a3af231"/><file name="system.xml" hash="099f557cbbd148bee56909732dd9a0cf"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="hic"><file name="hiconversion.xml" hash="05531c3232369fdfa0d285d5f0982420"/></dir></dir><dir name="template"><dir name="hic"><file name="body.phtml" hash="a337202d1f589d299392a3dc6a3da4e3"/><file name="headAlways.phtml" hash="c89774012379b49b721ff61c046744b7"/><file name="headNever.phtml" hash="27a5c62062a4925eb49aa1cb9504aef0"/><file name="headPage.phtml" hash="d2a1ffa32e6b408e7497a95330264c9e"/><file name="headSession.phtml" hash="197eae4633258c4f353647af5fb34b9b"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Hic_Integration.xml" hash="94fd9568fa202ad3d4773331e46d88c2"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.2.0</min><max>5.6.10</max></php></required></dependencies>
22
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Hic_Integration</name>
4
+ <version>1.1.9</version>
5
  <stability>stable</stability>
6
  <license>MIT</license>
7
  <channel>community</channel>
14
  Customer Experience Optimization: The second role for the extension is to enable client-side testing, targeting, personalization, and customer experience optimization. To minimize technical complexity and IT dependency, we provide a visual designer tool that enables you to visually provision your optimization campaigns. The visual designs are then translated into lines of code that are transparently executed by the visitor&#x2019;s browser during the web page rendering process.</description>
15
  <notes>--added quantity to transaction and transaction line items</notes>
16
  <authors><author><name>HiConversion</name><user>hiconversion</user><email>dhenrickson@hiconversion.com</email></author></authors>
17
+ <date>2017-03-07</date>
18
+ <time>19:52:30</time>
19
+ <contents><target name="magecommunity"><dir name="Hic"><dir name="Integration"><dir name="Block"><file name="Tag.php" hash="f78bcbe4f6ca77a1d5ba9915f00a00e9"/></dir><dir name="Helper"><file name="Data.php" hash="56e60fd9bf55cbbaf4e7770f717c665b"/></dir><file name="LICENSE.txt" hash="3b58e20f0b691c258d39cc034c5376eb"/><dir name="Model"><dir name="Container"><file name="Cache.php" hash="0b31d39b61a9c2c5306ddec38da89159"/><file name="Never.php" hash="8f55b957c44cd17cf833b65790ec2cda"/><file name="Page.php" hash="8c71028d0c2e4a8cf64252588ebd65d5"/><file name="Session.php" hash="73a07532644425b9fb8cc63de80704a5"/></dir><file name="Data.php" hash="c776f6d149419243b4902c762ffdf418"/><file name="Observer.php" hash="ab0ed8bd1c9cf92f1fc4d82edb7e4e9e"/></dir><dir name="etc"><file name="adminhtml.xml" hash="f122c26dfe576f4c09f83abe76424931"/><file name="cache.xml" hash="95b38442affa3bdcdbbe69d79f14b541"/><file name="config.xml" hash="52c9660805fa919fc3a1ebdb2a3af231"/><file name="system.xml" hash="099f557cbbd148bee56909732dd9a0cf"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="hic"><file name="hiconversion.xml" hash="05531c3232369fdfa0d285d5f0982420"/></dir></dir><dir name="template"><dir name="hic"><file name="body.phtml" hash="a337202d1f589d299392a3dc6a3da4e3"/><file name="headAlways.phtml" hash="4c56f8526547f6114d4da899b66b9aad"/><file name="headNever.phtml" hash="27a5c62062a4925eb49aa1cb9504aef0"/><file name="headPage.phtml" hash="d2a1ffa32e6b408e7497a95330264c9e"/><file name="headSession.phtml" hash="197eae4633258c4f353647af5fb34b9b"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Hic_Integration.xml" hash="94fd9568fa202ad3d4773331e46d88c2"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.2.0</min><max>5.6.10</max></php></required></dependencies>
22
  </package>