Version Notes
Fixed abandoned cart item price, updated session query to use pk instead of uid, misc other small updates
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | Listrak_Remarketing |
| Version | 1.1.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.1.0 to 1.1.1
- app/code/community/Listrak/Remarketing/Model/Abandonedcart/Api.php +21 -9
- app/code/community/Listrak/Remarketing/Model/Mysql4/Abandonedcart.php +5 -3
- app/code/community/Listrak/Remarketing/Model/Mysql4/Abandonedcart/Collection.php +0 -3
- app/code/community/Listrak/Remarketing/Model/Mysql4/Click/Collection.php +1 -1
- app/code/community/Listrak/Remarketing/Model/Session.php +18 -4
- app/code/community/Listrak/Remarketing/etc/config.xml +1 -1
- app/code/community/Listrak/Remarketing/etc/wsdl.xml +2 -0
- app/code/community/Listrak/Remarketing/etc/wsi.xml +82 -0
- app/code/community/Listrak/Remarketing/sql/listrak_remarketing_setup/mysql4-upgrade-1.1.0-1.1.1.php +19 -0
- package.xml +5 -5
app/code/community/Listrak/Remarketing/Model/Abandonedcart/Api.php
CHANGED
|
@@ -14,11 +14,13 @@ class Listrak_Remarketing_Model_Abandonedcart_Api extends Mage_Api_Model_Resourc
|
|
| 14 |
$this->_fault('incorrect_date');
|
| 15 |
}
|
| 16 |
|
|
|
|
|
|
|
| 17 |
$collection = Mage::getModel('listrak/abandonedcart')
|
| 18 |
->getCollection()
|
| 19 |
->addFieldToFilter('main_table.updated_at',array('from'=>$startDate, 'to'=>$endDate))
|
| 20 |
->setPageSize($perPage)->setCurPage($page)
|
| 21 |
-
->addStoreFilter($
|
| 22 |
->setOrder('updated_at', 'ASC');
|
| 23 |
|
| 24 |
$result = array();
|
|
@@ -35,15 +37,25 @@ class Listrak_Remarketing_Model_Abandonedcart_Api extends Mage_Api_Model_Resourc
|
|
| 35 |
$this->_fault('incorrect_date');
|
| 36 |
}
|
| 37 |
|
| 38 |
-
$
|
| 39 |
-
->addFieldToFilter('main_table.updated_at', array('lt' => $endDate))
|
| 40 |
-
->addStoreFilter($storeId)
|
| 41 |
-
->setPageSize(100);
|
| 42 |
-
|
| 43 |
-
$count = $sessions->count();
|
| 44 |
|
| 45 |
-
|
| 46 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
}
|
| 48 |
|
| 49 |
return $count;
|
| 14 |
$this->_fault('incorrect_date');
|
| 15 |
}
|
| 16 |
|
| 17 |
+
$storeIdArray = explode(',', $storeId);
|
| 18 |
+
|
| 19 |
$collection = Mage::getModel('listrak/abandonedcart')
|
| 20 |
->getCollection()
|
| 21 |
->addFieldToFilter('main_table.updated_at',array('from'=>$startDate, 'to'=>$endDate))
|
| 22 |
->setPageSize($perPage)->setCurPage($page)
|
| 23 |
+
->addStoreFilter($storeIdArray)
|
| 24 |
->setOrder('updated_at', 'ASC');
|
| 25 |
|
| 26 |
$result = array();
|
| 37 |
$this->_fault('incorrect_date');
|
| 38 |
}
|
| 39 |
|
| 40 |
+
$count = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
+
try {
|
| 43 |
+
$rs = Mage::getModel("listrak/session")->getResource();
|
| 44 |
+
$emailTable = $rs->getTable("listrak/session_email");
|
| 45 |
+
$clickTable = $rs->getTable("listrak/click");
|
| 46 |
+
$sessionTable = $rs->getTable("listrak/session");
|
| 47 |
+
|
| 48 |
+
$delEmailsSql = "DELETE `$emailTable` e FROM `$emailTable` e INNER JOIN `$sessionTable` s ON s.id = e.session_id WHERE s.updated_at < '$endDate'";
|
| 49 |
+
$delClicksSql = "DELETE `$clickTable` c FROM `$clickTable` c INNER JOIN `$sessionTable` s ON s.id = c.session_id WHERE s.updated_at < '$endDate'";
|
| 50 |
+
|
| 51 |
+
$ra = Mage::getSingleton('core/resource')->getConnection('core_write');
|
| 52 |
+
|
| 53 |
+
$ra->raw_query($delEmailsSql);
|
| 54 |
+
$ra->raw_query($delClicksSql);
|
| 55 |
+
$count = $ra->delete($sessionTable, "updated_at < '$endDate'");
|
| 56 |
+
}
|
| 57 |
+
catch(Exception $ex) {
|
| 58 |
+
Mage::getModel("listrak/log")->addException($ex);
|
| 59 |
}
|
| 60 |
|
| 61 |
return $count;
|
app/code/community/Listrak/Remarketing/Model/Mysql4/Abandonedcart.php
CHANGED
|
@@ -25,8 +25,8 @@ class Listrak_Remarketing_Model_Mysql4_Abandonedcart extends Mage_Core_Model_Mys
|
|
| 25 |
|
| 26 |
protected function loadCart(Mage_Core_Model_Abstract $object) {
|
| 27 |
$product_fields = array(
|
| 28 |
-
'entity_id'=>'', 'sku'=>'', 'name'=>'',
|
| 29 |
-
'
|
| 30 |
'short_description'=>'', 'weight'=>'', 'url_key'=>'', 'url_path'=>'',
|
| 31 |
'image'=>'', 'small_image'=>'', 'thumbnail'=>'', 'qty'=>'');
|
| 32 |
|
|
@@ -34,7 +34,8 @@ class Listrak_Remarketing_Model_Mysql4_Abandonedcart extends Mage_Core_Model_Mys
|
|
| 34 |
'item_id' => 'q.item_id',
|
| 35 |
'quote_id' => 'q.quote_id',
|
| 36 |
'product_id' => 'q.product_id',
|
| 37 |
-
'qty' => 'q.qty'
|
|
|
|
| 38 |
|
| 39 |
$products = array();
|
| 40 |
|
|
@@ -49,6 +50,7 @@ class Listrak_Remarketing_Model_Mysql4_Abandonedcart extends Mage_Core_Model_Mys
|
|
| 49 |
$product = Mage::getModel('catalog/product')->load($qi['product_id']);
|
| 50 |
$qitem = array_intersect_key($product->toArray(),$product_fields);
|
| 51 |
$qitem["qty"] = $qi["qty"];
|
|
|
|
| 52 |
$products[] = $qitem;
|
| 53 |
}
|
| 54 |
|
| 25 |
|
| 26 |
protected function loadCart(Mage_Core_Model_Abstract $object) {
|
| 27 |
$product_fields = array(
|
| 28 |
+
'entity_id'=>'', 'sku'=>'', 'name'=>'',
|
| 29 |
+
'cost'=>'', 'description'=>'',
|
| 30 |
'short_description'=>'', 'weight'=>'', 'url_key'=>'', 'url_path'=>'',
|
| 31 |
'image'=>'', 'small_image'=>'', 'thumbnail'=>'', 'qty'=>'');
|
| 32 |
|
| 34 |
'item_id' => 'q.item_id',
|
| 35 |
'quote_id' => 'q.quote_id',
|
| 36 |
'product_id' => 'q.product_id',
|
| 37 |
+
'qty' => 'q.qty',
|
| 38 |
+
'price' => 'q.price');
|
| 39 |
|
| 40 |
$products = array();
|
| 41 |
|
| 50 |
$product = Mage::getModel('catalog/product')->load($qi['product_id']);
|
| 51 |
$qitem = array_intersect_key($product->toArray(),$product_fields);
|
| 52 |
$qitem["qty"] = $qi["qty"];
|
| 53 |
+
$qitem["price"] = $qi["price"];
|
| 54 |
$products[] = $qitem;
|
| 55 |
}
|
| 56 |
|
app/code/community/Listrak/Remarketing/Model/Mysql4/Abandonedcart/Collection.php
CHANGED
|
@@ -19,9 +19,6 @@ class Listrak_Remarketing_Model_Mysql4_Abandonedcart_Collection extends Mage_Cor
|
|
| 19 |
->join(array('q'=>$this->getTable('sales/quote')),
|
| 20 |
'main_table.quote_id = q.entity_id',
|
| 21 |
array('items_qty','grand_total'))
|
| 22 |
-
/*->joinLeft(array('qa' => $this->getTable('sales/quote_address')),
|
| 23 |
-
'q.entity_id=qa.quote_id AND qa.address_type="billing"',
|
| 24 |
-
array('qa.firstname AS customer_firstName', 'qa.lastname AS customer_lastName'))*/
|
| 25 |
->where('q.items_count > 0 AND q.is_active = 1');
|
| 26 |
}
|
| 27 |
|
| 19 |
->join(array('q'=>$this->getTable('sales/quote')),
|
| 20 |
'main_table.quote_id = q.entity_id',
|
| 21 |
array('items_qty','grand_total'))
|
|
|
|
|
|
|
|
|
|
| 22 |
->where('q.items_count > 0 AND q.is_active = 1');
|
| 23 |
}
|
| 24 |
|
app/code/community/Listrak/Remarketing/Model/Mysql4/Click/Collection.php
CHANGED
|
@@ -13,7 +13,7 @@ class Listrak_Remarketing_Model_Mysql4_Click_Collection extends Mage_Core_Model_
|
|
| 13 |
public function addStoreFilter($storeId)
|
| 14 |
{
|
| 15 |
$this->getSelect()
|
| 16 |
-
->join(array('s'=>$this->getTable('listrak/session')), 'main_table.session_id = s.id', array('store_id', 'session_id as session_uid'))
|
| 17 |
->where('s.store_id IN (?)',$storeId);
|
| 18 |
return $this;
|
| 19 |
}
|
| 13 |
public function addStoreFilter($storeId)
|
| 14 |
{
|
| 15 |
$this->getSelect()
|
| 16 |
+
->join(array('s'=>$this->getTable('listrak/session')), 'main_table.session_id = s.id', array('store_id', 'session_id as session_uid', 'pi_id'))
|
| 17 |
->where('s.store_id IN (?)',$storeId);
|
| 18 |
return $this;
|
| 19 |
}
|
app/code/community/Listrak/Remarketing/Model/Session.php
CHANGED
|
@@ -12,18 +12,28 @@ class Listrak_Remarketing_Model_Session extends Mage_Core_Model_Abstract {
|
|
| 12 |
|
| 13 |
public function init() {
|
| 14 |
$ltksid = Mage::getModel('core/cookie')->get('ltksid');
|
|
|
|
| 15 |
$cust_session = Mage::getSingleton("customer/session");
|
|
|
|
| 16 |
|
| 17 |
-
if(!empty($ltksid)) {
|
| 18 |
-
$
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
}
|
| 21 |
|
| 22 |
if(!$this->getId()) {
|
| 23 |
$this->setSessionId(Mage::helper('remarketing')->gen_uuid());
|
| 24 |
$this->setCreatedAt(gmdate('Y-m-d H:i:s'));
|
| 25 |
$this->setIsNew(true);
|
| 26 |
-
Mage::getModel('core/cookie')->set('ltksid', $this->getSessionId(), TRUE, NULL, NULL, NULL, FALSE);
|
| 27 |
}
|
| 28 |
|
| 29 |
if($cust_session->isLoggedIn()) {
|
|
@@ -48,6 +58,10 @@ class Listrak_Remarketing_Model_Session extends Mage_Core_Model_Abstract {
|
|
| 48 |
|
| 49 |
$this->save();
|
| 50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
$cs = Mage::getSingleton('core/session');
|
| 52 |
|
| 53 |
if($cs->getIsListrakOrderMade()) {
|
| 12 |
|
| 13 |
public function init() {
|
| 14 |
$ltksid = Mage::getModel('core/cookie')->get('ltksid');
|
| 15 |
+
$piid = Mage::getModel('core/cookie')->get('personalmerchant');
|
| 16 |
$cust_session = Mage::getSingleton("customer/session");
|
| 17 |
+
$ltkpk = 0;
|
| 18 |
|
| 19 |
+
if(!empty($ltksid) && strlen($ltksid) > 37) {
|
| 20 |
+
$ltkpk = intval(substr($ltksid, 37), 10);
|
| 21 |
+
//$this->setSessionId($ltksid);
|
| 22 |
+
$this->load($ltkpk);
|
| 23 |
+
if($this->getSessionId() !== substr($ltksid, 0, 36)) {
|
| 24 |
+
$this->setData(array());
|
| 25 |
+
}
|
| 26 |
+
//$this->getResource()->loadBySessionId($this);
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
if(!empty($piid)) {
|
| 30 |
+
$this->setPiId($piid);
|
| 31 |
}
|
| 32 |
|
| 33 |
if(!$this->getId()) {
|
| 34 |
$this->setSessionId(Mage::helper('remarketing')->gen_uuid());
|
| 35 |
$this->setCreatedAt(gmdate('Y-m-d H:i:s'));
|
| 36 |
$this->setIsNew(true);
|
|
|
|
| 37 |
}
|
| 38 |
|
| 39 |
if($cust_session->isLoggedIn()) {
|
| 58 |
|
| 59 |
$this->save();
|
| 60 |
|
| 61 |
+
if($this->getIsNew() === true) {
|
| 62 |
+
Mage::getModel('core/cookie')->set('ltksid', $this->getSessionId() . '-' . $this->getId(), TRUE, NULL, NULL, NULL, FALSE);
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
$cs = Mage::getSingleton('core/session');
|
| 66 |
|
| 67 |
if($cs->getIsListrakOrderMade()) {
|
app/code/community/Listrak/Remarketing/etc/config.xml
CHANGED
|
@@ -7,7 +7,7 @@
|
|
| 7 |
<config>
|
| 8 |
<modules>
|
| 9 |
<Listrak_Remarketing>
|
| 10 |
-
<version>1.1.
|
| 11 |
</Listrak_Remarketing>
|
| 12 |
</modules>
|
| 13 |
<frontend>
|
| 7 |
<config>
|
| 8 |
<modules>
|
| 9 |
<Listrak_Remarketing>
|
| 10 |
+
<version>1.1.1</version>
|
| 11 |
</Listrak_Remarketing>
|
| 12 |
</modules>
|
| 13 |
<frontend>
|
app/code/community/Listrak/Remarketing/etc/wsdl.xml
CHANGED
|
@@ -26,6 +26,7 @@
|
|
| 26 |
<element name="updated_at" type="xsd:string" minOccurs="0"/>
|
| 27 |
<element name="quote_id" type="xsd:string" minOccurs="0"/>
|
| 28 |
<element name="ips" type="xsd:string" minOccurs="0"/>
|
|
|
|
| 29 |
<element name="customer" type="typens:ListrakRemarketingCustomerEntity" minOccurs="0"/>
|
| 30 |
<element name="emails" type="typens:ArrayOfListrakRemarketingSessionEmail" minOccurs="0"/>
|
| 31 |
<element name="clicks" type="typens:ArrayOfListrakRemarketingClick" minOccurs="0"/>
|
|
@@ -131,6 +132,7 @@
|
|
| 131 |
<element name="click_date" type="xsd:string" minOccurs="0"/>
|
| 132 |
<element name="token_uid" type="xsd:string" minOccurs="0"/>
|
| 133 |
<element name="session_uid" type="xsd:string" minOccurs="0"/>
|
|
|
|
| 134 |
</all>
|
| 135 |
</complexType>
|
| 136 |
<complexType name="ArrayOfListrakRemarketingClick">
|
| 26 |
<element name="updated_at" type="xsd:string" minOccurs="0"/>
|
| 27 |
<element name="quote_id" type="xsd:string" minOccurs="0"/>
|
| 28 |
<element name="ips" type="xsd:string" minOccurs="0"/>
|
| 29 |
+
<element name="pi_id" type="xsd:string" minOccurs="0"/>
|
| 30 |
<element name="customer" type="typens:ListrakRemarketingCustomerEntity" minOccurs="0"/>
|
| 31 |
<element name="emails" type="typens:ArrayOfListrakRemarketingSessionEmail" minOccurs="0"/>
|
| 32 |
<element name="clicks" type="typens:ArrayOfListrakRemarketingClick" minOccurs="0"/>
|
| 132 |
<element name="click_date" type="xsd:string" minOccurs="0"/>
|
| 133 |
<element name="token_uid" type="xsd:string" minOccurs="0"/>
|
| 134 |
<element name="session_uid" type="xsd:string" minOccurs="0"/>
|
| 135 |
+
<element name="pi_id" type="xsd:string" minOccurs="0"/>
|
| 136 |
</all>
|
| 137 |
</complexType>
|
| 138 |
<complexType name="ArrayOfListrakRemarketingClick">
|
app/code/community/Listrak/Remarketing/etc/wsi.xml
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<!--
|
| 3 |
+
/**
|
| 4 |
+
* Listrak Remarketing Magento Extension Ver. 1.0.0 - © 2011 Listrak, Inc.
|
| 5 |
+
*/
|
| 6 |
+
-->
|
| 7 |
+
<wsdl:definitions xmlns:typens="urn:{{var wsdl.name}}"
|
| 8 |
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
| 9 |
+
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
|
| 10 |
+
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
|
| 11 |
+
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
| 12 |
+
name="{{var wsdl.name}}"
|
| 13 |
+
targetNamespace="urn:{{var wsdl.name}}">
|
| 14 |
+
<wsdl:types>
|
| 15 |
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:{{var wsdl.name}}">
|
| 16 |
+
<xsd:complexType name="listrakRemarketingClickEntityArray">
|
| 17 |
+
<xsd:sequence>
|
| 18 |
+
<xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:listrakRemarketingClickEntity" />
|
| 19 |
+
</xsd:sequence>
|
| 20 |
+
</xsd:complexType>
|
| 21 |
+
<xsd:complexType name="listrakRemarketingClickEntity">
|
| 22 |
+
<xsd:sequence>
|
| 23 |
+
<xsd:element name="click_id" type="xsd:string"/>
|
| 24 |
+
<xsd:element name="querystring" type="xsd:string"/>
|
| 25 |
+
<xsd:element name="click_date" type="xsd:string"/>
|
| 26 |
+
<xsd:element name="token_uid" type="xsd:string"/>
|
| 27 |
+
<xsd:element name="session_id" type="xsd:string"/>
|
| 28 |
+
</xsd:sequence>
|
| 29 |
+
</xsd:complexType>
|
| 30 |
+
|
| 31 |
+
<xsd:element name="listrakRemarketingClickListRequestParam">
|
| 32 |
+
<xsd:complexType>
|
| 33 |
+
<xsd:sequence>
|
| 34 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string" />
|
| 35 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="storeId" type="xsd:string" />
|
| 36 |
+
<xsd:element minOccurs="0" maxOccurs="1" name="startDate" type="xsd:string" />
|
| 37 |
+
<xsd:element minOccurs="0" maxOccurs="1" name="endDate" type="xsd:string" />
|
| 38 |
+
<xsd:element minOccurs="0" maxOccurs="1" name="perPage" type="xsd:string" />
|
| 39 |
+
<xsd:element minOccurs="0" maxOccurs="1" name="page" type="xsd:string" />
|
| 40 |
+
</xsd:sequence>
|
| 41 |
+
</xsd:complexType>
|
| 42 |
+
</xsd:element>
|
| 43 |
+
<xsd:element name="listrakRemarketingClickListResponseParam">
|
| 44 |
+
<xsd:complexType>
|
| 45 |
+
<xsd:sequence>
|
| 46 |
+
<xsd:element minOccurs="0" maxOccurs="1" name="result" type="typens:listrakRemarketingClickEntity" />
|
| 47 |
+
</xsd:sequence>
|
| 48 |
+
</xsd:complexType>
|
| 49 |
+
</xsd:element>
|
| 50 |
+
</xsd:schema>
|
| 51 |
+
</wsdl:types>
|
| 52 |
+
<wsdl:message name="listrakRemarketingClickListRequest">
|
| 53 |
+
<wsdl:part name="parameters" element="typens:listrakRemarketingClickListRequestParam" />
|
| 54 |
+
</wsdl:message>
|
| 55 |
+
<wsdl:message name="listrakRemarketingClickListResponse">
|
| 56 |
+
<wsdl:part name="parameters" element="typens:listrakRemarketingClickListResponseParam" />
|
| 57 |
+
</wsdl:message>
|
| 58 |
+
<wsdl:portType name="{{var wsdl.handler}}PortType">
|
| 59 |
+
<wsdl:operation name="listrakRemarketingClickList">
|
| 60 |
+
<wsdl:documentation>Set_Get current store view</wsdl:documentation>
|
| 61 |
+
<wsdl:input message="typens:listrakRemarketingClickListRequest" />
|
| 62 |
+
<wsdl:output message="typens:listrakRemarketingClickListResponse" />
|
| 63 |
+
</wsdl:operation>
|
| 64 |
+
</wsdl:portType>
|
| 65 |
+
<wsdl:binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
| 66 |
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
|
| 67 |
+
<wsdl:operation name="listrakRemarketingClickList">
|
| 68 |
+
<soap:operation soapAction="" />
|
| 69 |
+
<wsdl:input>
|
| 70 |
+
<soap:body use="literal" />
|
| 71 |
+
</wsdl:input>
|
| 72 |
+
<wsdl:output>
|
| 73 |
+
<soap:body use="literal" />
|
| 74 |
+
</wsdl:output>
|
| 75 |
+
</wsdl:operation>
|
| 76 |
+
</wsdl:binding>
|
| 77 |
+
<wsdl:service name="{{var wsdl.name}}Service">
|
| 78 |
+
<wsdl:port name="{{var wsdl.handler}}Port" binding="typens:{{var wsdl.handler}}Binding">
|
| 79 |
+
<soap:address location="{{var wsdl.url}}" />
|
| 80 |
+
</wsdl:port>
|
| 81 |
+
</wsdl:service>
|
| 82 |
+
</wsdl:definitions>
|
app/code/community/Listrak/Remarketing/sql/listrak_remarketing_setup/mysql4-upgrade-1.1.0-1.1.1.php
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
// Listrak Remarketing Magento Extension Ver. 1.0.0
|
| 3 |
+
// © 2011 Listrak, Inc.
|
| 4 |
+
|
| 5 |
+
$installer = $this;
|
| 6 |
+
$installer->startSetup();
|
| 7 |
+
|
| 8 |
+
$installer->run("
|
| 9 |
+
ALTER TABLE {$this->getTable('listrak/session')} ADD `pi_id` VARCHAR( 32 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL
|
| 10 |
+
");
|
| 11 |
+
|
| 12 |
+
try {
|
| 13 |
+
Mage::getModel("listrak/log")->addMessage("1.1.0-1.1.1 upgrade");
|
| 14 |
+
}
|
| 15 |
+
catch(Exception $e) { }
|
| 16 |
+
|
| 17 |
+
$installer->endSetup();
|
| 18 |
+
|
| 19 |
+
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Listrak_Remarketing</name>
|
| 4 |
-
<version>1.1.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://s1.listrakbi.com/licenses/magento.txt">Listrak EULA</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -15,11 +15,11 @@
|
|
| 15 |
- Ability to disable Magento newsletter welcome messages
|
| 16 |
- Tracks clicks from Listrak emails for conversion reporting
|
| 17 |
- Synchronizes Magento newsletter subscriptions with your Listrak account</description>
|
| 18 |
-
<notes>Fixed
|
| 19 |
<authors><author><name>Listrak</name><user>auto-converted</user><email>magento@listrak.com</email></author></authors>
|
| 20 |
-
<date>2012-
|
| 21 |
-
<time>19:
|
| 22 |
-
<contents><target name="magecommunity"><dir name="Listrak"><dir name="Remarketing"><dir name="Block"><dir name="Adminhtml"><dir name="Abandonedcartreport"><file name="Grid.php" hash="6c9975250ee0d3318fe1a996e19b554f"/></dir><dir name="Emailcapture"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="d1b495e77fd135af95457ee7c3f1f21c"/></dir><file name="Form.php" hash="dae25c78913b35bb3ad64da797cd82b4"/><file name="Tabs.php" hash="b7c89cd1e1fae23ed52079c6d63ef4ee"/></dir><file name="Edit.php" hash="6a06c2b0dfb5a0414a642bc0cd3b5461"/><file name="Grid.php" hash="9eca43e603861ce2f24ec21a4d3a5064"/></dir><file name="Abandonedcartreport.php" hash="5c348aeec1c636b39ac037b5abc1875a"/><file name="Emailcapture.php" hash="accf0689467c5446e7605cad41e427b0"/><file name="Notifications.php" hash="dec4ef3882d5d11d738576787d05ec61"/></dir><file name="Ecjs.php" hash="1435cf65a3c33850e630364baa87a96e"/><file name="Modal.php" hash="42689930f0f039895e05a39ec4b5c917"/></dir><dir name="Helper"><file name="Data.php" hash="bd33bd2e7c3b6cf34cc28499a1f2eb7f"/></dir><dir name="Model"><dir name="Abandonedcart"><dir name="Api"><file name="V2.php" hash="c7b46e1feab677e41f4f9a3914e415fb"/></dir><file name="Api.php" hash="
|
| 23 |
<compatible/>
|
| 24 |
<dependencies/>
|
| 25 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Listrak_Remarketing</name>
|
| 4 |
+
<version>1.1.1</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://s1.listrakbi.com/licenses/magento.txt">Listrak EULA</license>
|
| 7 |
<channel>community</channel>
|
| 15 |
- Ability to disable Magento newsletter welcome messages
|
| 16 |
- Tracks clicks from Listrak emails for conversion reporting
|
| 17 |
- Synchronizes Magento newsletter subscriptions with your Listrak account</description>
|
| 18 |
+
<notes>Fixed abandoned cart item price, updated session query to use pk instead of uid, misc other small updates</notes>
|
| 19 |
<authors><author><name>Listrak</name><user>auto-converted</user><email>magento@listrak.com</email></author></authors>
|
| 20 |
+
<date>2012-05-15</date>
|
| 21 |
+
<time>19:33:52</time>
|
| 22 |
+
<contents><target name="magecommunity"><dir name="Listrak"><dir name="Remarketing"><dir name="Block"><dir name="Adminhtml"><dir name="Abandonedcartreport"><file name="Grid.php" hash="6c9975250ee0d3318fe1a996e19b554f"/></dir><dir name="Emailcapture"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="d1b495e77fd135af95457ee7c3f1f21c"/></dir><file name="Form.php" hash="dae25c78913b35bb3ad64da797cd82b4"/><file name="Tabs.php" hash="b7c89cd1e1fae23ed52079c6d63ef4ee"/></dir><file name="Edit.php" hash="6a06c2b0dfb5a0414a642bc0cd3b5461"/><file name="Grid.php" hash="9eca43e603861ce2f24ec21a4d3a5064"/></dir><file name="Abandonedcartreport.php" hash="5c348aeec1c636b39ac037b5abc1875a"/><file name="Emailcapture.php" hash="accf0689467c5446e7605cad41e427b0"/><file name="Notifications.php" hash="dec4ef3882d5d11d738576787d05ec61"/></dir><file name="Ecjs.php" hash="1435cf65a3c33850e630364baa87a96e"/><file name="Modal.php" hash="42689930f0f039895e05a39ec4b5c917"/></dir><dir name="Helper"><file name="Data.php" hash="bd33bd2e7c3b6cf34cc28499a1f2eb7f"/></dir><dir name="Model"><dir name="Abandonedcart"><dir name="Api"><file name="V2.php" hash="c7b46e1feab677e41f4f9a3914e415fb"/></dir><file name="Api.php" hash="1c0dd08efa63480eb08ff1bc5c1e2765"/></dir><dir name="Apiextension"><dir name="Api"><file name="V2.php" hash="ff5a5f68d92c8a790bb00282c30c1378"/></dir><file name="Api.php" hash="2e89fc5ae21b95aa584d3f5e4f47184e"/></dir><dir name="Click"><dir name="Api"><file name="V2.php" hash="510ae6b8032ff54b5f43d94f447f35e2"/></dir><file name="Api.php" hash="b22605c25dd1336188a62fbbecc177bf"/></dir><dir name="Log"><dir name="Api"><file name="V2.php" hash="ace9ca737ebefd47205886fdef504a05"/></dir><file name="Api.php" hash="2a2a52b419cb90c0648209964b961287"/></dir><dir name="Mysql4"><dir name="Abandonedcart"><file name="Collection.php" hash="fed7e7d3b7dc74b42f21c9599f06b872"/></dir><dir name="Click"><file name="Collection.php" hash="dac93dbb083339bb047d296868cdb597"/></dir><dir name="Emailcapture"><file name="Collection.php" hash="4dbc86c599e6a390e1f8bde7752f09c2"/></dir><dir name="Log"><file name="Collection.php" hash="1765ae33eb74e9593d8266702cfe4160"/></dir><dir name="Session"><file name="Collection.php" hash="c095fdf0c54184df63ff6dd8636d779e"/></dir><dir name="Subscriberupdate"><file name="Collection.php" hash="1fd68314a80e93f416815273f29bf9f5"/></dir><file name="Abandonedcart.php" hash="cca9df5a0f4b5554588982656539ebea"/><file name="Apiextension.php" hash="4bbee7324ff4e6e4ca70587b023da6a0"/><file name="Click.php" hash="baabaf95e4d4f7f3fb1a2ac1c1965984"/><file name="Emailcapture.php" hash="b68ee210c3bcec8f2fccef7979b022b7"/><file name="Log.php" hash="e244d19b857ee9d03a7955a30d3f6cf3"/><file name="Session.php" hash="454a2c56529a0db4db3a5b8473952f78"/><file name="Subscriberupdate.php" hash="4957865b4aa8bbdda3a50484d7e49880"/></dir><file name="Abandonedcart.php" hash="2bd672054843917133e3ac7d941be42c"/><file name="Apiextension.php" hash="1a5964f749523d74c648d6609673fb08"/><file name="Click.php" hash="8c7e2d5eba20c24fdf3fcf516c772001"/><file name="Emailcapture.php" hash="4987ceda6dda7ca134736895e3cfed74"/><file name="Log.php" hash="577b2308bdbc531c867c67277d513371"/><file name="Observer.php" hash="375845e1ff616e7fa1736ab90335f989"/><file name="Session.php" hash="4a71747b8007d9ad3b380b03efb933fb"/><file name="Subscriber.php" hash="7addcff01d1c12e88baad9064a362f2c"/><file name="Subscriberupdate.php" hash="77df791c2d17772345f518ce3b4dab90"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="AbandonedcartreportController.php" hash="e1a2c2db0c6cc8cc30f9fdf26636c1a0"/><file name="EmailcaptureController.php" hash="ad7c87ca689bc30eb135fc5d25ae21a2"/></dir><file name="CartController.php" hash="bab8c133100ae8bcd4ccdeb43329370a"/><file name="ConfigController.php" hash="7250d699110107b35fa004833dc3595e"/><file name="EmailController.php" hash="7b9e1711e0c964876b8afe46dde9266b"/><file name="TroubleshootingController.php" hash="8e9355a2c91ee3508620fc893aabe050"/></dir><dir name="etc"><file name="adminhtml.xml" hash="0e01a6415641c271f4eb3067419c7f0a"/><file name="api.xml" hash="9e261fb5bfd7fc24870a8f8af5c9b226"/><file name="config.xml" hash="c4dd355664d1566e1f0f1532eb4bb745"/><file name="system.xml" hash="1a7f5f74a95b8679dc231e17a68e158c"/><file name="wsdl.xml" hash="8f5f1024d0e6ca104d524348e462eb54"/><file name="wsi.xml" hash="e6fc96537d37c0c688454442d05c637d"/></dir><dir name="sql"><dir name="listrak_remarketing_setup"><file name="mysql4-install-1.0.0.php" hash="9969325db69a8582cd2807343dc1c5bc"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="51d6494a61a2e32907cdc8eaf078274c"/><file name="mysql4-upgrade-1.0.8-1.0.9.php" hash="8c935ec4a7ff8816c1ab1df644c1edf3"/><file name="mysql4-upgrade-1.1.0-1.1.1.php" hash="df4e8464d389d3f0155755c362b5a7ac"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="remarketing.xml" hash="3fe421a6b7ea5ab184c8791971b41a6a"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="remarketing.xml" hash="44d7027ba447c4aaf0841d32d185ffde"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Listrak_Remarketing.xml" hash="1fc68edb656e220874e64cffaf7f2dbd"/></dir></target></contents>
|
| 23 |
<compatible/>
|
| 24 |
<dependencies/>
|
| 25 |
</package>
|
